summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-04-11 23:53:40 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-04-11 23:53:40 +0000
commitbc49390a73183e3f05b621ebf6cb318fd1492597 (patch)
treef2894f4238d146ff7ac7a9f9907d39a2ddc990c1 /kde-base/kdeplasma-addons
parentAdd KDE 4.2.2 (diff)
downloadhistorical-bc49390a73183e3f05b621ebf6cb318fd1492597.tar.gz
historical-bc49390a73183e3f05b621ebf6cb318fd1492597.tar.bz2
historical-bc49390a73183e3f05b621ebf6cb318fd1492597.zip
Add KDE 4.2.2
Package-Manager: portage-2.2_rc29/cvs/Linux x86_64
Diffstat (limited to 'kde-base/kdeplasma-addons')
-rw-r--r--kde-base/kdeplasma-addons/ChangeLog8
-rw-r--r--kde-base/kdeplasma-addons/kdeplasma-addons-4.2.2.ebuild54
2 files changed, 61 insertions, 1 deletions
diff --git a/kde-base/kdeplasma-addons/ChangeLog b/kde-base/kdeplasma-addons/ChangeLog
index 692f16cff750..1f84f5c3bdfe 100644
--- a/kde-base/kdeplasma-addons/ChangeLog
+++ b/kde-base/kdeplasma-addons/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kdeplasma-addons
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeplasma-addons/ChangeLog,v 1.16 2009/04/11 20:00:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeplasma-addons/ChangeLog,v 1.17 2009/04/11 22:52:24 alexxy Exp $
+
+*kdeplasma-addons-4.2.2 (11 Apr 2009)
+
+ 11 Apr 2009; Alexey Shvetsov <alexxy@gentoo.org>
+ +kdeplasma-addons-4.2.2.ebuild:
+ Add KDE 4.2.2
11 Apr 2009; Raúl Porcel <armin76@gentoo.org>
kdeplasma-addons-4.2.1-r1.ebuild:
diff --git a/kde-base/kdeplasma-addons/kdeplasma-addons-4.2.2.ebuild b/kde-base/kdeplasma-addons/kdeplasma-addons-4.2.2.ebuild
new file mode 100644
index 000000000000..18b3d8bcd154
--- /dev/null
+++ b/kde-base/kdeplasma-addons/kdeplasma-addons-4.2.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeplasma-addons/kdeplasma-addons-4.2.2.ebuild,v 1.1 2009/04/11 22:52:24 alexxy Exp $
+
+EAPI="2"
+
+KMNAME="kdeplasma-addons"
+OPENGL_REQUIRED="optional"
+WEBKIT_REQUIRED="always"
+inherit kde4-base
+
+DESCRIPTION="Extra Plasma applets and engines."
+HOMEPAGE="http://www.kde.org/"
+LICENSE="GPL-2 LGPL-2"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="debug xinerama"
+
+DEPEND="
+ >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=]
+ >=kde-base/krunner-${PV}:${SLOT}[kdeprefix=]
+ >=kde-base/plasma-workspace-${PV}:${SLOT}[kdeprefix=]
+ opengl? ( >=kde-base/kdelibs-${PV}:${SLOT}[kdeprefix=,opengl] )
+ xinerama? ( x11-proto/xineramaproto )
+"
+RDEPEND="${DEPEND}
+ !kdeprefix? ( !kde-misc/lancelot-menu )
+ xinerama? ( x11-libs/libXinerama )
+"
+
+PATCHES=( "${FILESDIR}/lancelot-qt45.patch" )
+
+src_prepare() {
+ sed -i -e 's/${KDE4WORKSPACE_PLASMACLOCK_LIBRARY}/plasmaclock/g' \
+ -e 's/${KDE4WORKSPACE_WEATHERION_LIBRARY}/weather_ion/g' \
+ -e 's/${KDE4WORKSPACE_TASKMANAGER_LIBRARY}/taskmanager/g' \
+ applets/{binary-clock,fuzzy-clock,weather_station,lancelot/app/src}/CMakeLists.txt \
+ || die "Failed to patch CMake files"
+
+ sed -i -e 's/(KDE4_PLASMA_OPENGL_FOUND)/(KDE4_PLASMA_OPENGL_FOUND AND OPENGL_FOUND)/g' \
+ applets/CMakeLists.txt \
+ || die "Failed to make OpenGL applets optional"
+
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ -DDBUS_INTERFACES_INSTALL_DIR=${KDEDIR}/share/dbus-1/interfaces/
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with xinerama X11_Xinerama)"
+
+ kde4-base_src_configure
+}