From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1099926-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id BA643138334
	for <garchives@archives.gentoo.org>; Tue, 16 Jul 2019 21:04:28 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DF656E07FA;
	Tue, 16 Jul 2019 21:04:27 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C3AA9E07FA
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2019 21:04:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 540A4347DC0
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2019 21:04:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5178A6D5
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jul 2019 21:04:24 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1563311049.85bb5c1d514a8bd5ae121d6fbb208283d2383fd9.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/kid3/kid3-3.7.1.ebuild media-sound/kid3/metadata.xml
X-VCS-Directories: media-sound/kid3/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 85bb5c1d514a8bd5ae121d6fbb208283d2383fd9
X-VCS-Branch: master
Date: Tue, 16 Jul 2019 21:04:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 770f827c-d764-41ce-b1e6-3b589f95bea1
X-Archives-Hash: 53c94be0109c1cdd13911f284e456eba

commit:     85bb5c1d514a8bd5ae121d6fbb208283d2383fd9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 19:37:51 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 21:04:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bb5c1d

media-sound/kid3: Add USE mpris

Thanks-to: Martin Cihlář <martin.cibule <AT> seznam.cz>
Closes: https://bugs.gentoo.org/687622
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/kid3/kid3-3.7.1.ebuild | 5 +++--
 media-sound/kid3/metadata.xml      | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/media-sound/kid3/kid3-3.7.1.ebuild b/media-sound/kid3/kid3-3.7.1.ebuild
index e6b2937cb43..87343373f36 100644
--- a/media-sound/kid3/kid3-3.7.1.ebuild
+++ b/media-sound/kid3/kid3-3.7.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-2+"
 SLOT="5"
 KEYWORDS="amd64 x86"
-IUSE="acoustid flac kde mp3 mp4 +taglib vorbis"
+IUSE="acoustid flac kde mp3 mp4 +mpris +taglib vorbis"
 
 REQUIRED_USE="flac? ( vorbis )"
 
@@ -21,7 +21,6 @@ BDEPEND="
 "
 DEPEND="
 	dev-qt/qtcore:5
-	dev-qt/qtdbus:5
 	dev-qt/qtdeclarative:5
 	dev-qt/qtgui:5
 	dev-qt/qtmultimedia:5
@@ -46,6 +45,7 @@ DEPEND="
 	)
 	mp3? ( media-libs/id3lib )
 	mp4? ( media-libs/libmp4v2:0 )
+	mpris? ( dev-qt/qtdbus:5 )
 	taglib? ( >=media-libs/taglib-1.9.1 )
 	vorbis? (
 		media-libs/libogg
@@ -66,6 +66,7 @@ src_prepare() {
 src_configure() {
 	local mycmakeargs=(
 		-DWITH_CHROMAPRINT=$(usex acoustid)
+		-DWITH_DBUS=$(usex mpris)
 		-DWITH_FLAC=$(usex flac)
 		-DWITH_ID3LIB=$(usex mp3)
 		-DWITH_MP4V2=$(usex mp4)

diff --git a/media-sound/kid3/metadata.xml b/media-sound/kid3/metadata.xml
index 8db1b09337d..17adb5fc18b 100644
--- a/media-sound/kid3/metadata.xml
+++ b/media-sound/kid3/metadata.xml
@@ -10,8 +10,8 @@
     <name>Gentoo Sound project</name>
   </maintainer>
   <use>
-    <flag name="acoustid">Enable support for acoustic fingerprinting plugin using
-      (<pkg>media-libs/chromaprint</pkg>)</flag>
+    <flag name="acoustid">Build acoustic fingerprinting plugin using <pkg>media-libs/chromaprint</pkg></flag>
+    <flag name="mpris">Enable support for MPRIS2 interface using <pkg>dev-qt/qtdbus</pkg></flag>
   </use>
   <upstream>
     <bugs-to>https://sourceforge.net/p/kid3/bugs/</bugs-to>