aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-22 17:10:16 +0200
committerTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-22 17:10:16 +0200
commit3143e5ad1677a6e7a18b131b5036d31ee9b2c7ae (patch)
tree1322931fe42d20a84a7e9ca769118ba20385465d /kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-9999.ebuild
parentadd another location (diff)
downloadkde-3143e5ad1677a6e7a18b131b5036d31ee9b2c7ae.tar.gz
kde-3143e5ad1677a6e7a18b131b5036d31ee9b2c7ae.tar.bz2
kde-3143e5ad1677a6e7a18b131b5036d31ee9b2c7ae.zip
Initial commit of live branch, not removed anything yet. Needs a hell of cleanup.
Diffstat (limited to 'kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-9999.ebuild')
-rw-r--r--kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-9999.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-9999.ebuild b/kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-9999.ebuild
new file mode 100644
index 0000000000..c5ee8db48d
--- /dev/null
+++ b/kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+
+KMMODULE=kscreensaver
+KMNAME=kdeartwork
+OPENGL_REQUIRED="optional"
+inherit kde4svn-meta
+
+DESCRIPTION="Extra screensavers for kde"
+KEYWORDS=""
+IUSE="debug opengl xscreensaver"
+
+DEPEND="${DEPEND}
+ >=kde-base/kscreensaver-${PV}:${SLOT}
+ media-libs/libart_lgpl
+ opengl? ( virtual/opengl )
+ xscreensaver? ( x11-misc/xscreensaver )"
+RDEPEND="${DEPEND}"
+
+ESVN_PATCHES=("${FILESDIR}/${PN}-xscreensaver.patch")
+
+pkg_setup() {
+ if ! built_with_use kde-base/kscreensaver opengl ; then
+ eerror "In order to build "
+ eerror "you need kde-base/kscreensaver built with opengl USE flag "
+ die "no opengl in kde-base/kscreensaver"
+ fi
+}
+
+src_compile() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with xscreensaver Xscreensaver)"
+
+ kde4overlay-meta_src_compile
+}