Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/audacious-plugins/
Date: Mon, 19 Nov 2018 22:53:57
Message-Id: 1542667675.5393df9c49f78a8eda66c6a81482f4c18db2b527.asturm@gentoo
1 commit: 5393df9c49f78a8eda66c6a81482f4c18db2b527
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 19 22:41:22 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 19 22:47:55 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5393df9c
7
8 media-plugins/audacious-plugins: Add USE opengl
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild | 7 ++++---
14 media-plugins/audacious-plugins/audacious-plugins-9999.ebuild | 6 ++++--
15 2 files changed, 8 insertions(+), 5 deletions(-)
16
17 diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild
18 index 01c53d0961d..541b297db2f 100644
19 --- a/media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild
20 +++ b/media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild
21 @@ -18,8 +18,8 @@ fi
22
23 LICENSE="GPL-2"
24 SLOT="0"
25 -IUSE="aac +adplug alsa ampache bs2b cdda cue ffmpeg flac fluidsynth http gme jack lame libav libnotify
26 - libsamplerate lirc mms modplug mp3 nls pulseaudio qtmedia scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
27 +IUSE="aac +adplug alsa ampache bs2b cdda cue ffmpeg flac fluidsynth http gme jack lame libav libnotify libsamplerate
28 + lirc mms modplug mp3 nls opengl pulseaudio qtmedia scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
29 REQUIRED_USE="
30 || ( alsa jack pulseaudio qtmedia sdl )
31 ampache? ( http )"
32 @@ -79,6 +79,7 @@ RDEPEND="
33 mms? ( >=media-libs/libmms-0.3 )
34 modplug? ( media-libs/libmodplug )
35 mp3? ( >=media-sound/mpg123-1.12.1 )
36 + opengl? ( dev-qt/qtopengl:5 )
37 pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
38 qtmedia? ( dev-qt/qtmultimedia:5 )
39 scrobbler? ( net-misc/curl )
40 @@ -115,7 +116,6 @@ src_configure() {
41 --disable-hotkey
42 --disable-notify
43 --disable-oss4
44 - --disable-qtglspectrum
45 --disable-sndio
46 $(use_enable aac)
47 $(use_enable alsa)
48 @@ -137,6 +137,7 @@ src_configure() {
49 $(use_enable modplug)
50 $(use_enable mp3 mpg123)
51 $(use_enable nls)
52 + $(use_enable opengl qtglspectrum)
53 $(use_enable pulseaudio pulse)
54 $(use_enable qtmedia qtaudio)
55 $(use_enable scrobbler scrobbler2)
56
57 diff --git a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
58 index bcc581ce8a0..d7585a68aa8 100644
59 --- a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
60 +++ b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
61 @@ -19,7 +19,7 @@ fi
62 LICENSE="GPL-2"
63 SLOT="0"
64 IUSE="aac +adplug alsa ampache aosd bs2b cdda cue ffmpeg flac fluidsynth hotkeys http gme gtk jack lame libav libnotify
65 - libsamplerate lirc mms modplug mp3 nls pulseaudio +qt5 qtmedia scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
66 + libsamplerate lirc mms modplug mp3 nls opengl pulseaudio +qt5 qtmedia scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
67 REQUIRED_USE="
68 ^^ ( gtk qt5 )
69 qt5? ( !aosd !hotkeys )
70 @@ -77,6 +77,7 @@ RDEPEND="
71 dev-qt/qtgui:5
72 dev-qt/qtwidgets:5
73 media-libs/adplug
74 + opengl? ( dev-qt/qtopengl:5 )
75 )
76 jack? (
77 >=media-libs/bio2jack-0.4
78 @@ -123,7 +124,6 @@ src_configure() {
79 --enable-mpris2
80 --enable-songchange
81 --disable-oss4
82 - --disable-qtglspectrum
83 --disable-coreaudio
84 --disable-sndio
85 $(use_enable aac)
86 @@ -162,5 +162,7 @@ src_configure() {
87 $(use_enable wavpack)
88 $(use_with ffmpeg ffmpeg $(usex libav libav ffmpeg))
89 )
90 + use qt5 && myeconfargs+=( $(usex opengl --enable-qtglspectrum --disable-qtglspectrum) )
91 +
92 econf "${myeconfargs[@]}"
93 }