mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-plugins/audacious-plugins: Drop USE gtk3 from live ebuild
- git master has no concept of 'Gtk+3' - USE gtk3 was permanently broken by src_unpack phase anyway Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -12,18 +12,16 @@ if [[ ${PV} == *9999 ]]; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://github.com/audacious-media-player/audacious-plugins.git"
|
||||
else
|
||||
SRC_URI="
|
||||
!gtk3? ( https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2 )
|
||||
gtk3? ( https://distfiles.audacious-media-player.org/${MY_P}-gtk3.tar.bz2 )"
|
||||
SRC_URI="https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="aac +adplug alsa ampache aosd bs2b cdda cue ffmpeg flac fluidsynth hotkeys http gme gtk gtk3 jack lame libav
|
||||
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 pulseaudio qt5 scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
|
||||
REQUIRED_USE="
|
||||
^^ ( gtk gtk3 qt5 )
|
||||
^^ ( gtk qt5 )
|
||||
qt5? ( !aosd !hotkeys )
|
||||
|| ( alsa jack pulseaudio sdl )
|
||||
ampache? ( qt5 http )"
|
||||
@@ -50,7 +48,7 @@ RDEPEND="
|
||||
dev-libs/dbus-glib
|
||||
dev-libs/glib
|
||||
dev-libs/libxml2:2
|
||||
~media-sound/audacious-${PV}[gtk?,gtk3?,qt5?]
|
||||
~media-sound/audacious-${PV}[gtk?,qt5?]
|
||||
aac? ( >=media-libs/faad2-2.7 )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.16 )
|
||||
ampache? ( =media-libs/ampache_browser-1* )
|
||||
@@ -73,7 +71,6 @@ RDEPEND="
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
http? ( >=net-libs/neon-0.26.4 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
@@ -103,26 +100,16 @@ RDEPEND="
|
||||
>=media-libs/libogg-1.1.3
|
||||
>=media-libs/libvorbis-1.2.0
|
||||
)
|
||||
wavpack? ( >=media-sound/wavpack-4.50.1-r1 )"
|
||||
|
||||
wavpack? ( >=media-sound/wavpack-4.50.1-r1 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gdbus-codegen
|
||||
virtual/pkgconfig
|
||||
nls? ( dev-util/intltool )"
|
||||
nls? ( dev-util/intltool )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
if use gtk3; then
|
||||
mv "${MY_P}"{-gtk3,} || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
@@ -151,7 +138,7 @@ src_configure() {
|
||||
$(use_enable flac filewriter) \
|
||||
$(use_enable fluidsynth amidiplug) \
|
||||
$(use_enable gme console) \
|
||||
$(use_enable $(usex gtk gtk gtk3) gtk) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable hotkeys hotkey) \
|
||||
$(use_enable http neon) \
|
||||
$(use_enable jack) \
|
||||
|
||||
Reference in New Issue
Block a user