public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/frameworkintegration/
Date: Thu,  5 Jan 2017 00:20:15 +0000 (UTC)	[thread overview]
Message-ID: <1483575004.47911b679dc1c69b0c5810d2a66169a32e657cb3.asturm@gentoo> (raw)

commit:     47911b679dc1c69b0c5810d2a66169a32e657cb3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  5 00:08:46 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 00:10:04 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=47911b67

kde-frameworks/frameworkintegration: Add USE=appstream

Package-Manager: portage-2.3.0

 .../frameworkintegration/frameworkintegration-9999.ebuild   | 13 ++++++++-----
 kde-frameworks/frameworkintegration/metadata.xml            |  3 +++
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/kde-frameworks/frameworkintegration/frameworkintegration-9999.ebuild b/kde-frameworks/frameworkintegration/frameworkintegration-9999.ebuild
index bfc66d2..bde5f3b 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 2fdbf33..e2bea7e 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>


             reply	other threads:[~2017-01-05  0:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-05  0:20 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-09 21:45 [gentoo-commits] proj/kde:master commit in: kde-frameworks/frameworkintegration/ Andreas Sturmlechner
2023-11-28 22:27 Andreas Sturmlechner
2022-06-10  7:52 Andreas Sturmlechner
2021-11-06 17:43 Andreas Sturmlechner
2020-02-26 12:57 Andreas Sturmlechner
2020-01-12  0:47 Andreas Sturmlechner
2019-10-28 23:56 Andreas Sturmlechner
2017-02-12  9:59 Michael Palimaka
2016-12-11  8:52 Johannes Huber
2016-11-27 11:30 Michael Palimaka
2016-05-11 18:56 Michael Palimaka
2016-05-11 18:23 Michael Palimaka
2016-01-31 16:22 Michael Palimaka
2015-12-10 17:55 Michael Palimaka
2015-12-06 11:37 Michael Palimaka
2015-02-17  7:32 Michael Palimaka
2014-05-06 17:31 Michael Palimaka
2014-04-18  7:27 Michael Palimaka
2014-03-19  2:55 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483575004.47911b679dc1c69b0c5810d2a66169a32e657cb3.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox