rsadowski 91d9fb05f8 Update KDE applications to 20.08.2
One notable kde-applications ports change:

- Remove undocumented kde-applications.port.mk and move logic into
  Makefile.inc.

Ran a bulk build with no issues. Otherwise a simple bug-fix update.

Release notes:
https://kde.org/announcements/releases/2020-10-apps-update/
2020-11-03 16:12:30 +00:00

52 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.11 2020/11/03 16:12:30 rsadowski Exp $
DIST_SUBDIR = kde-applications
.if !defined(CATEGORIES)
ERRORS += "Fatal: missing CATEGORIES"
.endif
CATEGORIES += x11/kde-applications
MAINTAINER ?= Rafael Sadowski <rsadowski@openbsd.org>
# usual KDE rules:
# LGPLv2.1+, GPLv2+, GPLv3
PERMIT_PACKAGE ?= Yes
# Do not rely on devel/cmake here: additional modules that are
# set up in ports may have, say, lang/python before devel/cmake,
# thus making lang/python evaluating first. And when lang/python
# sees empty CONFIGURE_STYLE, it forces that this is Python
# module port, and breaks build.
CONFIGURE_STYLE = cmake
MODULES := devel/kf5 ${MODULES}
VERSION ?= 20.08.2
MASTER_SITES ?= ${MASTER_SITE_KDE:=stable/release-service/${VERSION}/src/}
# Set to 'yes' if there are .desktop files under share/release-service/.
.if defined(MODKDE5_DESKTOP_FILE) && ${MODKDE5_DESKTOP_FILE:L} == "yes"
MODKDE5_RUN_DEPENDS += devel/desktop-file-utils
.endif
# Set to 'yes' if there are icon files under share/icons/.
.if defined(MODKDE5_ICON_CACHE) && ${MODKDE5_ICON_CACHE:L} == "yes"
MODKDE5_RUN_DEPENDS += x11/gtk+3,-guic
.endif
# Set to 'yes' if there are icon files under share/locale/.
.if defined(MODKDE5_TRANSLATIONS) && ${MODKDE5_TRANSLATIONS:L} == "yes"
MODKDE5_BUILD_DEPENDS += devel/gettext,-tools
.endif
# Set to 'yes' if there are icon files under share/doc/.
.if defined(MODKDE5_DOCS) && ${MODKDE5_DOCS:L} == "yes"
MODKDE5_BUILD_DEPENDS += devel/kf5/kdoctools
MODKDE5_RUN_DEPENDS += devel/kf5/kdoctools
.endif
RUN_DEPENDS += ${MODKDE5_RUN_DEPENDS}
BUILD_DEPENDS += ${MODKDE5_BUILD_DEPENDS}