trinity-base/tdeartwork-tdescreensaver: Add missing IUSE metadata

- Sort IUSE, DEPENDS
- local mycmakeargs

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
pull/180/head
Andreas Sturmlechner 4 years ago
parent c53039cb7c
commit 6150e8ab80

@ -5,4 +5,7 @@
<email>fatzer2@gmail.com</email> <email>fatzer2@gmail.com</email>
<name>Alexander Golubev</name> <name>Alexander Golubev</name>
</maintainer> </maintainer>
<use>
<flag name="kclock">Enable WITH_LIBART cmake flag requiring <pkg>media-libs/libart_lgpl</pkg></flag>
</use>
</pkgmetadata> </pkgmetadata>

@ -10,12 +10,13 @@ inherit trinity-meta-2
need-arts optional need-arts optional
DESCRIPTION="Extra screensavers for Trinity" DESCRIPTION="Extra screensavers for Trinity"
KEYWORDS="~amd64 ~x86"
IUSE+=" opengl xscreensaver kclock" KEYWORDS="~amd64 ~x86"
IUSE+=" kclock opengl xscreensaver"
DEPEND+=" ~trinity-base/tdescreensaver-${PV} DEPEND+="
~trinity-base/krootbacking-${PV} ~trinity-base/krootbacking-${PV}
~trinity-base/tdescreensaver-${PV}
kclock? ( ~media-libs/libart_lgpl-${PV} ) kclock? ( ~media-libs/libart_lgpl-${PV} )
opengl? ( virtual/opengl ) opengl? ( virtual/opengl )
xscreensaver? ( x11-misc/xscreensaver )" xscreensaver? ( x11-misc/xscreensaver )"
@ -24,7 +25,7 @@ RDEPEND+=" ${DEPEND}"
TSM_EXTRACT_ALSO="FindXscreensaver.cmake" TSM_EXTRACT_ALSO="FindXscreensaver.cmake"
src_configure() { src_configure() {
mycmakeargs=( local mycmakeargs=(
-DWITH_LIBART="$(usex kclock)" -DWITH_LIBART="$(usex kclock)"
-DWITH_OPENGL="$(usex opengl)" -DWITH_OPENGL="$(usex opengl)"
-DWITH_XSCREENSAVER="$(usex xscreensaver)" -DWITH_XSCREENSAVER="$(usex xscreensaver)"

@ -10,12 +10,13 @@ inherit trinity-meta-2
need-arts optional need-arts optional
DESCRIPTION="Extra screensavers for Trinity" DESCRIPTION="Extra screensavers for Trinity"
KEYWORDS="~amd64 ~x86"
IUSE+=" opengl xscreensaver kclock" KEYWORDS="~amd64 ~x86"
IUSE+=" kclock opengl xscreensaver"
DEPEND+=" ~trinity-base/tdescreensaver-${PV} DEPEND+="
~trinity-base/krootbacking-${PV} ~trinity-base/krootbacking-${PV}
~trinity-base/tdescreensaver-${PV}
kclock? ( ~media-libs/libart_lgpl-${PV} ) kclock? ( ~media-libs/libart_lgpl-${PV} )
opengl? ( virtual/opengl ) opengl? ( virtual/opengl )
xscreensaver? ( x11-misc/xscreensaver )" xscreensaver? ( x11-misc/xscreensaver )"
@ -24,7 +25,7 @@ RDEPEND+=" ${DEPEND}"
TSM_EXTRACT_ALSO="FindXscreensaver.cmake" TSM_EXTRACT_ALSO="FindXscreensaver.cmake"
src_configure() { src_configure() {
mycmakeargs=( local mycmakeargs=(
-DWITH_LIBART="$(usex kclock)" -DWITH_LIBART="$(usex kclock)"
-DWITH_OPENGL="$(usex opengl)" -DWITH_OPENGL="$(usex opengl)"
-DWITH_XSCREENSAVER="$(usex xscreensaver)" -DWITH_XSCREENSAVER="$(usex xscreensaver)"

@ -11,10 +11,11 @@ need-arts optional
DESCRIPTION="Extra screensavers for Trinity" DESCRIPTION="Extra screensavers for Trinity"
IUSE+=" opengl xscreensaver kclock" IUSE+=" kclock opengl xscreensaver"
DEPEND+=" ~trinity-base/tdescreensaver-${PV} DEPEND+="
~trinity-base/krootbacking-${PV} ~trinity-base/krootbacking-${PV}
~trinity-base/tdescreensaver-${PV}
kclock? ( ~media-libs/libart_lgpl-${PV} ) kclock? ( ~media-libs/libart_lgpl-${PV} )
opengl? ( virtual/opengl ) opengl? ( virtual/opengl )
xscreensaver? ( x11-misc/xscreensaver )" xscreensaver? ( x11-misc/xscreensaver )"
@ -23,7 +24,7 @@ RDEPEND+=" ${DEPEND}"
TSM_EXTRACT_ALSO="FindXscreensaver.cmake" TSM_EXTRACT_ALSO="FindXscreensaver.cmake"
src_configure() { src_configure() {
mycmakeargs=( local mycmakeargs=(
-DWITH_LIBART="$(usex kclock)" -DWITH_LIBART="$(usex kclock)"
-DWITH_OPENGL="$(usex opengl)" -DWITH_OPENGL="$(usex opengl)"
-DWITH_XSCREENSAVER="$(usex xscreensaver)" -DWITH_XSCREENSAVER="$(usex xscreensaver)"

Loading…
Cancel
Save