summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/plasma-workspace/plasma-workspace-4.2.0.ebuild')
-rw-r--r--kde-base/plasma-workspace/plasma-workspace-4.2.0.ebuild90
1 files changed, 90 insertions, 0 deletions
diff --git a/kde-base/plasma-workspace/plasma-workspace-4.2.0.ebuild b/kde-base/plasma-workspace/plasma-workspace-4.2.0.ebuild
new file mode 100644
index 000000000000..1842d9778f14
--- /dev/null
+++ b/kde-base/plasma-workspace/plasma-workspace-4.2.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/plasma-workspace-4.2.0.ebuild,v 1.1 2009/01/27 18:20:51 alexxy Exp $
+
+EAPI="2"
+
+KMNAME="kdebase-workspace"
+KMMODULE="plasma"
+inherit python kde4-meta
+
+DESCRIPTION="Plasma: KDE desktop framework"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug google-gadgets htmlhandbook python xcomposite xinerama"
+
+COMMONDEPEND="
+ >=kde-base/kephal-${PV}:${SLOT}
+ >=kde-base/ksysguard-${PV}:${SLOT}
+ >=kde-base/libkworkspace-${PV}:${SLOT}
+ >=kde-base/libplasmaclock-${PV}:${SLOT}
+ >=kde-base/libtaskmanager-${PV}:${SLOT}
+ >=kde-base/soliduiserver-${PV}:${SLOT}
+ x11-libs/libXau
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ x11-libs/libXtst
+ google-gadgets? ( >=x11-misc/google-gadgets-0.10.5[qt4] )
+ python? (
+ >=dev-python/PyQt4-4.4.0
+ >=dev-python/sip-4.7.1
+ kde-base/pykde4:${SLOT}
+ )
+ xcomposite? ( x11-libs/libXcomposite )
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${COMMONDEPEND}
+ xcomposite? ( x11-proto/compositeproto )
+ xinerama? ( x11-proto/xineramaproto )
+"
+RDEPEND="${COMMONDEPEND}
+ !kde-base/plasma:${SLOT}
+ >=kde-base/kde-menu-icons-${PV}:${SLOT}
+"
+
+KMEXTRA="
+ libs/nepomukquery/
+ libs/nepomukqueryclient/
+"
+KMEXTRACTONLY="
+ krunner/dbus/org.freedesktop.ScreenSaver.xml
+ krunner/dbus/org.kde.krunner.App.xml
+ ksmserver/org.kde.KSMServerInterface.xml
+ libs/kworkspace/
+ libs/taskmanager/
+ ksysguard/
+"
+
+KMLOADLIBS="libkworkspace libplasmaclock libtaskmanager"
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with google-gadgets Googlegadgets)
+ $(cmake-utils_use_with python SIP)
+ $(cmake-utils_use_with python PyQt4)
+ $(cmake-utils_use_with python PyKDE4)
+ -DWITH_Xmms=OFF"
+
+ kde4-meta_src_configure
+}
+
+src_install() {
+ kde4-meta_src_install
+
+ python_version
+ rm -f "${D}/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4/*.py[co]
+ rm -f "${D}${PREFIX}"/share/apps/plasma_scriptengine_python/*.py[co]
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+
+ python_mod_optimize \
+ "/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4 \
+ "${PREFIX}"/share/apps/plasma_scriptengine_python
+}
+
+pkg_postrm() {
+ kde4-meta_pkg_postrm
+
+ python_mod_cleanup
+}