summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdeartwork-tdescreensaver
diff options
context:
space:
mode:
authorChris <xchrisx@uber.space>2020-04-27 16:49:30 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2020-04-27 17:29:47 +0000
commitfb63f1d372b7b633899c638d8ec4e2d90840eb0b (patch)
treeb6de65f8c0b211b468af67d494f008a6c698e805 /trinity-base/tdeartwork-tdescreensaver
parentbfd5e4e1e24764a83761c8895bcd74a90a667c19 (diff)
downloadtde-packaging-gentoo-fb63f1d372b7b633899c638d8ec4e2d90840eb0b.tar.gz
tde-packaging-gentoo-fb63f1d372b7b633899c638d8ec4e2d90840eb0b.zip
TDEArtwork: Add `kclock` USE for tdeartwork-tdescreensaver + Cosmetics.
Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'trinity-base/tdeartwork-tdescreensaver')
-rw-r--r--trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-14.0.6.ebuild12
-rw-r--r--trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild11
2 files changed, 11 insertions, 12 deletions
diff --git a/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-14.0.6.ebuild b/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-14.0.6.ebuild
index 558f5736..2a4f591a 100644
--- a/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-14.0.6.ebuild
+++ b/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-14.0.6.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
+
EAPI="7"
TRINITY_MODULE_NAME="tdeartwork"
@@ -11,21 +12,20 @@ need-arts optional
DESCRIPTION="Extra screensavers for Trinity"
KEYWORDS="~amd64 ~x86"
-IUSE+=" opengl xscreensaver"
+IUSE+=" opengl xscreensaver kclock"
-MY_DEPEND="=trinity-base/tdescreensaver-${PV}
+DEPEND+=" =trinity-base/tdescreensaver-${PV}
=trinity-base/krootbacking-${PV}
- =media-libs/libart_lgpl-${PV}
+ kclock? ( =media-libs/libart_lgpl-${PV} )
opengl? ( virtual/opengl )
xscreensaver? ( x11-misc/xscreensaver )"
-DEPEND+=" ${MY_DEPEND}"
-RDEPEND+=" ${MY_DEPEND}"
+RDEPEND+=" ${DEPEND}"
TSM_EXTRACT_ALSO="FindXscreensaver.cmake"
src_configure() {
mycmakeargs=(
- -DWITH_LIBART=ON
+ -DWITH_LIBART="$(usex kclock)"
-DWITH_OPENGL="$(usex opengl)"
-DWITH_XSCREENSAVER="$(usex xscreensaver)"
)
diff --git a/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild b/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild
index 9d4a215b..29a452a6 100644
--- a/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild
+++ b/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild
@@ -11,21 +11,20 @@ need-arts optional
DESCRIPTION="Extra screensavers for Trinity"
-IUSE+=" opengl xscreensaver"
+IUSE+=" opengl xscreensaver kclock"
-MY_DEPEND="=trinity-base/tdescreensaver-${PV}
+DEPEND+=" =trinity-base/tdescreensaver-${PV}
=trinity-base/krootbacking-${PV}
- =media-libs/libart_lgpl-${PV}
+ kclock? ( =media-libs/libart_lgpl-${PV} )
opengl? ( virtual/opengl )
xscreensaver? ( x11-misc/xscreensaver )"
-DEPEND+=" ${MY_DEPEND}"
-RDEPEND+=" ${MY_DEPEND}"
+RDEPEND+=" ${DEPEND}"
TSM_EXTRACT_ALSO="FindXscreensaver.cmake"
src_configure() {
mycmakeargs=(
- -DWITH_LIBART=ON
+ -DWITH_LIBART="$(usex kclock)"
-DWITH_OPENGL="$(usex opengl)"
-DWITH_XSCREENSAVER="$(usex xscreensaver)"
)