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>
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 )"
"
DEPEND="
dev-qt/qtcore:5
- dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
)
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
src_configure() {
local mycmakeargs=(
-DWITH_CHROMAPRINT=$(usex acoustid)
+ -DWITH_DBUS=$(usex mpris)
-DWITH_FLAC=$(usex flac)
-DWITH_ID3LIB=$(usex mp3)
-DWITH_MP4V2=$(usex mp4)
<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>