commit:     a7b07723cbb9c2d2696ca876f8140d3f4bdaa8ee
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sun May  4 16:19:00 2014 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun May  4 22:48:49 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=a7b07723

[kde-base/pykde4] Introduce nepomuk and akonadi USE flags, bug #508350

Package-Manager: portage-2.2.10

---
 kde-base/pykde4/metadata.xml               |  6 +++++-
 kde-base/pykde4/pykde4-4.13.49.9999.ebuild | 18 ++++++++----------
 kde-base/pykde4/pykde4-4.9999.ebuild       | 18 ++++++++----------
 3 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/kde-base/pykde4/metadata.xml b/kde-base/pykde4/metadata.xml
index 8d1e86a..7ceb431 100644
--- a/kde-base/pykde4/metadata.xml
+++ b/kde-base/pykde4/metadata.xml
@@ -1,5 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<herd>kde</herd>
+       <herd>kde</herd>
+       <use>
+               <flag name="akonadi">Compile bindings for Akonadi</flag>
+               <flag name="nepomuk">Compile bindings for Nepomuk</flag>
+       </use>
 </pkgmetadata>

diff --git a/kde-base/pykde4/pykde4-4.13.49.9999.ebuild 
b/kde-base/pykde4/pykde4-4.13.49.9999.ebuild
index 1660dbc..2d16b46 100644
--- a/kde-base/pykde4/pykde4-4.13.49.9999.ebuild
+++ b/kde-base/pykde4/pykde4-4.13.49.9999.ebuild
@@ -11,20 +11,18 @@ inherit python-r1 portability kde4-base multilib eutils
 
 DESCRIPTION="Python bindings for KDE4"
 KEYWORDS=""
-IUSE="debug doc examples semantic-desktop test"
+IUSE="akonadi debug doc examples nepomuk test"
 HOMEPAGE="http://techbase.kde.org/Development/Languages/Python";
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( semantic-desktop )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( nepomuk )"
 
 RDEPEND="
        ${PYTHON_DEPS}
        
>=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,X]
        >=dev-python/sip-4.14:=[${PYTHON_USEDEP}]
-       $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
-       semantic-desktop? (
-               $(add_kdebase_dep kdepimlibs)
-               >=dev-libs/soprano-2.9.0
-       )
+       $(add_kdebase_dep kdelibs 'nepomuk?,opengl')
+       akonadi? ( $(add_kdebase_dep kdepimlibs) )
+       nepomuk? ( >=dev-libs/soprano-2.9.0 )
 "
 DEPEND="${RDEPEND}
        dev-lang/python-exec:0[${PYTHON_USEDEP}]
@@ -76,9 +74,9 @@ src_configure() {
                local mycmakeargs=(
                        -DWITH_PolkitQt=OFF
                        -DWITH_QScintilla=OFF
-                       $(cmake-utils_use_with semantic-desktop Soprano)
-                       $(cmake-utils_use_with semantic-desktop Nepomuk)
-                       $(cmake-utils_use_with semantic-desktop KdepimLibs)
+                       $(cmake-utils_use_with akonadi KdepimLibs)
+                       $(cmake-utils_use_with nepomuk)
+                       $(cmake-utils_use_with nepomuk Soprano)
                        -DPYTHON_EXECUTABLE=${PYTHON}
                        -DPYKDEUIC4_ALTINSTALL=TRUE
                )

diff --git a/kde-base/pykde4/pykde4-4.9999.ebuild 
b/kde-base/pykde4/pykde4-4.9999.ebuild
index 1660dbc..2d16b46 100644
--- a/kde-base/pykde4/pykde4-4.9999.ebuild
+++ b/kde-base/pykde4/pykde4-4.9999.ebuild
@@ -11,20 +11,18 @@ inherit python-r1 portability kde4-base multilib eutils
 
 DESCRIPTION="Python bindings for KDE4"
 KEYWORDS=""
-IUSE="debug doc examples semantic-desktop test"
+IUSE="akonadi debug doc examples nepomuk test"
 HOMEPAGE="http://techbase.kde.org/Development/Languages/Python";
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( semantic-desktop )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( nepomuk )"
 
 RDEPEND="
        ${PYTHON_DEPS}
        
>=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,X]
        >=dev-python/sip-4.14:=[${PYTHON_USEDEP}]
-       $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
-       semantic-desktop? (
-               $(add_kdebase_dep kdepimlibs)
-               >=dev-libs/soprano-2.9.0
-       )
+       $(add_kdebase_dep kdelibs 'nepomuk?,opengl')
+       akonadi? ( $(add_kdebase_dep kdepimlibs) )
+       nepomuk? ( >=dev-libs/soprano-2.9.0 )
 "
 DEPEND="${RDEPEND}
        dev-lang/python-exec:0[${PYTHON_USEDEP}]
@@ -76,9 +74,9 @@ src_configure() {
                local mycmakeargs=(
                        -DWITH_PolkitQt=OFF
                        -DWITH_QScintilla=OFF
-                       $(cmake-utils_use_with semantic-desktop Soprano)
-                       $(cmake-utils_use_with semantic-desktop Nepomuk)
-                       $(cmake-utils_use_with semantic-desktop KdepimLibs)
+                       $(cmake-utils_use_with akonadi KdepimLibs)
+                       $(cmake-utils_use_with nepomuk)
+                       $(cmake-utils_use_with nepomuk Soprano)
                        -DPYTHON_EXECUTABLE=${PYTHON}
                        -DPYKDEUIC4_ALTINSTALL=TRUE
                )

Reply via email to