summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-12-01 11:31:37 +0000
committerAlex Alexander <wired@gentoo.org>2009-12-01 11:31:37 +0000
commit40c642d440c515bf229202f175e4010c2bc6b71f (patch)
treee1269b658fdc5fdc48afa4d134050cb21ec9beef /kde-base/pykde4
parentVersion bump KDE 4.3.4 (diff)
downloadgentoo-2-40c642d440c515bf229202f175e4010c2bc6b71f.tar.gz
gentoo-2-40c642d440c515bf229202f175e4010c2bc6b71f.tar.bz2
gentoo-2-40c642d440c515bf229202f175e4010c2bc6b71f.zip
Version bump KDE 4.3.4
(Portage version: 2.2_rc54/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/pykde4')
-rw-r--r--kde-base/pykde4/ChangeLog7
-rw-r--r--kde-base/pykde4/pykde4-4.3.4.ebuild81
2 files changed, 87 insertions, 1 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog
index 5b3c8517b840..d0509d106ee3 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.39 2009/11/30 06:54:38 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.40 2009/12/01 11:31:37 wired Exp $
+
+*pykde4-4.3.4 (01 Dec 2009)
+
+ 01 Dec 2009; Alex Alexander <wired@gentoo.org> +pykde4-4.3.4.ebuild:
+ Version bump
30 Nov 2009; Joseph Jezak <josejx@gentoo.org> pykde4-4.3.3.ebuild:
Marked ppc/ppc64 stable for bug #292455.
diff --git a/kde-base/pykde4/pykde4-4.3.4.ebuild b/kde-base/pykde4/pykde4-4.3.4.ebuild
new file mode 100644
index 000000000000..c2c99fbaa3ae
--- /dev/null
+++ b/kde-base/pykde4/pykde4-4.3.4.ebuild
@@ -0,0 +1,81 @@
+# 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.3.4.ebuild,v 1.1 2009/12/01 11:31:37 wired Exp $
+
+EAPI="2"
+
+KMNAME="kdebindings"
+KMMODULE="python/${PN}"
+OPENGL_REQUIRED="always"
+PYTHON_USE_WITH="threads"
+inherit python kde4-meta
+
+DESCRIPTION="Python bindings for KDE4"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="akonadi debug examples policykit semantic-desktop"
+
+COMMON_DEPEND="
+ >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X]
+ $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
+ akonadi? ( $(add_kdebase_dep kdepimlibs) )
+ policykit? ( >=sys-auth/policykit-qt-0.9.2 )
+"
+DEPEND="${COMMON_DEPEND}"
+# blocker added due to compatibility issues and error during compile time
+RDEPEND="${COMMON_DEPEND}
+ !dev-python/pykde
+"
+
+pkg_setup() {
+ python_pkg_setup
+ kde4-meta_pkg_setup
+}
+
+src_prepare() {
+ kde4-meta_src_prepare
+
+ if ! use examples; then
+ sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \
+ || die "Failed to disable examples"
+ fi
+}
+
+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)
+ $(cmake-utils_use_with akonadi KdepimLibs)
+ $(cmake-utils_use_with policykit PolkitQt)
+ "
+
+ kde4-meta_src_configure
+}
+
+src_install() {
+ kde4-meta_src_install
+
+ rm -f \
+ "${D}$(python_get_sitedir)"/PyKDE4/*.py[co] \
+ "${D}${PREFIX}"/share/apps/"${PN}"/*.py[co]
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+
+ python_mod_optimize "${ROOT}$(python_get_sitedir)"/PyKDE4
+
+ if use examples; then
+ echo
+ elog "PyKDE4 examples have been installed to"
+ elog "${PREFIX}/share/apps/${PN}/examples"
+ echo
+ fi
+}
+
+pkg_postrm() {
+ kde4-meta_pkg_postrm
+
+ python_mod_cleanup "${ROOT}$(python_get_sitedir)"/PyKDE4
+}