diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2011-07-09 15:14:29 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2011-07-09 15:14:29 +0000 |
commit | 198ce394c73bbfe7e1f269f6e39a5a98cab823a2 (patch) | |
tree | 4491916cd89010371521f0c68a631a977483b823 /kde-base/plasma-workspace | |
parent | Bump to an up-to-date version, and add maintainer (diff) | |
download | gentoo-2-198ce394c73bbfe7e1f269f6e39a5a98cab823a2.tar.gz gentoo-2-198ce394c73bbfe7e1f269f6e39a5a98cab823a2.tar.bz2 gentoo-2-198ce394c73bbfe7e1f269f6e39a5a98cab823a2.zip |
[kde-base] Add KDE SC 4.6.5
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/plasma-workspace')
-rw-r--r-- | kde-base/plasma-workspace/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/plasma-workspace/plasma-workspace-4.6.5.ebuild | 144 |
2 files changed, 151 insertions, 1 deletions
diff --git a/kde-base/plasma-workspace/ChangeLog b/kde-base/plasma-workspace/ChangeLog index 3f5b381b6996..1830f3db55e4 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/ChangeLog,v 1.117 2011/07/06 20:05:19 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/plasma-workspace/ChangeLog,v 1.118 2011/07/09 15:14:20 alexxy Exp $ + +*plasma-workspace-4.6.5 (09 Jul 2011) + + 09 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> + +plasma-workspace-4.6.5.ebuild: + Version bump KDE SC 4.6.5 06 Jul 2011; Andreas K. Huettel <dilfridge@gentoo.org> -plasma-workspace-4.6.2-r1.ebuild, -plasma-workspace-4.6.2-r2.ebuild: diff --git a/kde-base/plasma-workspace/plasma-workspace-4.6.5.ebuild b/kde-base/plasma-workspace/plasma-workspace-4.6.5.ebuild new file mode 100644 index 000000000000..d632a62ee92a --- /dev/null +++ b/kde-base/plasma-workspace/plasma-workspace-4.6.5.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2011 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.6.5.ebuild,v 1.1 2011/07/09 15:14:20 alexxy Exp $ + +EAPI=3 + +KDE_HANDBOOK="optional" +KMNAME="kdebase-workspace" +KMMODULE="plasma" +PYTHON_DEPEND="python? 2" +inherit python kde4-meta + +DESCRIPTION="Plasma: KDE desktop framework" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug google-gadgets gps python qalculate +rss semantic-desktop xinerama" + +COMMONDEPEND=" + $(add_kdebase_dep kdelibs 'semantic-desktop=') + $(add_kdebase_dep kephal) + $(add_kdebase_dep ksysguard) + $(add_kdebase_dep libkworkspace) + $(add_kdebase_dep libplasmagenericshell) + $(add_kdebase_dep libtaskmanager) + $(add_kdebase_dep solid) + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + x11-libs/libXrender + google-gadgets? ( >=x11-misc/google-gadgets-0.11.0[qt4] ) + gps? ( >=sci-geosciences/gpsd-2.37 ) + python? ( + >=dev-python/PyQt4-4.4.0[X] + >=dev-python/sip-4.7.1 + $(add_kdebase_dep pykde4) + ) + qalculate? ( sci-libs/libqalculate ) + rss? ( + $(add_kdebase_dep kdepimlibs 'semantic-desktop=') + $(add_kdebase_dep libplasmaclock 'holidays') + ) + !rss? ( $(add_kdebase_dep libplasmaclock '-holidays') ) + xinerama? ( x11-libs/libXinerama ) +" +DEPEND="${COMMONDEPEND} + dev-libs/boost + x11-proto/compositeproto + x11-proto/damageproto + x11-proto/fixesproto + x11-proto/renderproto + xinerama? ( x11-proto/xineramaproto ) +" +RDEPEND="${COMMONDEPEND} + $(add_kdebase_dep activitymanager) + $(add_kdebase_dep plasma-runtime) +" + +KMEXTRA=" + statusnotifierwatcher/ +" +KMEXTRACTONLY=" + krunner/dbus/org.freedesktop.ScreenSaver.xml + krunner/dbus/org.kde.krunner.App.xml + ksmserver/org.kde.KSMServerInterface.xml + libs/kephal/ + libs/kworkspace/ + libs/taskmanager/ + libs/plasmagenericshell/ + libs/ksysguard/ + ksysguard/ +" + +KMLOADLIBS="libkworkspace libplasmaclock libplasmagenericshell libtaskmanager" + +PATCHES=( + "${FILESDIR}/${PN}-4.4.2-xinerama_cmake_automagic.patch" + "${FILESDIR}/${PN}-4.6.2-optional_akonadi-server.patch" + "${FILESDIR}/${PN}-4.6.3-gpsdapi.patch" +) + +pkg_setup() { + python_set_active_version 2 + kde4-meta_pkg_setup +} + +src_unpack() { + if use handbook; then + KMEXTRA+=" doc/plasma-desktop" + fi + + kde4-meta_src_unpack +} + +src_prepare() { + sed -i -e '1ifind_package(KdepimLibs)' plasma/CMakeLists.txt || die + + kde4-meta_src_prepare +} + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with google-gadgets Googlegadgets) + $(cmake-utils_use_with gps libgps) + $(cmake-utils_use_with python SIP) + $(cmake-utils_use_with python PyQt4) + $(cmake-utils_use_with python PyKDE4) + $(cmake-utils_use_with qalculate) + $(cmake-utils_use_with rss KdepimLibs) + $(cmake-utils_use_with semantic-desktop Akonadi) + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with semantic-desktop Soprano) + $(cmake-utils_use_with xinerama X11_Xinerama) + -DWITH_Xmms=OFF + ) + + kde4-meta_src_configure +} + +src_install() { + kde4-meta_src_install + + rm -f \ + "${ED}$(python_get_sitedir)"/PyKDE4/*.py[co] \ + "${ED}"/usr/share/apps/plasma_scriptengine_python/*.py[co] +} + +pkg_postinst() { + kde4-meta_pkg_postinst + + if use python; then + python_mod_optimize \ + PyKDE4 \ + /usr/share/apps/plasma_scriptengine_python + fi +} + +pkg_postrm() { + kde4-meta_pkg_postrm + + if [[ -d ${EPREFIX}/usr/share/apps/plasma_scriptengine_python ]]; then + python_mod_cleanup \ + PyKDE4 \ + /usr/share/apps/plasma_scriptengine_python + fi +} |