summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-07-16 21:37:51 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-07-16 23:04:09 +0200
commit85bb5c1d514a8bd5ae121d6fbb208283d2383fd9 (patch)
treed42fd94797dbf62199c384779f867536b2a135ee /media-sound/kid3
parentapp-editors/ghex: ebuild touchups, EAPI-7 bumps, restrict tests (diff)
downloadgentoo-85bb5c1d514a8bd5ae121d6fbb208283d2383fd9.tar.gz
gentoo-85bb5c1d514a8bd5ae121d6fbb208283d2383fd9.tar.bz2
gentoo-85bb5c1d514a8bd5ae121d6fbb208283d2383fd9.zip
media-sound/kid3: Add USE mpris
Thanks-to: Martin Cihlář <martin.cibule@seznam.cz> Closes: https://bugs.gentoo.org/687622 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/kid3')
-rw-r--r--media-sound/kid3/kid3-3.7.1.ebuild5
-rw-r--r--media-sound/kid3/metadata.xml4
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 e6b2937cb437..87343373f369 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 8db1b09337d8..17adb5fc18bd 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>