aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-20 17:49:27 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-20 17:49:27 +0100
commit81f72948e69c8e3b91e682e1d0e1888e79b12194 (patch)
treeafe0f81ff8c03adfa50a2bbec68dc1ded487cdd6 /media-sound
parentkde-apps: Add 18.04 stable branch (diff)
downloadkde-81f72948e69c8e3b91e682e1d0e1888e79b12194.tar.gz
kde-81f72948e69c8e3b91e682e1d0e1888e79b12194.tar.bz2
kde-81f72948e69c8e3b91e682e1d0e1888e79b12194.zip
media-sound/amarok: Add USE=wikipedia
Upstream commit 7a63540fc23a4fead8ee6e2352ab9998ecca8cc2 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/amarok/amarok-9999.ebuild5
-rw-r--r--media-sound/amarok/metadata.xml1
2 files changed, 5 insertions, 1 deletions
diff --git a/media-sound/amarok/amarok-9999.ebuild b/media-sound/amarok/amarok-9999.ebuild
index 863557895f..87a1bba632 100644
--- a/media-sound/amarok/amarok-9999.ebuild
+++ b/media-sound/amarok/amarok-9999.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Advanced audio player based on KDE frameworks"
HOMEPAGE="https://amarok.kde.org/"
LICENSE="GPL-2"
-IUSE="+embedded ffmpeg ipod lastfm mtp ofa podcast +utils"
+IUSE="+embedded ffmpeg ipod lastfm mtp ofa podcast +utils wikipedia"
if [[ ${KDE_BUILD_TYPE} == live ]]; then
RESTRICT="test"
@@ -76,6 +76,7 @@ COMMONDEPEND="
lastfm? ( media-libs/liblastfm[qt5(+)] )
mtp? ( >=media-libs/libmtp-1.0.0 )
podcast? ( >=media-libs/libmygpo-qt-1.0.9[qt5(+)] )
+ wikipedia? ( $(add_qt_dep qtwebengine) )
"
DEPEND="${COMMONDEPEND}
virtual/pkgconfig
@@ -83,6 +84,7 @@ DEPEND="${COMMONDEPEND}
"
RDEPEND="${COMMONDEPEND}
!media-sound/amarok:4
+ $(add_qt_dep qtquickcontrols2)
"
PATCHES=(
@@ -102,6 +104,7 @@ src_configure() {
$(cmake-utils_use_find_package ofa LibOFA)
$(cmake-utils_use_find_package podcast Mygpo-qt5)
-DWITH_UTILITIES=$(usex utils)
+ $(cmake-utils_use_find_package wikipedia Qt5WebEngine)
)
use ipod && mycmakeargs+=( DWITH_GDKPixBuf=ON )
diff --git a/media-sound/amarok/metadata.xml b/media-sound/amarok/metadata.xml
index a06eebc6ca..8342725066 100644
--- a/media-sound/amarok/metadata.xml
+++ b/media-sound/amarok/metadata.xml
@@ -24,5 +24,6 @@
fingerprints (used by MusicBrainz)</flag>
<flag name="podcast">Enable gpodder.net podcast support via <pkg>media-libs/libmygpo-qt</pkg></flag>
<flag name="utils">Build tagging and collection scanner utilities</flag>
+ <flag name="wikipedia">Enable wikipedia widget using <pkg>dev-qt/qtwebengine</pkg></flag>
</use>
</pkgmetadata>