2016-08-24 08:20:31 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
2016-11-14 16:12:56 +00:00
|
|
|
# Provides support for KDE and KF5-based ports.
|
2016-08-24 08:20:31 +00:00
|
|
|
#
|
|
|
|
# Feature: kde
|
2016-11-14 16:12:56 +00:00
|
|
|
# Valid ARGS: 4 5
|
2016-08-24 08:20:31 +00:00
|
|
|
#
|
2016-11-14 16:12:56 +00:00
|
|
|
# 4: Depend on KDE4 components and variables.
|
|
|
|
# 5: Depend on KDE Frameworks 5 components and variables.
|
2016-08-24 08:20:31 +00:00
|
|
|
#
|
|
|
|
# Variables that can be set by a port:
|
|
|
|
#
|
2016-11-14 16:12:56 +00:00
|
|
|
# USE_KDE List of KDE4/KF5/Plasma5 components (other ports) that this
|
2016-08-24 08:20:31 +00:00
|
|
|
# port depends on.
|
|
|
|
# * foo_build Add a build-time dependency (BUILD_DEPENDS)
|
|
|
|
# * foo_run Add a run-time dependency (RUN_DEPENDS)
|
2016-11-14 16:12:56 +00:00
|
|
|
# * foo (default) Add both dependencies on component <foo>, or
|
|
|
|
# a LIB_DEPENDS if applicable.
|
2016-10-18 17:22:35 +00:00
|
|
|
#
|
|
|
|
# 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:
|
2016-11-14 16:12:56 +00:00
|
|
|
# kde-frameworks: part of frameworks release
|
2016-10-18 17:22:35 +00:00
|
|
|
# kde-kde4: part of kde4 release
|
|
|
|
# this will then set default values for MASTER_SITES and DIST_SUBDIR
|
|
|
|
# as well as CPE_VENDOR and LICENSE.
|
|
|
|
#
|
2016-08-24 08:20:31 +00:00
|
|
|
# MAINTAINER: kde@FreeBSD.org
|
|
|
|
|
|
|
|
.if !defined(_INCLUDE_USES_KDE_MK)
|
|
|
|
_INCLUDE_USES_KDE_MK= yes
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
_KDE_SUPPORTED= 4 5
|
2016-08-24 08:20:31 +00:00
|
|
|
|
|
|
|
. if empty(kde_ARGS)
|
|
|
|
IGNORE= kde needs a version (${_KDE_SUPPORTED})
|
|
|
|
. endif
|
|
|
|
|
|
|
|
. for ver in ${_KDE_SUPPORTED:O:u}
|
|
|
|
. if ${kde_ARGS:M${ver}}
|
|
|
|
. if !defined(_KDE_VERSION)
|
|
|
|
_KDE_VERSION= ${ver}
|
|
|
|
. else
|
|
|
|
IGNORE?= cannot be installed: different KDE versions specified via kde:[${_KDE_SUPPORTED:S/ //g}] #'
|
|
|
|
. endif
|
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
|
|
|
|
. if empty(_KDE_VERSION)
|
|
|
|
IGNORE?= kde:[${_KDE_SUPPORTED:S/ //g}] needs an argument #'
|
|
|
|
. endif
|
|
|
|
|
2016-10-29 11:58:16 +00:00
|
|
|
_KDE_RELNAME= KDE${_KDE_VERSION}
|
2016-08-24 08:20:31 +00:00
|
|
|
|
|
|
|
# === VERSIONS OF THE DIFFERENT COMPONENTS =====================================
|
|
|
|
# Old KDE desktop.
|
|
|
|
KDE4_VERSION?= 4.14.3
|
2018-02-18 17:40:47 +00:00
|
|
|
KDE4_KDELIBS_VERSION= 4.14.38
|
2016-08-24 08:20:31 +00:00
|
|
|
KDE4_ACTIVITIES_VERSION= 4.13.3
|
2017-03-29 19:18:34 +00:00
|
|
|
KDE4_WORKSPACE_VERSION= 4.11.22
|
2016-08-24 08:20:31 +00:00
|
|
|
KDE4_KDEPIM_VERSION?= 4.14.10
|
|
|
|
# Applications version for the kde4-applications.
|
|
|
|
KDE4_APPLICATIONS_BRANCH?= Attic
|
|
|
|
KDE4_APPLICATIONS_VERSION?= 15.04.3
|
|
|
|
KDE4_BRANCH?= stable
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
# Current KDE desktop.
|
2018-03-12 18:04:49 +00:00
|
|
|
KDE_FRAMEWORKS_VERSION?= 5.44.0
|
2016-11-14 16:12:56 +00:00
|
|
|
KDE_FRAMEWORKS_BRANCH?= stable
|
|
|
|
|
2016-12-23 22:07:04 +00:00
|
|
|
# Current KDE applications.
|
2018-03-24 10:13:33 +00:00
|
|
|
KDE_APPLICATIONS_VERSION?= 17.12.3
|
2018-03-24 10:55:48 +00:00
|
|
|
KDE_APPLICATIONS_SHLIB_VER?= 5.7.3
|
2018-03-24 10:13:33 +00:00
|
|
|
KDE_APPLICATIONS_BRANCH?= stable
|
2016-12-23 22:07:04 +00:00
|
|
|
# Upstream moves old software to Attic/. Specify the newest applications release there.
|
|
|
|
# Only the major version is used for the comparison.
|
2017-05-20 12:38:44 +00:00
|
|
|
_KDE_APPLICATIONS_ATTIC_VERSION= 16.12.3
|
2016-12-23 22:07:04 +00:00
|
|
|
|
2016-08-24 08:20:31 +00:00
|
|
|
# Extended KDE universe applications.
|
|
|
|
CALLIGRA_VERSION?= 2.9.11
|
|
|
|
CALLIGRA_BRANCH?= stable
|
|
|
|
|
2017-01-03 10:06:56 +00:00
|
|
|
KDEVELOP_VERSION?= 4.7.4
|
2016-08-24 08:20:31 +00:00
|
|
|
KDEVELOP_BRANCH?= stable
|
|
|
|
|
|
|
|
KTP_VERSION?= 0.9.0
|
|
|
|
KTP_BRANCH?= stable
|
|
|
|
# ==============================================================================
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
# === INSTALLATION PREFIXES AND HEADER LOCATION ================================
|
|
|
|
# Define unversioned prefix variable.
|
2016-08-24 08:20:31 +00:00
|
|
|
KDE_PREFIX= ${LOCALBASE}
|
|
|
|
# ==============================================================================
|
|
|
|
|
2016-10-29 12:02:01 +00:00
|
|
|
# === CATEGORIES HANDLING -- SETTING DEFAULT VALUES ============================
|
2016-10-18 17:22:35 +00:00
|
|
|
# Doing MASTER_SITES magic based on the category of the port
|
2016-12-23 22:07:04 +00:00
|
|
|
_KDE_CATEGORIES_SUPPORTED= kde-applications kde-frameworks kde-kde4
|
2016-10-18 17:22:35 +00:00
|
|
|
. for cat in ${_KDE_CATEGORIES_SUPPORTED}
|
|
|
|
. if ${CATEGORIES:M${cat}}
|
|
|
|
. if !defined(_KDE_CATEGORY)
|
|
|
|
_KDE_CATEGORY= ${cat}
|
|
|
|
. else
|
|
|
|
IGNORE?= cannot be installed: multiple kde-<...> categories specified via CATEGORIES=${CATEGORIES} #'
|
|
|
|
. endif
|
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
|
|
|
|
. if defined(_KDE_CATEGORY)
|
2016-10-29 12:02:01 +00:00
|
|
|
# KDE is normally licensed under the LGPL 2.0.
|
2016-10-18 17:22:35 +00:00
|
|
|
LICENSE?= LGPL20
|
|
|
|
|
|
|
|
# Set CPE Vendor Information
|
2016-10-29 12:02:01 +00:00
|
|
|
# As _KDE_CATEGORY is set we can assume it is port release by KDE and the
|
|
|
|
# vendor is therefore kde.
|
2016-10-18 17:22:35 +00:00
|
|
|
CPE_VENDOR?= kde
|
|
|
|
|
2016-10-29 12:02:01 +00:00
|
|
|
. if ${_KDE_CATEGORY:Mkde-kde4}
|
2016-10-18 17:22:35 +00:00
|
|
|
PORTVERSION?= ${KDE4_VERSION}
|
|
|
|
MASTER_SITES?= KDE/${KDE4_BRANCH}/${KDE4_VERSION}/src
|
|
|
|
DIST_SUBDIR?= KDE/${KDE4_VERSION}
|
2018-02-22 19:03:17 +00:00
|
|
|
PKGNAMESUFFIX= -kde4
|
|
|
|
CONFLICTS_INSTALL= ${PORTNAME:C/-kde4//}-4.*
|
2016-12-23 22:07:04 +00:00
|
|
|
. elif ${_KDE_CATEGORY:Mkde-applications}
|
2018-03-24 10:13:33 +00:00
|
|
|
PORTVERSION?= ${KDE_APPLICATIONS_VERSION}
|
2016-12-23 22:07:04 +00:00
|
|
|
. if ${_KDE_VERSION:M4}
|
2018-03-24 10:13:33 +00:00
|
|
|
CONFLICTS_INSTALL?= ${PORTNAME}-[0-9]*
|
|
|
|
PKGNAMESUFFIX?= -kde4
|
2016-12-23 22:07:04 +00:00
|
|
|
. else
|
2018-03-24 10:13:33 +00:00
|
|
|
CONFLICTS_INSTALL?= ${PORTNAME}-kde4-[0-9]*
|
2016-12-23 22:07:04 +00:00
|
|
|
. endif
|
2018-03-24 10:13:33 +00:00
|
|
|
# Decide where the file lies on KDE's servers: Check whether the file lies in Attic
|
2016-12-23 22:07:04 +00:00
|
|
|
. if ${KDE_APPLICATIONS_VERSION:R:R} <= ${_KDE_APPLICATIONS_ATTIC_VERSION:R:R}
|
2018-03-24 10:13:33 +00:00
|
|
|
MASTER_SITES?= KDE/Attic/applications/${KDE_APPLICATIONS_VERSION}/src
|
2016-12-23 22:07:04 +00:00
|
|
|
. else
|
2018-03-24 10:13:33 +00:00
|
|
|
MASTER_SITES?= KDE/${KDE_APPLICATIONS_BRANCH}/applications/${KDE_APPLICATIONS_VERSION}/src
|
2018-04-06 19:17:44 +00:00
|
|
|
# Let bsd.port.mk create the plist-entries for the documentation.
|
|
|
|
# KDE Applications ports install their documentation to
|
|
|
|
# ${PREFIX}/share/doc.
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc
|
|
|
|
PORTDOCS?= HTML/*
|
2018-03-24 10:55:48 +00:00
|
|
|
# Further pass along a SHLIB_VER PLIST_SUB
|
2018-03-24 10:57:42 +00:00
|
|
|
PLIST_SUB+= KDE_APPLICATIONS_SHLIB_VER=${KDE_APPLICATIONS_SHLIB_VER}
|
2016-12-23 22:07:04 +00:00
|
|
|
. endif
|
2018-03-24 10:13:33 +00:00
|
|
|
DIST_SUBDIR?= KDE/applications/${KDE_APPLICATIONS_VERSION}
|
2016-11-14 16:12:56 +00:00
|
|
|
. elif ${_KDE_CATEGORY:Mkde-frameworks}
|
|
|
|
PORTVERSION?= ${KDE_FRAMEWORKS_VERSION}
|
|
|
|
PKGNAMEPREFIX?= kf5-
|
2017-03-17 06:27:30 +00:00
|
|
|
# This is a slight duplication of _USE_FRAMEWORKS_PORTING -- it maybe would be
|
|
|
|
# better to rely on ${_USE_FRAMEWORKS_PORTING:S/^/k/g}
|
|
|
|
_PORTINGAIDS= kjs kjsembed kdelibs4support khtml kmediaplayer kross
|
|
|
|
. if ${_PORTINGAIDS:M*${PORTNAME}*}
|
|
|
|
MASTER_SITES?= KDE/${KDE_FRAMEWORKS_BRANCH}/frameworks/${KDE_FRAMEWORKS_VERSION:R}/portingAids
|
|
|
|
. else
|
|
|
|
MASTER_SITES?= KDE/${KDE_FRAMEWORKS_BRANCH}/frameworks/${KDE_FRAMEWORKS_VERSION:R}
|
|
|
|
. endif
|
2016-11-14 16:12:56 +00:00
|
|
|
DIST_SUBDIR?= KDE/frameworks/${KDE_FRAMEWORKS_VERSION}
|
2016-10-18 17:22:35 +00:00
|
|
|
. else
|
|
|
|
IGNORE?= unknown CATEGORY value '${_KDE_CATEGORY}' #'
|
|
|
|
. endif
|
|
|
|
. endif #defined(_KDE_CATEGORY)
|
2016-11-14 16:12:56 +00:00
|
|
|
|
2016-10-18 17:22:35 +00:00
|
|
|
# ==============================================================================
|
|
|
|
|
2016-08-24 08:20:31 +00:00
|
|
|
# ==== SETUP CMAKE ENVIRONMENT =================================================
|
|
|
|
# Help cmake to find files when testing ports with non-default PREFIX.
|
|
|
|
CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE}"
|
|
|
|
|
|
|
|
. if ${_KDE_VERSION:M*4*}
|
|
|
|
CMAKE_ARGS+= -DKDE4_BUILD_TESTS:BOOL=OFF
|
2016-11-14 16:12:56 +00:00
|
|
|
. elif ${_KDE_VERSION:M*5*}
|
|
|
|
# We set KDE_INSTALL_USE_QT_SYS_PATHS to install mkspecs files, plugins and
|
|
|
|
# imports to the Qt 5 install directory.
|
|
|
|
CMAKE_ARGS+= -DBUILD_TESTING:BOOL=OFF \
|
|
|
|
-DCMAKE_MODULE_PATH="${LOCALBASE};${KDE_PREFIX}" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="${KDE_PREFIX}" \
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=TRUE
|
2016-08-24 08:20:31 +00:00
|
|
|
. endif
|
|
|
|
|
|
|
|
# Set man-page installation prefix.
|
|
|
|
CMAKE_ARGS+= -DKDE_INSTALL_MANDIR:PATH="${KDE_PREFIX}/man" \
|
|
|
|
-DMAN_INSTALL_DIR:PATH="${KDE_PREFIX}/man"
|
|
|
|
# ==============================================================================
|
|
|
|
|
|
|
|
# === SET-UP PLIST_SUB =========================================================
|
|
|
|
# Prefix and include directory.
|
|
|
|
PLIST_SUB+= KDE_PREFIX="${KDE_PREFIX}"
|
|
|
|
# KDE Applications version.
|
|
|
|
PLIST_SUB+= KDE_APPLICATIONS_VERSION="${KDE_APPLICATIONS_VERSION}"
|
|
|
|
# For KDE4 applications provide KDE4 version numbers.
|
|
|
|
. if ${_KDE_VERSION:M*4*}
|
|
|
|
PLIST_SUB+= KDE4_VERSION="${KDE4_VERSION}" \
|
|
|
|
KDE4_GENERIC_LIB_VERSION=${KDE4_KDELIBS_VERSION} \
|
|
|
|
KDE4_NON_GENERIC_LIB_VERSION=${KDE4_KDELIBS_VERSION:S,^4,5,} \
|
|
|
|
KDE4_KDELIBS_VERSION=${KDE4_KDELIBS_VERSION} \
|
|
|
|
KDE4_NG_KDELIBS_VERSION=${KDE4_KDELIBS_VERSION:S,^4,5,}
|
2016-11-14 16:12:56 +00:00
|
|
|
. elif ${_KDE_VERSION:M*5*}
|
|
|
|
PLIST_SUB+= KDE_FRAMEWORKS_VERSION="${KDE_FRAMEWORKS_VERSION}"
|
2016-08-24 08:20:31 +00:00
|
|
|
. endif
|
|
|
|
# ==============================================================================
|
|
|
|
|
|
|
|
# === HANDLE PYTHON ============================================================
|
|
|
|
# TODO: Keep in sync with cmake/modules/PythonMacros.cmake
|
|
|
|
_PYTHON_SHORT_VER= ${PYTHON_VERSION:S/^python//:S/.//}
|
|
|
|
. if ${_PYTHON_SHORT_VER} > 31
|
|
|
|
PLIST_SUB+= PYCACHE="__pycache__/" \
|
|
|
|
PYC_SUFFIX=cpython-${_PYTHON_SHORT_VER}.pyc \
|
|
|
|
PYO_SUFFIX=cpython-${_PYTHON_SHORT_VER}.pyo
|
|
|
|
. else
|
|
|
|
PLIST_SUB+= PYCACHE="" \
|
|
|
|
PYC_SUFFIX=pyc \
|
|
|
|
PYO_SUFFIX=pyo
|
|
|
|
. endif
|
|
|
|
# ==============================================================================
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
_USE_KDE_BOTH= akonadi attica libkcddb libkcompactdisc libkdcraw libkdegames \
|
|
|
|
libkeduvocdocument libkexiv2 libkipi libksane okular \
|
|
|
|
baloo baloo-widgets kate marble
|
|
|
|
|
|
|
|
_USE_KDE4_ALL= baloo baloo-widgets baseapps kactivities kdelibs \
|
|
|
|
kfilemetadata korundum \
|
|
|
|
libkonq nepomuk-core nepomuk-widgets \
|
|
|
|
oxygen-icons5 perlkde perlqt pimlibs pykde4 \
|
2016-08-24 08:20:31 +00:00
|
|
|
pykdeuic4 qtruby runtime smokegen smokekde smokeqt \
|
|
|
|
workspace
|
|
|
|
# These components are not part of the Software Compilation.
|
2018-03-24 10:13:33 +00:00
|
|
|
_USE_KDE4_ALL+= akonadi automoc4 ontologies qimageblitz soprano \
|
2016-08-24 08:20:31 +00:00
|
|
|
strigi
|
|
|
|
|
2018-03-24 10:13:33 +00:00
|
|
|
_USE_KDE4_ALL+= ${_USE_KDE_BOTH}
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
# List of components of the KDE Frameworks distribution.
|
|
|
|
# The *_TIER<n> variables are internal, primarily for checking
|
|
|
|
# that our list of frameworks matches the structure offered upstream.
|
|
|
|
_USE_FRAMEWORKS_TIER1= apidox archive attica5 breeze-icons codecs config \
|
2018-02-15 17:05:45 +00:00
|
|
|
coreaddons dbusaddons dnssd holidays i18n idletime itemmodels \
|
2017-08-29 05:40:51 +00:00
|
|
|
itemviews kirigami2 oxygen-icons5 plotting prison solid \
|
|
|
|
sonnet syntaxhighlighting threadweaver wayland \
|
|
|
|
widgetsaddons windowsystem
|
2016-11-14 16:12:56 +00:00
|
|
|
# NOT LISTED TIER1: modemmanagerqt networkmanagerqt (not applicable)
|
|
|
|
|
2018-03-24 10:13:33 +00:00
|
|
|
_USE_FRAMEWORKS_TIER2= auth completion crash doctools \
|
|
|
|
filemetadata kimageformats jobwidgets notifications \
|
|
|
|
package pty unitconversion
|
2016-11-14 16:12:56 +00:00
|
|
|
|
|
|
|
_USE_FRAMEWORKS_TIER3= activities baloo5 bookmarks configwidgets \
|
|
|
|
designerplugin emoticons globalaccel guiaddons \
|
2017-03-11 15:01:57 +00:00
|
|
|
iconthemes init kcmutils kdeclarative \
|
2016-11-14 16:12:56 +00:00
|
|
|
kded kdesu kdewebkit kio newstuff notifyconfig parts \
|
2018-02-15 17:05:45 +00:00
|
|
|
people plasma-framework purpose runner service texteditor \
|
2016-11-14 16:12:56 +00:00
|
|
|
textwidgets wallet xmlgui xmlrpcclient
|
|
|
|
|
|
|
|
_USE_FRAMEWORKS_TIER4= frameworkintegration
|
|
|
|
|
|
|
|
# Porting Aids frameworks provide code and utilities to ease the transition from
|
|
|
|
# kdelibs 4 to KDE Frameworks 5. Code should aim to port away from this framework,
|
|
|
|
# new projects should avoid using these libraries.
|
2016-11-21 11:00:46 +00:00
|
|
|
_USE_FRAMEWORKS_PORTING=js jsembed kdelibs4support khtml mediaplayer kross
|
2016-11-14 16:12:56 +00:00
|
|
|
|
|
|
|
_USE_FRAMEWORKS_ALL= ecm \
|
|
|
|
${_USE_FRAMEWORKS_TIER1} \
|
|
|
|
${_USE_FRAMEWORKS_TIER2} \
|
|
|
|
${_USE_FRAMEWORKS_TIER3} \
|
|
|
|
${_USE_FRAMEWORKS_TIER4} \
|
|
|
|
${_USE_FRAMEWORKS_PORTING} \
|
|
|
|
${_USE_FRAMEWORKS_EXTRA}
|
|
|
|
|
|
|
|
|
2018-03-24 10:13:33 +00:00
|
|
|
_USE_KDE5_ALL= ${_USE_FRAMEWORKS_ALL} \
|
|
|
|
${_USE_KDE_BOTH}
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-03-24 10:13:33 +00:00
|
|
|
# ====================== kde4 components =======================================
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
baseapps_PORT= x11/kde-baseapps-kde4
|
2016-08-24 08:20:31 +00:00
|
|
|
baseapps_PATH= ${KDE_PREFIX}/bin/kfmclient
|
|
|
|
baseapps_TYPE= run
|
|
|
|
|
|
|
|
kactivities_PORT= x11/kactivities
|
2016-08-26 12:43:57 +00:00
|
|
|
kactivities_LIB= libkactivities.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-10 10:29:51 +00:00
|
|
|
kdelibs_PORT= x11/kdelibs-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
kdelibs_LIB= libkdecore.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
kfilemetadata_PORT= sysutils/kfilemetadata-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
kfilemetadata_LIB= libkfilemetadata.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
korundum_PORT= devel/ruby-korundum-kde4
|
2016-08-24 08:20:31 +00:00
|
|
|
korundum_PATH= ${KDE_PREFIX}/lib/kde4/krubypluginfactory.so
|
|
|
|
korundum_TYPE= run
|
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
libkonq_PORT= x11/libkonq-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
libkonq_LIB= libkonq.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
nepomuk-core_PORT= sysutils/nepomuk-core-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
nepomuk-core_LIB= libnepomukcore.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
nepomuk-widgets_PORT= sysutils/nepomuk-widgets-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
nepomuk-widgets_LIB= libnepomukwidgets.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
perlkde_PORT= devel/p5-perlkde-kde4
|
2016-08-24 08:20:31 +00:00
|
|
|
perlkde_PATH= ${KDE_PREFIX}/lib/kde4/kperlpluginfactory.so
|
|
|
|
perlkde_TYPE= run
|
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
perlqt_PORT= devel/p5-perlqt-kde4
|
2016-08-24 08:20:31 +00:00
|
|
|
perlqt_PATH= ${KDE_PREFIX}/bin/puic4
|
|
|
|
|
2018-02-10 10:29:51 +00:00
|
|
|
pimlibs_PORT= deskutils/kdepimlibs-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
pimlibs_LIB= libkpimutils.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
pykde4_PORT= devel/py-pykde4-kde4
|
2016-08-24 08:20:31 +00:00
|
|
|
pykde4_PATH= ${KDE_PREFIX}/lib/kde4/kpythonpluginfactory.so
|
|
|
|
pykde4_TYPE= run
|
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
pykdeuic4_PORT= devel/py-pykdeuic4-kde4
|
2016-08-24 08:20:31 +00:00
|
|
|
pykdeuic4_PATH= ${LOCALBASE}/bin/pykdeuic4
|
|
|
|
pykdeuic4_TYPE= run
|
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
qtruby_PORT= devel/ruby-qtruby-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
qtruby_LIB= libqtruby4shared.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
runtime_PORT= x11/kde-runtime-kde4
|
2016-08-24 08:20:31 +00:00
|
|
|
runtime_PATH= ${KDE_PREFIX}/bin/knotify4
|
|
|
|
runtime_TYPE= run
|
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
smokegen_PORT= devel/smokegen-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
smokegen_LIB= libsmokebase.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
smokekde_PORT= devel/smokekde-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
smokekde_LIB= libsmokekdecore.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
smokeqt_PORT= devel/smokeqt-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
smokeqt_LIB= libsmokeqtcore.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
2018-02-22 19:03:17 +00:00
|
|
|
workspace_PORT= x11/kde-workspace-kde4
|
2016-08-26 12:43:57 +00:00
|
|
|
workspace_LIB= libkworkspace.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
|
|
|
# Non-Software Compilation components
|
|
|
|
automoc4_PORT= devel/automoc4
|
|
|
|
automoc4_PATH= ${LOCALBASE}/bin/automoc4
|
|
|
|
automoc4_TYPE= build
|
|
|
|
|
|
|
|
ontologies_PORT= x11-toolkits/shared-desktop-ontologies
|
|
|
|
ontologies_PATH= ${LOCALBASE}/share/ontology/core/rdf.ontology
|
|
|
|
|
|
|
|
qimageblitz_PORT= x11/qimageblitz
|
2016-08-26 12:43:57 +00:00
|
|
|
qimageblitz_LIB= libqimageblitz.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
|
|
|
soprano_PORT= textproc/soprano
|
2016-08-26 12:43:57 +00:00
|
|
|
soprano_LIB= libsoprano.so
|
2016-08-24 08:20:31 +00:00
|
|
|
|
|
|
|
strigi_PORT= deskutils/libstreamanalyzer
|
2016-08-26 12:43:57 +00:00
|
|
|
strigi_LIB= libstreamanalyzer.so.0
|
2016-08-24 08:20:31 +00:00
|
|
|
# ====================== end of kde4 components ================================
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
# ====================== frameworks components =================================
|
|
|
|
activities_PORT= x11/kf5-kactivities
|
|
|
|
activities_LIB= libKF5Activities.so
|
|
|
|
|
|
|
|
apidox_PORT= devel/kf5-kapidox
|
|
|
|
apidox_PATH= ${KDE_PREFIX}/bin/kapidox_generate
|
|
|
|
apidox_TYPE= run
|
|
|
|
|
|
|
|
archive_PORT= archivers/kf5-karchive
|
|
|
|
archive_LIB= libKF5Archive.so
|
|
|
|
|
|
|
|
attica5_PORT= x11-toolkits/kf5-attica
|
|
|
|
attica5_LIB= libKF5Attica.so
|
|
|
|
|
|
|
|
auth_PORT= devel/kf5-kauth
|
|
|
|
auth_LIB= libKF5Auth.so
|
|
|
|
|
|
|
|
baloo5_PORT= sysutils/kf5-baloo
|
|
|
|
baloo5_LIB= libKF5Baloo.so
|
|
|
|
|
|
|
|
bookmarks_PORT= devel/kf5-kbookmarks
|
|
|
|
bookmarks_LIB= libKF5Bookmarks.so
|
|
|
|
|
|
|
|
breeze-icons_PORT= x11-themes/kf5-breeze-icons
|
|
|
|
breeze-icons_PATH= ${KDE_PREFIX}/share/icons/breeze/index.theme
|
|
|
|
breeze-icons_TYPE= run
|
|
|
|
|
|
|
|
codecs_PORT= textproc/kf5-kcodecs
|
|
|
|
codecs_LIB= libKF5Codecs.so
|
|
|
|
|
|
|
|
completion_PORT= x11-toolkits/kf5-kcompletion
|
|
|
|
completion_LIB= libKF5Completion.so
|
|
|
|
|
|
|
|
config_PORT= devel/kf5-kconfig
|
|
|
|
config_LIB= libKF5ConfigCore.so
|
|
|
|
|
|
|
|
configwidgets_PORT= x11-toolkits/kf5-kconfigwidgets
|
|
|
|
configwidgets_LIB= libKF5ConfigWidgets.so
|
|
|
|
|
|
|
|
coreaddons_PORT= devel/kf5-kcoreaddons
|
|
|
|
coreaddons_LIB= libKF5CoreAddons.so
|
|
|
|
|
|
|
|
crash_PORT= devel/kf5-kcrash
|
|
|
|
crash_LIB= libKF5Crash.so
|
|
|
|
|
|
|
|
dbusaddons_PORT= devel/kf5-kdbusaddons
|
|
|
|
dbusaddons_LIB= libKF5DBusAddons.so
|
|
|
|
|
|
|
|
designerplugin_PORT= x11-toolkits/kf5-kdesignerplugin
|
|
|
|
designerplugin_PATH= ${QT_PLUGINDIR}/designer/kf5widgets.so
|
|
|
|
designerplugin_TYPE= run
|
|
|
|
|
|
|
|
dnssd_PORT= dns/kf5-kdnssd
|
|
|
|
dnssd_LIB= libKF5DNSSD.so
|
|
|
|
|
|
|
|
doctools_PORT= devel/kf5-kdoctools
|
|
|
|
doctools_PATH= ${KDE_PREFIX}/bin/meinproc5
|
|
|
|
|
|
|
|
ecm_PORT= devel/kf5-extra-cmake-modules
|
|
|
|
ecm_PATH= ${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake
|
|
|
|
|
|
|
|
emoticons_PORT= x11-themes/kf5-kemoticons
|
|
|
|
emoticons_LIB= libKF5Emoticons.so
|
|
|
|
|
2018-03-24 10:13:33 +00:00
|
|
|
filemetadata_PORT= devel/kf5-kfilemetadata
|
|
|
|
filemetadata_LIB= libKF5FileMetaData.so
|
2016-11-14 16:12:56 +00:00
|
|
|
|
|
|
|
frameworkintegration_PORT= x11/kf5-frameworkintegration
|
|
|
|
frameworkintegration_LIB= libKF5Style.so
|
|
|
|
|
|
|
|
globalaccel_PORT= x11/kf5-kglobalaccel
|
|
|
|
globalaccel_LIB= libKF5GlobalAccel.so
|
|
|
|
|
|
|
|
guiaddons_PORT= x11-toolkits/kf5-kguiaddons
|
|
|
|
guiaddons_LIB= libKF5GuiAddons.so
|
|
|
|
|
2018-02-15 17:05:45 +00:00
|
|
|
holidays_PORT= net/kf5-kholidays
|
|
|
|
holidays_LIB= libKF5Holidays.so
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
i18n_PORT= devel/kf5-ki18n
|
|
|
|
i18n_LIB= libKF5I18n.so
|
|
|
|
|
|
|
|
iconthemes_PORT= x11-themes/kf5-kiconthemes
|
|
|
|
iconthemes_LIB= libKF5IconThemes.so
|
|
|
|
|
|
|
|
idletime_PORT= devel/kf5-kidletime
|
|
|
|
idletime_LIB= libKF5IdleTime.so
|
|
|
|
|
|
|
|
init_PORT= x11/kf5-kinit
|
|
|
|
init_PATH= ${KDE_PREFIX}/bin/kdeinit5
|
|
|
|
|
|
|
|
itemmodels_PORT= devel/kf5-kitemmodels
|
|
|
|
itemmodels_LIB= libKF5ItemModels.so
|
|
|
|
|
|
|
|
itemviews_PORT= x11-toolkits/kf5-kitemviews
|
|
|
|
itemviews_LIB= libKF5ItemViews.so
|
|
|
|
|
|
|
|
jobwidgets_PORT= x11-toolkits/kf5-kjobwidgets
|
|
|
|
jobwidgets_LIB= libKF5JobWidgets.so
|
|
|
|
|
|
|
|
js_PORT= www/kf5-kjs
|
|
|
|
js_LIB= libKF5JS.so
|
|
|
|
|
|
|
|
jsembed_PORT= www/kf5-kjsembed
|
|
|
|
jsembed_LIB= libKF5JsEmbed.so
|
|
|
|
|
|
|
|
kcmutils_PORT= devel/kf5-kcmutils
|
|
|
|
kcmutils_LIB= libKF5KCMUtils.so
|
|
|
|
|
|
|
|
kdeclarative_PORT= devel/kf5-kdeclarative
|
|
|
|
kdeclarative_LIB= libKF5Declarative.so
|
|
|
|
|
|
|
|
kded_PORT= x11/kf5-kded
|
|
|
|
kded_LIB= libkdeinit5_kded5.so
|
|
|
|
|
|
|
|
kdelibs4support_PORT= x11/kf5-kdelibs4support
|
|
|
|
kdelibs4support_LIB= libKF5KDELibs4Support.so
|
|
|
|
|
|
|
|
kdesu_PORT= security/kf5-kdesu
|
|
|
|
kdesu_LIB= libKF5Su.so
|
|
|
|
|
|
|
|
kdewebkit_PORT= www/kf5-kdewebkit
|
|
|
|
kdewebkit_LIB= libKF5WebKit.so
|
|
|
|
|
|
|
|
khtml_PORT= www/kf5-khtml
|
|
|
|
khtml_LIB= libKF5KHtml.so
|
|
|
|
|
|
|
|
kimageformats_PORT= graphics/kf5-kimageformats
|
|
|
|
kimageformats_PATH= ${QT_PLUGINDIR}/imageformats/kimg_xcf.so
|
|
|
|
kimageformats_TYPE= run
|
|
|
|
|
|
|
|
kio_PORT= devel/kf5-kio
|
|
|
|
kio_LIB= libKF5KIOCore.so
|
|
|
|
|
2017-08-29 05:40:51 +00:00
|
|
|
kirigami2_PORT= x11-toolkits/kf5-kirigami2
|
2017-02-18 19:56:12 +00:00
|
|
|
kirigami2_PATH= ${QT_QMLDIR}/org/kde/kirigami.2/libkirigamiplugin.so
|
2016-11-14 16:12:56 +00:00
|
|
|
|
|
|
|
kross_PORT= lang/kf5-kross
|
|
|
|
kross_LIB= libKF5KrossCore.so
|
|
|
|
|
|
|
|
mediaplayer_PORT= multimedia/kf5-kmediaplayer
|
|
|
|
mediaplayer_LIB= libKF5MediaPlayer.so.5
|
|
|
|
|
|
|
|
newstuff_PORT= devel/kf5-knewstuff
|
|
|
|
newstuff_LIB= libKF5NewStuff.so
|
|
|
|
|
|
|
|
notifications_PORT= devel/kf5-knotifications
|
|
|
|
notifications_LIB= libKF5Notifications.so
|
|
|
|
|
|
|
|
notifyconfig_PORT= devel/kf5-knotifyconfig
|
|
|
|
notifyconfig_LIB= libKF5NotifyConfig.so
|
|
|
|
|
2017-04-03 12:28:59 +00:00
|
|
|
# This is a KF5 port used by KDE4 as well, but it's architecture-independent
|
|
|
|
# and only contains icons.
|
2016-11-14 16:12:56 +00:00
|
|
|
oxygen-icons5_PORT= x11-themes/kf5-oxygen-icons5
|
|
|
|
oxygen-icons5_PATH= ${KDE_PREFIX}/share/icons/oxygen/index.theme
|
|
|
|
oxygen-icons5_TYPE= run
|
|
|
|
|
|
|
|
package_PORT= devel/kf5-kpackage
|
|
|
|
package_LIB= libKF5Package.so
|
|
|
|
|
|
|
|
parts_PORT= devel/kf5-kparts
|
|
|
|
parts_LIB= libKF5Parts.so
|
|
|
|
|
|
|
|
people_PORT= devel/kf5-kpeople
|
|
|
|
people_LIB= libKF5People.so
|
|
|
|
|
|
|
|
plasma-framework_PORT= x11/kf5-plasma-framework
|
|
|
|
plasma-framework_LIB= libKF5Plasma.so
|
|
|
|
|
|
|
|
plotting_PORT= graphics/kf5-kplotting
|
|
|
|
plotting_LIB= libKF5Plotting.so
|
|
|
|
|
2016-12-19 15:56:24 +00:00
|
|
|
prison_PORT= graphics/kf5-prison
|
|
|
|
prison_LIB= libKF5Prison.so
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
pty_PORT= devel/kf5-kpty
|
|
|
|
pty_LIB= libKF5Pty.so
|
|
|
|
|
2018-02-15 17:05:45 +00:00
|
|
|
purpose_PORT= misc/kf5-purpose
|
|
|
|
purpose_LIB= libKF5Purpose.so
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
runner_PORT= x11/kf5-krunner
|
|
|
|
runner_LIB= libKF5Runner.so
|
|
|
|
|
|
|
|
service_PORT= devel/kf5-kservice
|
|
|
|
service_PATH= ${KDE_PREFIX}/bin/kbuildsycoca5
|
|
|
|
|
|
|
|
solid_PORT= devel/kf5-solid
|
|
|
|
solid_LIB= libKF5Solid.so
|
|
|
|
|
|
|
|
sonnet_PORT= textproc/kf5-sonnet
|
|
|
|
sonnet_LIB= libKF5SonnetCore.so
|
|
|
|
|
2016-12-19 15:56:24 +00:00
|
|
|
syntaxhighlighting_PORT= textproc/kf5-syntax-highlighting
|
|
|
|
syntaxhighlighting_LIB= libKF5SyntaxHighlighting.so
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
texteditor_PORT= devel/kf5-ktexteditor
|
|
|
|
texteditor_LIB= libKF5TextEditor.so
|
|
|
|
|
|
|
|
textwidgets_PORT= x11-toolkits/kf5-ktextwidgets
|
|
|
|
textwidgets_LIB= libKF5TextWidgets.so
|
|
|
|
|
|
|
|
threadweaver_PORT= devel/kf5-threadweaver
|
|
|
|
threadweaver_LIB= libKF5ThreadWeaver.so
|
|
|
|
|
|
|
|
unitconversion_PORT= devel/kf5-kunitconversion
|
|
|
|
unitconversion_LIB= libKF5UnitConversion.so
|
|
|
|
|
|
|
|
wallet_PORT= sysutils/kf5-kwallet
|
|
|
|
wallet_LIB= libKF5Wallet.so
|
|
|
|
|
2017-01-26 18:19:47 +00:00
|
|
|
wayland_PORT= x11/kf5-kwayland
|
|
|
|
wayland_LIB= libKF5WaylandClient.so
|
|
|
|
|
2016-11-14 16:12:56 +00:00
|
|
|
widgetsaddons_PORT= x11-toolkits/kf5-kwidgetsaddons
|
|
|
|
widgetsaddons_LIB= libKF5WidgetsAddons.so
|
|
|
|
|
|
|
|
windowsystem_PORT= x11/kf5-kwindowsystem
|
|
|
|
windowsystem_LIB= libKF5WindowSystem.so
|
|
|
|
|
|
|
|
xmlgui_PORT= x11-toolkits/kf5-kxmlgui
|
|
|
|
xmlgui_LIB= libKF5XmlGui.so
|
|
|
|
|
|
|
|
xmlrpcclient_PORT= net/kf5-kxmlrpcclient
|
|
|
|
xmlrpcclient_LIB= libKF5XmlRpcClient.so
|
|
|
|
# ====================== end of frameworks components ==========================
|
|
|
|
|
2018-03-24 10:13:33 +00:00
|
|
|
# ====================== multiversion component ================================
|
|
|
|
akonadi4_PORT= databases/akonadi-kde4
|
|
|
|
akonadi4_LIB= libakonadiprotocolinternals.so
|
2018-04-09 19:02:33 +00:00
|
|
|
akonadi5_PORT= databases/akonadi
|
|
|
|
akonadi5_LIB= libKF5AkonadiPrivate.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
attica4_PORT= x11-toolkits/attica
|
|
|
|
attica4_LIB= libattica.so
|
|
|
|
|
|
|
|
baloo4_PORT= sysutils/baloo-kde4
|
|
|
|
baloo4_LIB= libbaloocore.so
|
|
|
|
|
|
|
|
baloo-widgets4_PORT= sysutils/baloo-widgets-kde4
|
|
|
|
baloo-widgets4_LIB= libbaloowidgets.so
|
|
|
|
|
|
|
|
|
|
|
|
kate4_PORT= editors/kate-kde4
|
|
|
|
kate4_LIB= libkateinterfaces.so
|
2018-04-08 17:13:22 +00:00
|
|
|
kate5_PORT= editors/kate
|
|
|
|
kate5_PATH= ${QT_PLUGINDIR}/ktexteditor/katebacktracebrowserplugin.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
libkcddb4_PORT= audio/libkcddb-kde4
|
|
|
|
libkcddb4_LIB= libkcddb.so
|
|
|
|
|
|
|
|
libkcompactdisc4_PORT= audio/libkcompactdisc-kde4
|
|
|
|
libkcompactdisc4_LIB= libkcompactdisc.so
|
|
|
|
|
|
|
|
libkdcraw4_PORT= graphics/libkdcraw-kde4
|
|
|
|
libkdcraw4_LIB= libkdcraw.so
|
2018-04-08 17:01:54 +00:00
|
|
|
libkdcraw5_PORT= graphics/libkdcraw
|
|
|
|
libkdcraw5_LIB= libKF5KDcraw.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
libkdegames4_PORT= games/libkdegames-kde4
|
|
|
|
libkdegames4_LIB= libkdegames.so
|
2018-04-08 18:09:23 +00:00
|
|
|
libkdegames5_PORT= games/libkdegames
|
|
|
|
libkdegames5_LIB= libKF5KDEGames.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
libkeduvocdocument4_PORT= misc/libkdeedu-kde4
|
|
|
|
libkeduvocdocument4_LIB= libkeduvocdocument.so
|
2018-04-08 18:09:23 +00:00
|
|
|
libkeduvocdocument5_PORT= misc/libkeduvocdocument
|
|
|
|
libkeduvocdocument5_LIB= libKEduVocDocument.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
libkexiv24_PORT= graphics/libkexiv2-kde4
|
|
|
|
libkexiv24_LIB= libkexiv2.so
|
2018-04-08 17:01:54 +00:00
|
|
|
libkexiv25_PORT= graphics/libkexiv2
|
|
|
|
libkexiv25_LIB= libKF5KExiv2.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
libkipi4_PORT= graphics/libkipi-kde4
|
|
|
|
libkipi4_LIB= libkipi.so
|
2018-04-08 17:01:54 +00:00
|
|
|
libkipi5_PORT= graphics/libkipi
|
|
|
|
libkipi5_LIB= libKF5Kipi.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
libksane4_PORT= graphics/libksane-kde4
|
|
|
|
libksane4_LIB= libksane.so
|
2018-04-08 17:01:54 +00:00
|
|
|
libksane5_PORT= graphics/libksane
|
|
|
|
libksane5_LIB= libKF5Sane.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
marble4_PORT= astro/marble-kde4
|
|
|
|
marble4_LIB= libmarblewidget.so
|
2018-04-08 17:21:34 +00:00
|
|
|
marble5_PORT= astro/marble
|
|
|
|
marble5_LIB= libmarblewidget-qt5.so
|
2018-03-24 10:13:33 +00:00
|
|
|
|
|
|
|
okular4_PORT= graphics/okular-kde4
|
|
|
|
okular4_LIB= libokularcore.so
|
2018-04-08 17:01:54 +00:00
|
|
|
okular5_PORT= graphics/okular
|
|
|
|
okular5_LIB= libOkular5Core.so
|
2018-03-24 10:13:33 +00:00
|
|
|
# ====================== end of multiversion components ========================
|
|
|
|
|
|
|
|
# ====================== select the proper multiversion component ==============
|
|
|
|
. for comp in ${_USE_KDE_BOTH}
|
|
|
|
${comp}_PORT= ${${comp}${_KDE_VERSION}_PORT}
|
|
|
|
. if defined(${comp}${_KDE_VERSION}_LIB)
|
|
|
|
${comp}_LIB= ${${comp}${_KDE_VERSION}_LIB}
|
|
|
|
. else
|
|
|
|
. if defined(${comp}${_KDE_VERSION}_PATH})
|
|
|
|
${comp}_PATH= ${${comp}${_KDE_VERSION}_LIB}
|
|
|
|
. endif
|
|
|
|
# If neither is defined, this gets caught below when checking components
|
|
|
|
. endif
|
|
|
|
. endfor
|
|
|
|
#===============================================================================
|
|
|
|
|
2016-08-24 08:20:31 +00:00
|
|
|
# end of component list ########################################################
|
|
|
|
|
|
|
|
_USE_KDE_ALL= ${_USE_${_KDE_RELNAME}_ALL}
|
|
|
|
|
|
|
|
# Iterate through components deprived of suffix.
|
|
|
|
. for component in ${USE_KDE:O:u:C/_.+//}
|
|
|
|
# Check that the component is valid.
|
|
|
|
. if ${_USE_KDE_ALL:M${component}} != ""
|
|
|
|
# Skip meta-components (currently none).
|
2016-08-26 12:43:57 +00:00
|
|
|
. if defined(${component}_PORT) && (defined(${component}_PATH) || defined(${component}_LIB))
|
2016-08-24 08:20:31 +00:00
|
|
|
# Check if a dependency type is explicitly requested.
|
|
|
|
. if ${USE_KDE:M${component}_*} != "" && ${USE_KDE:M${component}} == ""
|
|
|
|
${component}_TYPE= # empty
|
|
|
|
. if ${USE_KDE:M${component}_build} != ""
|
|
|
|
${component}_TYPE+= build
|
|
|
|
. endif
|
|
|
|
. if ${USE_KDE:M${component}_run} != ""
|
|
|
|
${component}_TYPE+= run
|
|
|
|
. endif
|
|
|
|
. endif # ${USE_KDE:M${component}_*} != "" && ${USE_KDE:M${component}} == ""
|
|
|
|
# If no dependency type is set, default to full dependency.
|
|
|
|
. if !defined(${component}_TYPE)
|
|
|
|
${component}_TYPE= build run
|
|
|
|
. endif
|
|
|
|
# Set real dependencies.
|
2016-08-26 12:43:57 +00:00
|
|
|
. if defined(${component}_LIB) && ${${component}_TYPE:Mbuild} && ${${component}_TYPE:Mrun}
|
|
|
|
LIB_DEPENDS+= ${${component}_LIB}:${${component}_PORT}
|
|
|
|
. else
|
|
|
|
${component}_PATH?= ${KDE_PREFIX}/lib/${${component}_LIB}
|
|
|
|
${component}_DEPENDS= ${${component}_PATH}:${${component}_PORT}
|
|
|
|
. if ${${component}_TYPE:Mbuild} != ""
|
2016-08-24 08:20:31 +00:00
|
|
|
BUILD_DEPENDS+= ${${component}_DEPENDS}
|
2016-08-26 12:43:57 +00:00
|
|
|
. endif
|
|
|
|
. if ${${component}_TYPE:Mrun} != ""
|
2016-08-24 08:20:31 +00:00
|
|
|
RUN_DEPENDS+= ${${component}_DEPENDS}
|
2016-08-26 12:43:57 +00:00
|
|
|
. endif
|
|
|
|
. endif # ${${component}_LIB} && ${${component}_TYPE:Mbuild} && ${${component}_TYPE:Mrun}
|
2016-08-24 08:20:31 +00:00
|
|
|
. endif # defined(${component}_PORT) && defined(${component}_PATH)
|
|
|
|
. else # ! ${_USE_KDE_ALL:M${component}} != ""
|
|
|
|
IGNORE= cannot be installed: unknown USE_KDE component '${component}'
|
|
|
|
. endif # ${_USE_KDE_ALL:M${component}} != ""
|
|
|
|
. endfor
|
|
|
|
|
|
|
|
.endif
|