summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2010-09-05 22:19:55 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-09-05 22:19:55 +0000
commit34d11e9eb71c0d0d20b03decb7b45e974f41fdda (patch)
tree907b0e2cf6dbdc52944c5d6dea95a8ae93f769ba /kde-base
parentAutomated update of use.local.desc (diff)
downloadhistorical-34d11e9eb71c0d0d20b03decb7b45e974f41fdda.tar.gz
historical-34d11e9eb71c0d0d20b03decb7b45e974f41fdda.tar.bz2
historical-34d11e9eb71c0d0d20b03decb7b45e974f41fdda.zip
Version bump KDE SC 4.4.4
Package-Manager: portage-2.2_rc75/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/pykde4/ChangeLog8
-rw-r--r--kde-base/pykde4/pykde4-4.4.9999.ebuild83
2 files changed, 90 insertions, 1 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog
index db666afd281c..19f8bca2ab75 100644
--- a/kde-base/pykde4/ChangeLog
+++ b/kde-base/pykde4/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/pykde4
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.85 2010/08/10 13:35:09 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.86 2010/09/05 22:19:55 tampakrap Exp $
+
+*pykde4-4.4.9999 (05 Sep 2010)
+
+ 05 Sep 2010; Theo Chatzimichos <tampakrap@gentoo.org>
+ +pykde4-4.4.9999.ebuild:
+ Version bump
10 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org>
-files/pykde4-4.3.4-typedefs.sip.patch,
diff --git a/kde-base/pykde4/pykde4-4.4.9999.ebuild b/kde-base/pykde4/pykde4-4.4.9999.ebuild
new file mode 100644
index 000000000000..bf3140294c18
--- /dev/null
+++ b/kde-base/pykde4/pykde4-4.4.9999.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.4.9999.ebuild,v 1.1 2010/09/05 22:19:55 tampakrap Exp $
+
+EAPI="3"
+
+KMNAME="kdebindings"
+KMMODULE="python/pykde4"
+OPENGL_REQUIRED="always"
+PYTHON_USE_WITH="threads"
+RESTRICT_PYTHON_ABIS="2.4"
+inherit python kde4-meta
+
+DESCRIPTION="Python bindings for KDE4"
+KEYWORDS=""
+IUSE="debug doc examples semantic-desktop"
+
+# blocker added due to compatibility issues and error during compile time
+DEPEND="
+ !dev-python/pykde
+ $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
+ semantic-desktop? ( $(add_kdebase_dep kdepimlibs 'semantic-desktop') )
+ aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,aqua] )
+ !aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,X] )
+"
+RDEPEND="${DEPEND}"
+
+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
+
+ # See bug 322351
+ use arm && epatch "${FILESDIR}/${PN}-4.4.4-arm-sip.patch"
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_QScintilla=OFF
+ -DWITH_PolkitQt=OFF
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ $(cmake-utils_use_with semantic-desktop Nepomuk)
+ $(cmake-utils_use_with semantic-desktop KdepimLibs)
+ )
+
+ kde4-meta_src_configure
+}
+
+src_install() {
+ use doc && HTML_DOCS=("${S}/python/pykde4/docs/html/")
+
+ kde4-meta_src_install
+
+ python_convert_shebangs -q -r $(python_get_version) "${ED}"
+ python_clean_installation_image -q
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+
+ python_mod_optimize PyKDE4 PyQt4
+
+ if use examples; then
+ echo
+ elog "PyKDE4 examples have been installed to"
+ elog "${EKDEDIR}/share/apps/${PN}/examples"
+ echo
+ fi
+}
+
+pkg_postrm() {
+ kde4-meta_pkg_postrm
+
+ python_mod_cleanup PyKDE4 PyQt4
+}