summaryrefslogtreecommitdiff
path: root/kde-frameworks
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-01-05 01:08:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-01-05 01:10:04 +0100
commit47911b679dc1c69b0c5810d2a66169a32e657cb3 (patch)
tree6f6e2712fa7936c27974702d50e2dbffa1601eb0 /kde-frameworks
parent9b5caef797b7451724d8d97517236491cb995d30 (diff)
downloadkde-47911b679dc1c69b0c5810d2a66169a32e657cb3.tar.gz
kde-47911b679dc1c69b0c5810d2a66169a32e657cb3.tar.bz2
kde-47911b679dc1c69b0c5810d2a66169a32e657cb3.zip
kde-frameworks/frameworkintegration: Add USE=appstream
Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/frameworkintegration/frameworkintegration-9999.ebuild13
-rw-r--r--kde-frameworks/frameworkintegration/metadata.xml3
2 files changed, 11 insertions, 5 deletions
diff --git a/kde-frameworks/frameworkintegration/frameworkintegration-9999.ebuild b/kde-frameworks/frameworkintegration/frameworkintegration-9999.ebuild
index bfc66d2b621..bde5f3bca64 100644
--- a/kde-frameworks/frameworkintegration/frameworkintegration-9999.ebuild
+++ b/kde-frameworks/frameworkintegration/frameworkintegration-9999.ebuild
@@ -10,17 +10,22 @@ inherit kde5
DESCRIPTION="Framework for integrating Qt applications with KDE Plasma workspaces"
LICENSE="LGPL-2+"
KEYWORDS=""
-IUSE="X"
+IUSE="appstream X"
RDEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep knewstuff)
$(add_frameworks_dep knotifications)
$(add_frameworks_dep kpackage)
$(add_frameworks_dep kwidgetsaddons)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
+ appstream? (
+ app-admin/packagekit-qt
+ dev-libs/appstream[qt5]
+ )
X? (
$(add_qt_dep qtx11extras)
x11-libs/libxcb
@@ -38,12 +43,10 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
+ $(cmake-utils_use_find_package appstream AppStreamQt)
+ $(cmake-utils_use_find_package appstream packagekitqt5)
$(cmake-utils_use_find_package X XCB)
- -DCMAKE_DISABLE_FIND_PACKAGE_AppStreamQt=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_packagekitqt5=ON
)
- # appstream requires app-admin/packagekit-qt and
- # not yet packaged AppStreamQt 0.10
kde5_src_configure
}
diff --git a/kde-frameworks/frameworkintegration/metadata.xml b/kde-frameworks/frameworkintegration/metadata.xml
index 2fdbf33d963..e2bea7e9a64 100644
--- a/kde-frameworks/frameworkintegration/metadata.xml
+++ b/kde-frameworks/frameworkintegration/metadata.xml
@@ -5,4 +5,7 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="appstream">Enable AppStream software metadata support</flag>
+ </use>
</pkgmetadata>