media-plugins/audacious-plugins: Merge USE aosd into !qt5
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 23 Nov 2018 20:31:29 +0000 (21:31 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 23 Nov 2018 21:33:38 +0000 (22:33 +0100)
No extra dependencies over x11-libs/gtk+, simplifies REQUIRED_USE.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-plugins/audacious-plugins/audacious-plugins-9999.ebuild

index f7a52770417de849bfdfa40b6294e4fcfeae4ce9..5386dd7a5990c86f840b2747ab4e3e49bf725afe 100644 (file)
@@ -17,12 +17,11 @@ HOMEPAGE="https://audacious-media-player.org/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="aac +adplug +alsa ampache aosd bs2b cdda cue ffmpeg flac fluidsynth http gme 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 bs2b cdda cue ffmpeg flac fluidsynth 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="
        || ( alsa jack pulseaudio qtmedia sdl )
-       ampache? ( qt5 http ) qtmedia? ( qt5 )
-       aosd? ( !qt5 )"
+       ampache? ( qt5 http ) qtmedia? ( qt5 )"
 
 # The following plugins REQUIRE a GUI build of audacious, because non-GUI
 # builds do NOT install the libaudgui library & headers.
@@ -50,10 +49,6 @@ RDEPEND="
        aac? ( >=media-libs/faad2-2.7 )
        alsa? ( >=media-libs/alsa-lib-1.0.16 )
        ampache? ( =media-libs/ampache_browser-1* )
-       aosd? (
-               x11-libs/libXcomposite
-               x11-libs/libXrender
-       )
        bs2b? ( media-libs/libbs2b )
        cdda? (
                dev-libs/libcdio:=
@@ -126,7 +121,6 @@ src_configure() {
                $(use_enable aac)
                $(use_enable alsa)
                $(use_enable ampache)
-               $(use_enable aosd)
                $(use_enable bs2b)
                $(use_enable cdda cdaudio)
                $(use_enable cue)
@@ -145,6 +139,7 @@ src_configure() {
                $(use_enable mp3 mpg123)
                $(use_enable nls)
                $(use_enable pulseaudio pulse)
+               $(use_enable !qt5 aosd)
                $(use_enable !qt5 gtk)
                $(use_enable !qt5 hotkey)
                $(use_enable qt5 qt)