summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-11-20 16:10:00 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-11-20 16:10:00 +0000
commit63ffef732dea83737fc47625399019c1145c607d (patch)
treed783cdfaad506efa761a5b4d5d62fa9a5bbbb285 /kde-base/kdeplasma-addons
parentVersion bump, remove old. (diff)
downloadgentoo-2-63ffef732dea83737fc47625399019c1145c607d.tar.gz
gentoo-2-63ffef732dea83737fc47625399019c1145c607d.tar.bz2
gentoo-2-63ffef732dea83737fc47625399019c1145c607d.zip
Build knowledgebase plasmoid only if we USE attica, bug 391019
(Portage version: 2.1.10.34/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdeplasma-addons')
-rw-r--r--kde-base/kdeplasma-addons/ChangeLog9
-rw-r--r--kde-base/kdeplasma-addons/files/kdeplasma-addons-4.7.3-knowledge.patch19
-rw-r--r--kde-base/kdeplasma-addons/kdeplasma-addons-4.7.3-r1.ebuild65
3 files changed, 92 insertions, 1 deletions
diff --git a/kde-base/kdeplasma-addons/ChangeLog b/kde-base/kdeplasma-addons/ChangeLog
index d1e1568d6630..762902a42ccd 100644
--- a/kde-base/kdeplasma-addons/ChangeLog
+++ b/kde-base/kdeplasma-addons/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for kde-base/kdeplasma-addons
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeplasma-addons/ChangeLog,v 1.107 2011/11/02 20:48:22 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeplasma-addons/ChangeLog,v 1.108 2011/11/20 16:09:59 dilfridge Exp $
+
+*kdeplasma-addons-4.7.3-r1 (20 Nov 2011)
+
+ 20 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ +kdeplasma-addons-4.7.3-r1.ebuild,
+ +files/kdeplasma-addons-4.7.3-knowledge.patch:
+ Build knowledgebase plasmoid only if we USE attica, bug 391019
*kdeplasma-addons-4.7.3 (02 Nov 2011)
diff --git a/kde-base/kdeplasma-addons/files/kdeplasma-addons-4.7.3-knowledge.patch b/kde-base/kdeplasma-addons/files/kdeplasma-addons-4.7.3-knowledge.patch
new file mode 100644
index 000000000000..3a7f89f852ee
--- /dev/null
+++ b/kde-base/kdeplasma-addons/files/kdeplasma-addons-4.7.3-knowledge.patch
@@ -0,0 +1,19 @@
+diff -ruN kdeplasma-addons-4.7.3.orig/applets/CMakeLists.txt kdeplasma-addons-4.7.3/applets/CMakeLists.txt
+--- kdeplasma-addons-4.7.3.orig/applets/CMakeLists.txt 2011-10-02 15:26:40.000000000 +0200
++++ kdeplasma-addons-4.7.3/applets/CMakeLists.txt 2011-11-20 18:05:27.833155727 +0100
+@@ -26,7 +26,6 @@
+ add_subdirectory(kolourpicker)
+ add_subdirectory(konqprofiles)
+ add_subdirectory(konsoleprofiles)
+-add_subdirectory(knowledgebase)
+ add_subdirectory(life)
+ add_subdirectory(luna)
+ add_subdirectory(magnifique)
+@@ -34,6 +33,7 @@
+ add_subdirectory(notes)
+ add_subdirectory(nowplaying)
+ if(LIBATTICA_FOUND)
++ add_subdirectory(knowledgebase)
+ add_subdirectory(community)
+ add_subdirectory(social-news)
+ endif(LIBATTICA_FOUND)
diff --git a/kde-base/kdeplasma-addons/kdeplasma-addons-4.7.3-r1.ebuild b/kde-base/kdeplasma-addons/kdeplasma-addons-4.7.3-r1.ebuild
new file mode 100644
index 000000000000..c6e7af590cd5
--- /dev/null
+++ b/kde-base/kdeplasma-addons/kdeplasma-addons-4.7.3-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2011 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.7.3-r1.ebuild,v 1.1 2011/11/20 16:09:59 dilfridge Exp $
+
+EAPI=4
+
+KDE_SCM="git"
+inherit kde4-base
+
+DESCRIPTION="Extra Plasma applets and engines."
+HOMEPAGE="http://www.kde.org/"
+LICENSE="GPL-2 LGPL-2"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="attica debug desktopglobe exif qalculate qwt scim semantic-desktop"
+
+# krunner is only needed to generate dbus interface for lancelot
+COMMON_DEPEND="
+ app-crypt/qca:2
+ app-crypt/qca-ossl:2
+ $(add_kdebase_dep kdelibs 'semantic-desktop=')
+ $(add_kdebase_dep krunner)
+ $(add_kdebase_dep plasma-workspace 'semantic-desktop=')
+ x11-misc/shared-mime-info
+ attica? ( dev-libs/libattica )
+ desktopglobe? ( $(add_kdebase_dep marble) )
+ exif? ( $(add_kdebase_dep libkexiv2) )
+ qalculate? ( sci-libs/libqalculate )
+ qwt? ( x11-libs/qwt:5 )
+ scim? ( app-i18n/scim )
+ semantic-desktop? (
+ $(add_kdebase_dep kdepimlibs 'semantic-desktop')
+ $(add_kdebase_dep plasma-workspace 'rss')
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-cpp/eigen:2
+"
+RDEPEND="${COMMON_DEPEND}
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.7.3-knowledge.patch"
+)
+
+src_prepare() {
+ use semantic-desktop || epatch "${FILESDIR}/${PN}-4.6.2-optional-akonadi.patch"
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DDBUS_INTERFACES_INSTALL_DIR="${EPREFIX}/usr/share/dbus-1/interfaces/"
+ $(cmake-utils_use_with attica LibAttica)
+ $(cmake-utils_use_with desktopglobe Marble)
+ $(cmake-utils_use_with exif Kexiv2)
+ $(cmake-utils_use_with qalculate)
+ $(cmake-utils_use_with qwt)
+ $(cmake-utils_use_with semantic-desktop KdepimLibs)
+ $(cmake-utils_use_with semantic-desktop Nepomuk)
+ $(cmake-utils_use_with scim)
+ )
+
+ kde4-base_src_configure
+}