summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-01-17 23:40:36 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-01-17 23:40:36 +0000
commite1204356b9a562dbe42ae1b7a23c5688b531ef1b (patch)
treed717c9ab3f9f2e6b8413e50954af2ff9ff3a49c8 /kde-base/kdeartwork/kdeartwork-4.0.0.ebuild
parentAdded KDE 4.0.0's kdeadmin-meta. (diff)
downloadhistorical-e1204356b9a562dbe42ae1b7a23c5688b531ef1b.tar.gz
historical-e1204356b9a562dbe42ae1b7a23c5688b531ef1b.tar.bz2
historical-e1204356b9a562dbe42ae1b7a23c5688b531ef1b.zip
Added KDE 4.0.0's kdeartwork.
Package-Manager: portage-2.1.4
Diffstat (limited to 'kde-base/kdeartwork/kdeartwork-4.0.0.ebuild')
-rw-r--r--kde-base/kdeartwork/kdeartwork-4.0.0.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/kde-base/kdeartwork/kdeartwork-4.0.0.ebuild b/kde-base/kdeartwork/kdeartwork-4.0.0.ebuild
new file mode 100644
index 000000000000..12e6c85c7a34
--- /dev/null
+++ b/kde-base/kdeartwork/kdeartwork-4.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork/kdeartwork-4.0.0.ebuild,v 1.1 2008/01/17 23:40:35 philantrop Exp $
+
+EAPI="1"
+
+inherit kde4-base
+
+DESCRIPTION="KDE artwork module"
+HOMEPAGE="http://www.kde.org/"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="debug htmlhandbook opengl xscreensaver"
+LICENSE="GPL-2 LGPL-2"
+
+RESTRICT="binchecks strip"
+
+DEPEND="${DEPEND}
+ || ( >=kde-base/kdebase-${PV}:${SLOT}
+ >=kde-base/kscreensaver-${PV}:${SLOT} )
+ media-libs/libart_lgpl
+ opengl? ( virtual/opengl )
+ xscreensaver? ( x11-misc/xscreensaver )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if use opengl; then
+ if has_version kde-base/kscreensaver:${SLOT}; then
+ KDE4_BUILT_WITH_USE_CHECK="
+ kde-base/kscreensaver:${SLOT} opengl"
+ else
+ KDE4_BUILT_WITH_USE_CHECK="
+ kde-base/kdebase:${SLOT} opengl"
+ fi
+ fi
+
+ kde4-base_pkg_setup
+}
+
+src_compile() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with xscreensaver Xscreensaver)"
+
+ kde4-base_src_compile
+}