summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-04-11 22:48:26 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-04-11 22:48:26 +0000
commit544369053f2138aad79934bbfa07381cda9bec44 (patch)
tree06e90453a235d27112a2b5e4e2e36ef1b049b331 /kde-base/kdepim-kresources
parentAdd KDE 4.2.2 (diff)
downloadgentoo-2-544369053f2138aad79934bbfa07381cda9bec44.tar.gz
gentoo-2-544369053f2138aad79934bbfa07381cda9bec44.tar.bz2
gentoo-2-544369053f2138aad79934bbfa07381cda9bec44.zip
Add KDE 4.2.2
(Portage version: 2.2_rc29/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdepim-kresources')
-rw-r--r--kde-base/kdepim-kresources/ChangeLog8
-rw-r--r--kde-base/kdepim-kresources/kdepim-kresources-4.2.2.ebuild54
2 files changed, 61 insertions, 1 deletions
diff --git a/kde-base/kdepim-kresources/ChangeLog b/kde-base/kdepim-kresources/ChangeLog
index 700f8d18a175..77bc3fcd1d40 100644
--- a/kde-base/kdepim-kresources/ChangeLog
+++ b/kde-base/kdepim-kresources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kdepim-kresources
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-kresources/ChangeLog,v 1.112 2009/04/11 19:57:59 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-kresources/ChangeLog,v 1.113 2009/04/11 22:48:26 alexxy Exp $
+
+*kdepim-kresources-4.2.2 (11 Apr 2009)
+
+ 11 Apr 2009; Alexey Shvetsov <alexxy@gentoo.org>
+ +kdepim-kresources-4.2.2.ebuild:
+ Add KDE 4.2.2
11 Apr 2009; Raúl Porcel <armin76@gentoo.org>
kdepim-kresources-4.2.1.ebuild:
diff --git a/kde-base/kdepim-kresources/kdepim-kresources-4.2.2.ebuild b/kde-base/kdepim-kresources/kdepim-kresources-4.2.2.ebuild
new file mode 100644
index 000000000000..1ea936115bbc
--- /dev/null
+++ b/kde-base/kdepim-kresources/kdepim-kresources-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/kdepim-kresources/kdepim-kresources-4.2.2.ebuild,v 1.1 2009/04/11 22:48:26 alexxy Exp $
+
+EAPI="2"
+
+KMNAME="kdepim"
+KMMODULE="kresources"
+inherit kde4-meta
+
+DESCRIPTION="KDE PIM groupware plugin collection"
+IUSE="debug"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+
+DEPEND="
+ >=kde-base/akonadi-${PV}:${SLOT}[kdeprefix=]
+ >=kde-base/libkdepim-${PV}:${SLOT}[kdeprefix=]
+ >=kde-base/kaddressbook-${PV}:${SLOT}[kdeprefix=]
+"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY="
+ akonadi/kcal/
+ kaddressbook/common/
+ kmail/
+ knotes/
+ korganizer/version.h
+"
+
+KMLOADLIBS="libkdepim"
+
+src_prepare() {
+ local kconfig_compiler="${KDEDIR}/bin/kconfig_compiler"
+
+ pushd kaddressbook/common
+ # create the kabprefs_base.h file
+ ${kconfig_compiler} kaddressbook.kcfg kabprefs_base.kcfgc
+ popd
+
+ # if kdepim_export.h exists it tries to use kxml_compiler from the sources. this isn't desired
+ # as we don't compile kresources together with kode (kxml_compiler). we still need the header though.
+ sed -i -e 's/kdepim_export.h/&_DONOTFIND/' cmake/modules/FindKode.cmake || die "sed failed"
+
+ kde4-meta_src_prepare
+}
+
+src_install() {
+ kde4-meta_src_install
+
+ # Install headers needed by kdepim-wizards
+ insinto "${PREFIX}"/include/${PN}
+ doins "${WORKDIR}"/${PN}_build/${KMMODULE}/{groupwise,egroupware,slox}/*.h || \
+ die "Failed to install extra header files"
+}