diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-11-04 11:13:18 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-11-04 11:13:59 +0100 |
commit | f0c1a279989eb84e4c9d43e8279aeddf0d0d3fdc (patch) | |
tree | 90f94e29a509267fcd56e718418782108e29a12d /media-sound | |
parent | media-sound/kid3: Remove 3.4.1 (diff) | |
download | gentoo-f0c1a279989eb84e4c9d43e8279aeddf0d0d3fdc.tar.gz gentoo-f0c1a279989eb84e4c9d43e8279aeddf0d0d3fdc.tar.bz2 gentoo-f0c1a279989eb84e4c9d43e8279aeddf0d0d3fdc.zip |
media-sound/kid3: Re-added kde USE flag.
Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/kid3/kid3-3.4.3.ebuild | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/media-sound/kid3/kid3-3.4.3.ebuild b/media-sound/kid3/kid3-3.4.3.ebuild index cb3505f93e06..1cabf44f58ce 100644 --- a/media-sound/kid3/kid3-3.4.3.ebuild +++ b/media-sound/kid3/kid3-3.4.3.ebuild @@ -14,11 +14,12 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="5" KEYWORDS="~amd64 ~x86" -IUSE="acoustid flac mp3 mp4 +taglib vorbis" +IUSE="acoustid flac kde mp3 mp4 +taglib vorbis" REQUIRED_USE="flac? ( vorbis )" DEPEND=" + $(add_qt_dep qtcore) $(add_qt_dep qtdbus) $(add_qt_dep qtdeclarative) $(add_qt_dep qtgui) @@ -35,6 +36,13 @@ DEPEND=" media-libs/flac[cxx] media-libs/libvorbis ) + kde? ( + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + ) mp3? ( media-libs/id3lib ) mp4? ( media-libs/libmp4v2:0 ) taglib? ( >=media-libs/taglib-1.9.1 ) @@ -63,17 +71,22 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DWITH_QT5=ON - -DWITH_QT4=OFF -DWITH_PHONON=OFF + -DWITH_QT4=OFF + -DWITH_QT5=ON -DWITH_CHROMAPRINT=$(usex acoustid) -DWITH_FLAC=$(usex flac) -DWITH_ID3LIB=$(usex mp3) -DWITH_MP4V2=$(usex mp4) -DWITH_TAGLIB=$(usex taglib) -DWITH_VORBIS=$(usex vorbis) - "-DWITH_APPS=Qt;CLI" ) + if use kde ; then + mycmakeargs+=( "-DWITH_APPS=KDE;CLI" ) + else + mycmakeargs+=( "-DWITH_APPS=Qt;CLI" ) + fi + kde5_src_configure } |