Index: Mk/Uses/kde.mk =================================================================== --- Mk/Uses/kde.mk +++ Mk/Uses/kde.mk @@ -68,6 +68,9 @@ KDE_FRAMEWORKS_VERSION?= 5.29.0 KDE_FRAMEWORKS_BRANCH?= stable +KDE_APPLICATIONS_VERSION?= 16.12.0 +KDE_APPLICATIONS_BRANCH?= stable + # Extended KDE universe applications. CALLIGRA_VERSION?= 2.9.11 CALLIGRA_BRANCH?= stable @@ -86,7 +89,7 @@ # === CATEGORIES HANDLING -- SETTING DEFAULT VALUES ============================ # Doing MASTER_SITES magic based on the category of the port -_KDE_CATEGORIES_SUPPORTED= kde-frameworks kde-kde4 +_KDE_CATEGORIES_SUPPORTED= kde-applications kde-frameworks kde-kde4 . for cat in ${_KDE_CATEGORIES_SUPPORTED} . if ${CATEGORIES:M${cat}} . if !defined(_KDE_CATEGORY) @@ -110,6 +113,21 @@ PORTVERSION?= ${KDE4_VERSION} MASTER_SITES?= KDE/${KDE4_BRANCH}/${KDE4_VERSION}/src DIST_SUBDIR?= KDE/${KDE4_VERSION} +. elif ${_KDE_CATEGORY:Mkde-applications} +PORTVERSION?= ${KDE_APPLICATIONS_VERSION} +. if ${_KDE_VERSION:M4} +CONFLICTS_INSTALL?= ${PORTNAME}-kf5-* +. else +PKGNAMESUFFIX?= -kf5 +CONFLICTS_INSTALL?= kde4-${PORTNAME}-* ${PORTNAME}-kde4-* +. endif +# Decide where the file lies on KDE's servers: Everything < 16.00 lies in Attic +. if ${KDE_APPLICATIONS_VERSION:R:R} <= 15 +MASTER_SITES?= KDE/Attic/applications/${KDE_APPLICATIONS_VERSION}/src +. else +MASTER_SITES?= KDE/${KDE_APPLICATIONS_BRANCH}/applications/${KDE_APPLICATIONS_VERSION}/src +. endif +DIST_SUBDIR?= KDE/applications/${KDE_APPLICATIONS_VERSION} . elif ${_KDE_CATEGORY:Mkde-frameworks} PORTVERSION?= ${KDE_FRAMEWORKS_VERSION} PKGNAMEPREFIX?= kf5-