summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-11-23 21:25:53 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-11-23 22:33:37 +0100
commitb061eb2ab21b762371c93aeeaf1b565a00c73245 (patch)
tree5f4795cf4d70d04c1a79623e1534461138af2373 /media-plugins/audacious-plugins
parentsys-apps/sysvinit: Bump to version 2.92. Removed old. (diff)
downloadgentoo-b061eb2ab21b762371c93aeeaf1b565a00c73245.tar.gz
gentoo-b061eb2ab21b762371c93aeeaf1b565a00c73245.tar.bz2
gentoo-b061eb2ab21b762371c93aeeaf1b565a00c73245.zip
media-plugins/audacious-plugins: Make USE gtk -> !qt5, alsa default
Simplifies REQUIRED_USE, makes repoman happier. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-plugins/audacious-plugins')
-rw-r--r--media-plugins/audacious-plugins/audacious-plugins-9999.ebuild21
-rw-r--r--media-plugins/audacious-plugins/metadata.xml1
2 files changed, 10 insertions, 12 deletions
diff --git a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
index d7585a68aa80..79742c34a4ab 100644
--- a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
+++ b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
@@ -5,9 +5,6 @@ EAPI=6
MY_P="${P/_/-}"
-DESCRIPTION="Lightweight and versatile audio player"
-HOMEPAGE="https://audacious-media-player.org/"
-
if [[ ${PV} == *9999 ]]; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/audacious-media-player/audacious-plugins.git"
@@ -15,17 +12,17 @@ else
SRC_URI="https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
fi
+DESCRIPTION="Lightweight and versatile audio player"
+HOMEPAGE="https://audacious-media-player.org/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="aac +adplug alsa ampache aosd bs2b cdda cue ffmpeg flac fluidsynth hotkeys http gme gtk jack lame libav libnotify
- libsamplerate lirc mms modplug mp3 nls opengl pulseaudio +qt5 qtmedia scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
+IUSE="aac +adplug +alsa ampache aosd bs2b cdda cue ffmpeg flac fluidsynth hotkeys http gme jack lame libav libnotify
+ libsamplerate lirc mms modplug mp3 nls opengl pulseaudio qt5 qtmedia scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
REQUIRED_USE="
- ^^ ( gtk qt5 )
- qt5? ( !aosd !hotkeys )
|| ( alsa jack pulseaudio qtmedia sdl )
- ampache? ( qt5 http )
- qtmedia? ( qt5 )"
+ ampache? ( qt5 http ) qtmedia? ( qt5 )
+ aosd? ( !qt5 ) hotkeys? ( !qt5 )"
# The following plugins REQUIRE a GUI build of audacious, because non-GUI
# builds do NOT install the libaudgui library & headers.
@@ -49,7 +46,7 @@ RDEPEND="
dev-libs/dbus-glib
dev-libs/glib
dev-libs/libxml2:2
- ~media-sound/audacious-${PV}[gtk?,qt5?]
+ ~media-sound/audacious-${PV}[qt5=]
aac? ( >=media-libs/faad2-2.7 )
alsa? ( >=media-libs/alsa-lib-1.0.16 )
ampache? ( =media-libs/ampache_browser-1* )
@@ -71,7 +68,7 @@ RDEPEND="
)
fluidsynth? ( media-sound/fluidsynth )
http? ( >=net-libs/neon-0.26.4 )
- gtk? ( x11-libs/gtk+:2 )
+ !qt5? ( x11-libs/gtk+:2 )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -137,7 +134,6 @@ src_configure() {
$(use_enable flac filewriter)
$(use_enable fluidsynth amidiplug)
$(use_enable gme console)
- $(use_enable gtk)
$(use_enable hotkeys hotkey)
$(use_enable http neon)
$(use_enable jack)
@@ -150,6 +146,7 @@ src_configure() {
$(use_enable mp3 mpg123)
$(use_enable nls)
$(use_enable pulseaudio pulse)
+ $(use_enable !qt5 gtk)
$(use_enable qt5 qt)
$(use_enable qtmedia qtaudio)
$(use_enable scrobbler scrobbler2)
diff --git a/media-plugins/audacious-plugins/metadata.xml b/media-plugins/audacious-plugins/metadata.xml
index 49372c8715da..bf0fc38a66a7 100644
--- a/media-plugins/audacious-plugins/metadata.xml
+++ b/media-plugins/audacious-plugins/metadata.xml
@@ -20,6 +20,7 @@
<flag name="gtk3">Link against version 3 of the GIMP Toolkit instead of version 2 (x11-libs/gtk+)</flag>
<flag name="hotkeys">Enable support for controlling via hotkeys</flag>
<flag name="http">Support HTTP streams through neon</flag>
+ <flag name="qt5">Build with Qt5 interface instead Gtk+</flag>
<flag name="qtmedia">Enable playback via <pkg>dev-qt/qtmultimedia</pkg></flag>
<flag name="scrobbler">Build with scrobbler/LastFM submission support</flag>
<flag name="sid">Build with SID (Commodore 64 Audio) support</flag>