diff options
author | tcberner <tcberner@FreeBSD.org> | 2016-11-15 00:12:56 +0800 |
---|---|---|
committer | tcberner <tcberner@FreeBSD.org> | 2016-11-15 00:12:56 +0800 |
commit | 6c5965ba9ac4e94e995d4e16a6b052b416a4b6cf (patch) | |
tree | dbe08499461c3eea79dce8b1eca87e2699ef0d1c /Mk/Scripts | |
parent | bf14630d264a9160dc837c514f487902a2f64259 (diff) | |
download | freebsd-ports-gnome-6c5965ba9ac4e94e995d4e16a6b052b416a4b6cf.tar.gz freebsd-ports-gnome-6c5965ba9ac4e94e995d4e16a6b052b416a4b6cf.tar.zst freebsd-ports-gnome-6c5965ba9ac4e94e995d4e16a6b052b416a4b6cf.zip |
Importing KDE Frameworks into the ports tree (required for newer KDE Desktop and Applications)
KDE Frameworks is a collection of libraries and software frameworks by KDE
that serve as technological foundation for KDE Plasma 5 and KDE Applications
distributed under the GNU Lesser General Public License (LGPL) [1].
The work is based on what we have in the KDE testing repo [2].
This is the next big step in updating the KDE Desktop and its Applications
to anything less dusty.
With this change, `USES=kde:5` is now a valid option. Ports that need to depend
on KDE Framework can now set:
USES=kde:5
USE_KDE=<framework1> <framework2> ... <frameworkX>
For example: www/qupzilla-qt5 can depend on sysutils/kf5-kwallet via:
KWALLET_USE= KDE=wallet
I would like to thank Raphael and Adriaan for reviewing the ports in the testing
repo :)
[1] https://en.wikipedia.org/wiki/KDE_Frameworks
[2] http://src.mouf.net/area51/log/branches/plasma5
Reviewed by: rakuco, mat, groot_kde.org
Approved by: rakuco (maintainer)
Differential Revision: https://reviews.freebsd.org/D8329
Diffstat (limited to 'Mk/Scripts')
-rw-r--r-- | Mk/Scripts/qa.sh | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index 3edd5c53e751..699c3e82d462 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -68,7 +68,7 @@ shebang() { local f l link rc rc=0 - + while read f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue @@ -478,6 +478,32 @@ proxydeps_suggest_uses() { elif [ ${pkg} = "x11/qimageblitz" ]; then warn "you need to use USE_KDE+=qimageblitz" elif [ ${pkg} = "textproc/soprano" ]; then warn "you need to use USE_KDE+=soprano" elif [ ${pkg} = "deskutils/libstreamanalyzer" ]; then warn "you need to use USE_KDE+=strigi" + # KDE Frameworks + elif [ ${pkg} = "devel/kf5-extra-cmake-modules" ]; then warn "you need to use USE_KDE+=ecm" + elif [ ${pkg} = "devel/kf5-kcmutils" ]; then warn "you need to use USE_KDE+=kcmutils" + elif [ ${pkg} = "devel/kf5-kdeclarative" ]; then warn "you need to use USE_KDE+=kdeclarative" + elif [ ${pkg} = "devel/kf5-kfilemetadata" ]; then warn "you need to use USE_KDE+=filemetadata5" + elif [ ${pkg} = "devel/kf5-kio" ]; then warn "you need to use USE_KDE+=kio" + elif [ ${pkg} = "devel/kf5-solid" ]; then warn "you need to use USE_KDE+=solid" + elif [ ${pkg} = "devel/kf5-threadweaver" ]; then warn "you need to use USE_KDE+=threadweaver" + elif [ ${pkg} = "devel/kio-extras-kf5" ]; then warn "you need to use USE_KDE+=kio-extras" + elif [ ${pkg} = "graphics/kf5-kimageformats" ]; then warn "you need to use USE_KDE+=kimageformats" + elif [ ${pkg} = "lang/kf5-kross" ]; then warn "you need to use USE_KDE+=kross" + elif [ ${pkg} = "security/kf5-kdesu" ]; then warn "you need to use USE_KDE+=kdesu" + elif [ ${pkg} = "sysutils/kf5-baloo" ]; then warn "you need to use USE_KDE+=baloo5" + elif [ ${pkg} = "sysutils/kf5-bluez-qt" ]; then warn "you need to use USE_KDE+=bluez-qt" + elif [ ${pkg} = "textproc/kf5-sonnet" ]; then warn "you need to use USE_KDE+=sonnet" + elif [ ${pkg} = "www/kf5-kdewebkit" ]; then warn "you need to use USE_KDE+=kdewebkit" + elif [ ${pkg} = "www/kf5-khtml" ]; then warn "you need to use USE_KDE+=khtml" + elif [ ${pkg} = "x11-themes/kf5-breeze-icons" ]; then warn "you need to use USE_KDE+=breeze-icons" + elif [ ${pkg} = "x11-themes/kf5-oxygen-icons5" ]; then warn "you need to use USE_KDE+=oxygen-icons5" + elif [ ${pkg} = "x11-toolkits/kf5-attica" ]; then warn "you need to use USE_KDE+=attica5" + elif [ ${pkg} = "x11/kf5-frameworkintegration" ]; then warn "you need to use USE_KDE+=frameworkintegration" + elif [ ${pkg} = "x11/kf5-kded" ]; then warn "you need to use USE_KDE+=kded" + elif [ ${pkg} = "x11/kf5-kdelibs4support" ]; then warn "you need to use USE_KDE+=kdelibs4support" + elif [ ${pkg} = "x11/kf5-plasma-framework" ]; then warn "you need to use USE_KDE+=plasma-framework" + elif expr ${pkg} : '.*/kf5-.*' > /dev/null; then + warn "you need USE_KDE+=$(echo ${pkg} | sed -E 's|.*/kf5-k||')" # sdl-related elif [ ${pkg} = 'devel/sdl12' ]; then warn "you need USE_SDL+=sdl" |