From: Andreas Sturmlechner Date: Tue, 16 Jul 2019 19:37:51 +0000 (+0200) Subject: media-sound/kid3: Add USE mpris X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=85bb5c1d514a8bd5ae121d6fbb208283d2383fd9;p=gentoo.git media-sound/kid3: Add USE mpris Thanks-to: Martin Cihlář Closes: https://bugs.gentoo.org/687622 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner --- 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 @@ Gentoo Sound project - Enable support for acoustic fingerprinting plugin using - (media-libs/chromaprint) + Build acoustic fingerprinting plugin using media-libs/chromaprint + Enable support for MPRIS2 interface using dev-qt/qtdbus https://sourceforge.net/p/kid3/bugs/