Skip to content

Commit

Permalink
Framework: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Apr 23, 2021
1 parent da02378 commit 764a0c4
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions Mk/Uses/kde.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@
# To simplify the ports, also:
# CATEGORIES If the port is part of one of the KDE Software distribution,
# it can add, in addition to 'kde' one of the following:
# kde-application: part of applications release
# kde-applications: part of applications release
# kde-frameworks: part of frameworks release
# kde-plasma: part of plasma release
# this will then set default values for MASTER_SITES and DIST_SUBDIR
# as well as CPE_VENDOR and LICENSE.
#
# option DOCS If the port is part of kde-applications (see CATEGORIES,
# above) and has an option defined for DOCS then a dependency
# for doctools_build is added. The option itself doesn't
# have to do anything -- the dependency is always there.
#
# KDE_INVENT If the port does not have a regular release, and should
# be fetched from KDE Invent (a GitLab instance) it can set
# KDE_INVENT to 3 space-separated values:
Expand Down Expand Up @@ -70,20 +75,17 @@ _KDE_RELNAME= KDE${_KDE_VERSION}

# === VERSIONS OF THE DIFFERENT COMPONENTS =====================================
# Current KDE desktop.
KDE_PLASMA_VERSION?= 5.20.5
KDE_PLASMA_VERSION?= 5.21.4
KDE_PLASMA_BRANCH?= stable

# Current KDE frameworks.
KDE_FRAMEWORKS_VERSION?= 5.81.0
KDE_FRAMEWORKS_BRANCH?= stable

# Current KDE applications.
KDE_APPLICATIONS_VERSION?= 20.12.3
KDE_APPLICATIONS_SHLIB_VER?= 5.16.3
KDE_APPLICATIONS_VERSION?= 21.04.0
KDE_APPLICATIONS_SHLIB_VER?= 5.17.0
KDE_APPLICATIONS_BRANCH?= stable
# Upstream moves old software to Attic/. Specify the newest applications release there.
# Only the major version is used for the comparison.
_KDE_APPLICATIONS_ATTIC_VERSION= 17.08.3

# Extended KDE universe applications.
CALLIGRA_VERSION?= 2.9.11
Expand Down Expand Up @@ -146,12 +148,6 @@ CPE_VENDOR?= kde

. if ${_KDE_CATEGORY:Mkde-applications}
PORTVERSION?= ${KDE_APPLICATIONS_VERSION}
# Decide where the file lies on KDE's servers: Check whether the file lies in Attic
. if ${KDE_APPLICATIONS_VERSION:R:R} <= ${_KDE_APPLICATIONS_ATTIC_VERSION:R:R}
MASTER_SITES?= KDE/Attic/applications/${KDE_APPLICATIONS_VERSION}/src
. elseif ${KDE_APPLICATIONS_VERSION:R} < 19.12
MASTER_SITES?= KDE/${KDE_APPLICATIONS_BRANCH}/applications/${KDE_APPLICATIONS_VERSION}/src
. else
MASTER_SITES?= KDE/${KDE_APPLICATIONS_BRANCH}/release-service/${KDE_APPLICATIONS_VERSION}/src
# Let bsd.port.mk create the plist-entries for the documentation.
# KDE Applications ports install their documentation to
Expand All @@ -162,11 +158,11 @@ _KDE_OPTIONS= bogus ${OPTIONS_DEFINE}
. if ${_KDE_OPTIONS:MDOCS}
DOCSDIR= ${PREFIX}/share/doc
PORTDOCS?= HTML/*
USE_KDE+= doctools_build
. endif
# Further pass along a SHLIB_VER PLIST_SUB
PLIST_SUB+= KDE_APPLICATIONS_SHLIB_VER=${KDE_APPLICATIONS_SHLIB_VER} \
KDE_APPLICATIONS_VERSION_SHORT="${KDE_APPLICATIONS_VERSION:R:R}"
. endif
DIST_SUBDIR?= KDE/release-service/${KDE_APPLICATIONS_VERSION}
. elif ${_KDE_CATEGORY:Mkde-plasma}
PORTVERSION?= ${KDE_PLASMA_VERSION}
Expand Down

0 comments on commit 764a0c4

Please sign in to comment.