summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/kde/kolf/kolf-scm.exheres-09
-rw-r--r--packages/kde/kolf/kolf.exlib47
2 files changed, 48 insertions, 8 deletions
diff --git a/packages/kde/kolf/kolf-scm.exheres-0 b/packages/kde/kolf/kolf-scm.exheres-0
new file mode 100644
index 0000000..5d24381
--- /dev/null
+++ b/packages/kde/kolf/kolf-scm.exheres-0
@@ -0,0 +1,9 @@
+# Copyright 2013 Heiko Becker <heirecka@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+# last checked commit: bfbdfb8c49bf70e52719c75e831477f2f751934e
+
+require kolf
+
+PLATFORMS="~amd64 ~x86"
+
diff --git a/packages/kde/kolf/kolf.exlib b/packages/kde/kolf/kolf.exlib
index e26fb59..07dace8 100644
--- a/packages/kde/kolf/kolf.exlib
+++ b/packages/kde/kolf/kolf.exlib
@@ -1,7 +1,11 @@
-# Copyright 2013 Heiko Becker <heirecka@exherbo.org>
+# Copyright 2013, 2017 Heiko Becker <heirecka@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
-require kde-apps kde [ kde_major_version=4 ] freedesktop-desktop gtk-icon-cache
+if ever at_least 17.11.80 ; then
+ require kde-apps kde freedesktop-desktop gtk-icon-cache
+else
+ require kde-apps kde [ kde_major_version=4 ] freedesktop-desktop gtk-icon-cache
+fi
export_exlib_phases pkg_postinst pkg_postrm
@@ -15,13 +19,40 @@ HOMEPAGE+=" http://kde.org/applications/games/${PN}/"
LICENCES="GPL-2 FDL-1.2 LGPL-2"
MYOPTIONS=""
-DEPENDENCIES="
- build+run:
- kde/kdelibs:${SLOT}
- kde/libkdegames:${SLOT}[>=4.9.0]
- media-libs/phonon[qt4(+)]
-"
# NOTE: Annoyingly upstream bundles an old, modified copy of dev-libs/Box2D
+if ever at_least 17.11.80 ; then
+ KF5_MIN_VER=5.15.0
+ QT_MIN_VER=5.3.0
+
+ DEPENDENCIES="
+ build+run:
+ kde/libkdegames:5[>=4.9.0]
+ kde-frameworks/kconfig:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kconfigwidgets:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kcoreaddons:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kcrash:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kdbusaddons:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kdelibs4support:5[>=${KF5_MIN_VER}]
+ kde-frameworks/ki18n:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kio:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kitemmodels:5[>=${KF5_MIN_VER}]
+ kde-frameworks/knewstuff:5[>=${KF5_MIN_VER}]
+ kde-frameworks/knotifyconfig:5[>=${KF5_MIN_VER}]
+ kde-frameworks/ktextwidgets:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kwidgetsaddons:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kwindowsystem:5[>=${KF5_MIN_VER}]
+ kde-frameworks/kxmlgui:5[>=${KF5_MIN_VER}]
+ media-libs/phonon[qt5]
+ x11-libs/qtbase:5
+ "
+else
+ DEPENDENCIES="
+ build+run:
+ kde/kdelibs:${SLOT}
+ kde/libkdegames:${SLOT}[>=4.9.0]
+ media-libs/phonon[qt4(+)]
+ "
+fi
kolf_pkg_postinst() {
freedesktop-desktop_pkg_postinst