diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-03-04 22:53:31 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-03-04 22:53:31 +0000 |
commit | 2b29f459b474b4d9ea9c8e14ab04a093c2503a2f (patch) | |
tree | a8755ea1b43a91fd0c25fd20a124b664effc9f35 /kde-base/pykde4 | |
parent | Bump KDE 4.2.1 (diff) | |
download | gentoo-2-2b29f459b474b4d9ea9c8e14ab04a093c2503a2f.tar.gz gentoo-2-2b29f459b474b4d9ea9c8e14ab04a093c2503a2f.tar.bz2 gentoo-2-2b29f459b474b4d9ea9c8e14ab04a093c2503a2f.zip |
Bump KDE 4.2.1
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/pykde4')
-rw-r--r-- | kde-base/pykde4/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/pykde4/pykde4-4.2.1.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog index 4d2af5fc75bb..4adb108c8f25 100644 --- a/kde-base/pykde4/ChangeLog +++ b/kde-base/pykde4/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/pykde4 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.7 2009/02/28 10:40:10 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.8 2009/03/04 22:53:31 alexxy Exp $ + +*pykde4-4.2.1 (04 Mar 2009) + + 04 Mar 2009; Alexey Shvetsov <alexxy@gentoo.org> +pykde4-4.2.1.ebuild: + Bump KDE 4.2.1 28 Feb 2009; Markus Meier <maekke@gentoo.org> metadata.xml: semantic-desktop is a global USE-flag diff --git a/kde-base/pykde4/pykde4-4.2.1.ebuild b/kde-base/pykde4/pykde4-4.2.1.ebuild new file mode 100644 index 000000000000..dbb7bea23f88 --- /dev/null +++ b/kde-base/pykde4/pykde4-4.2.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.2.1.ebuild,v 1.1 2009/03/04 22:53:31 alexxy Exp $ + +EAPI="2" + +KMNAME="kdebindings" +KMMODULE="python/${PN}" +OPENGL_REQUIRED="always" +inherit python kde4-meta + +DESCRIPTION="Python bindings for KDE4" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="akonadi debug semantic-desktop" + +DEPEND=" + >=dev-python/PyQt4-4.4.4-r1[webkit] + >=kde-base/kdelibs-${PV}:${SLOT}[opengl] + akonadi? ( >=kde-base/kdepimlibs-${PV}:${SLOT} ) + semantic-desktop? ( + >=kde-base/kdelibs-${PV}:${SLOT}[semantic-desktop] + >=kde-base/nepomuk-${PV}:${SLOT} + ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e's/MACRO_OPTIONAL_FIND_PACKAGE(KdepimLibs)//'\ + python/${PN}/CMakeLists.txt\ + || die "Failed to patch cmake files." + + kde4-meta_src_prepare +} + +src_configure() { + mycmakeargs="${mycmakeargs} + -DWITH_QScintilla=OFF + $(cmake-utils_use_with semantic-desktop Soprano) + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with akonadi Akonadi) + $(cmake-utils_use_with akonadi KdepimLibs)" + + kde4-meta_src_configure +} + +src_install() { + kde4-meta_src_install + + python_version + rm -f "${D}/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4/*.py[co] + rm -f "${D}${PREFIX}/share/apps/${PN}"/*.py[co] +} + +pkg_postinst() { + kde4-meta_pkg_postinst + + python_mod_optimize \ + "/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4 \ + "${PREFIX}/share/apps/${PN}" +} + +pkg_postrm() { + kde4-meta_pkg_postrm + + python_mod_cleanup +} |