diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-04-12 06:41:39 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-04-12 06:41:39 +0000 |
commit | cdb0844ac3fec12a27caf8e1b59030fb8223fe69 (patch) | |
tree | 2183633e1f0fbf1523d6347164563c354e738357 /kde-base | |
parent | Add KDE 4.2.2 (diff) | |
download | gentoo-2-cdb0844ac3fec12a27caf8e1b59030fb8223fe69.tar.gz gentoo-2-cdb0844ac3fec12a27caf8e1b59030fb8223fe69.tar.bz2 gentoo-2-cdb0844ac3fec12a27caf8e1b59030fb8223fe69.zip |
Add KDE 4.2.2
(Portage version: 2.2_rc29/cvs/Linux x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/plasma-workspace/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/plasma-workspace/plasma-workspace-4.2.2.ebuild | 116 |
2 files changed, 123 insertions, 1 deletions
diff --git a/kde-base/plasma-workspace/ChangeLog b/kde-base/plasma-workspace/ChangeLog index 66a13937099c..f1a0f22574ba 100644 --- a/kde-base/plasma-workspace/ChangeLog +++ b/kde-base/plasma-workspace/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/plasma-workspace # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/ChangeLog,v 1.16 2009/04/11 19:31:11 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/ChangeLog,v 1.17 2009/04/12 06:41:39 alexxy Exp $ + +*plasma-workspace-4.2.2 (11 Apr 2009) + + 11 Apr 2009; Alexey Shvetsov <alexxy@gentoo.org> + +plasma-workspace-4.2.2.ebuild: + Add KDE 4.2.2 11 Apr 2009; Raúl Porcel <armin76@gentoo.org> plasma-workspace-4.2.1-r1.ebuild: diff --git a/kde-base/plasma-workspace/plasma-workspace-4.2.2.ebuild b/kde-base/plasma-workspace/plasma-workspace-4.2.2.ebuild new file mode 100644 index 000000000000..c6a6c9937a03 --- /dev/null +++ b/kde-base/plasma-workspace/plasma-workspace-4.2.2.ebuild @@ -0,0 +1,116 @@ +# 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.2.ebuild,v 1.1 2009/04/12 06:41:39 alexxy Exp $ + +EAPI="2" + +KMNAME="kdebase-workspace" +KMMODULE="plasma" +inherit python kde4-meta + +DESCRIPTION="Plasma: KDE desktop framework" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="debug doc google-gadgets python rss xcomposite xinerama" + +COMMONDEPEND=" + >=kde-base/kephal-${PV}:${SLOT}[kdeprefix=] + >=kde-base/ksysguard-${PV}:${SLOT}[kdeprefix=] + >=kde-base/libkworkspace-${PV}:${SLOT}[kdeprefix=] + >=kde-base/libplasmaclock-${PV}:${SLOT}[kdeprefix=] + >=kde-base/libtaskmanager-${PV}:${SLOT}[kdeprefix=] + >=kde-base/solid-${PV}:${SLOT}[kdeprefix=] + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + x11-libs/libXrender + 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-${PV}:${SLOT}[kdeprefix=] + ) + rss? ( >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=] ) + xinerama? ( x11-libs/libXinerama ) +" +DEPEND="${COMMONDEPEND} + x11-proto/compositeproto + x11-proto/damageproto + x11-proto/fixesproto + x11-proto/renderproto + xinerama? ( x11-proto/xineramaproto ) +" +RDEPEND="${COMMONDEPEND} + >=kde-base/kioclient-${PV}:${SLOT}[kdeprefix=] + >=kde-base/kde-menu-icons-${PV}:${SLOT}[kdeprefix=] + >=kde-base/soliduiserver-${PV}:${SLOT}[kdeprefix=] +" + +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_prepare() { + kde4-meta_src_prepare + + if ! use xcomposite; then + # Add David Nolder (zwabel) experimental fake transparency patch + echo + ewarn "Enabling experimental fake transparency support." + ewarn "There are known issues with certain versions of Qt." + ewarn "Do not report any bugs." + echo + epatch "${FILESDIR}/${PN}-fake-panel-transparency.patch" + fi +} + +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) + $(cmake-utils_use_with rss KdepimLibs) + -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] \ + "${D}${KDEDIR}"/share/apps/plasma_scriptengine_python/*.py[co] +} + +pkg_postinst() { + kde4-meta_pkg_postinst + + if use python; then + python_mod_optimize \ + "/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4 \ + "${KDEDIR}"/share/apps/plasma_scriptengine_python + fi +} + +pkg_postrm() { + kde4-meta_pkg_postrm + + if [[ -d "${KDEDIR}"/share/apps/plasma_scriptengine_python ]]; then + python_mod_cleanup \ + "/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4 \ + "${KDEDIR}"/share/apps/plasma_scriptengine_python + fi +} |