summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-10-02 08:06:22 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-10-02 08:06:22 +0000
commitc6948e3c54dd3f581228e9d72ee168a111eb7027 (patch)
treef014585888b670dd4138e7a3d815703f12e64bb3 /kde-base/kdepim-kresources
parentAdd kde-4.1.2 into the tree from the kde-testing overlay. (diff)
downloadgentoo-2-c6948e3c54dd3f581228e9d72ee168a111eb7027.tar.gz
gentoo-2-c6948e3c54dd3f581228e9d72ee168a111eb7027.tar.bz2
gentoo-2-c6948e3c54dd3f581228e9d72ee168a111eb7027.zip
Add kde-4.1.2 into the tree from the kde-testing overlay.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 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.1.2.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/kde-base/kdepim-kresources/ChangeLog b/kde-base/kdepim-kresources/ChangeLog
index f21dad817a5b..d810f31bd059 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-kresources/ChangeLog,v 1.96 2008/09/13 23:58:14 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-kresources/ChangeLog,v 1.97 2008/10/02 08:06:22 jmbsvicetto Exp $
+
+*kdepim-kresources-4.1.2 (02 Oct 2008)
+
+ 02 Oct 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +kdepim-kresources-4.1.2.ebuild:
+ Add kde-4.1.2 into the tree from the kde-testing overlay.
*kdepim-kresources-3.5.10 (13 Sep 2008)
diff --git a/kde-base/kdepim-kresources/kdepim-kresources-4.1.2.ebuild b/kde-base/kdepim-kresources/kdepim-kresources-4.1.2.ebuild
new file mode 100644
index 000000000000..4b37127ddc02
--- /dev/null
+++ b/kde-base/kdepim-kresources/kdepim-kresources-4.1.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 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.1.2.ebuild,v 1.1 2008/10/02 08:06:22 jmbsvicetto Exp $
+
+EAPI="2"
+
+KMNAME=kdepim
+KMMODULE=kresources
+inherit kde4-meta
+
+DESCRIPTION="KDE PIM groupware plugin collection"
+IUSE="debug"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="kde-base/akonadi:${SLOT}
+ kde-base/kaddressbook:${SLOT}
+ kde-base/knotes:${SLOT}
+ kde-base/libkdepim:${SLOT}"
+
+KMEXTRACTONLY="
+ akonadi/kcal/
+ kaddressbook/common/
+ kmail/
+ knotes/
+ korganizer/version.h
+ libkdepim/
+"
+KMLOADLIBS="libkdepim"
+
+src_unpack() {
+ local kconfig_compiler="${KDEDIR}/bin/kconfig_compiler"
+
+ kde4-meta_src_unpack
+
+ pushd "${WORKDIR}"/${P}/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/' "${WORKDIR}"/${P}/cmake/modules/FindKode.cmake || die "sed failed"
+}
+
+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"
+}