1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 if [[ ${PV} == *9999 ]]; then
9 inherit autotools git-r3
10 EGIT_REPO_URI="https://github.com/audacious-media-player/audacious-plugins.git"
12 SRC_URI="https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2"
15 DESCRIPTION="Lightweight and versatile audio player"
16 HOMEPAGE="https://audacious-media-player.org/"
20 IUSE="aac +alsa ampache bs2b cdda cue ffmpeg flac fluidsynth gme http jack lame
21 libnotify libsamplerate lirc mms modplug mp3 nls opengl pulseaudio qtmedia
22 scrobbler sdl sid sndfile soxr speedpitch streamtuner vorbis wavpack"
24 || ( alsa jack pulseaudio qtmedia sdl )
25 ampache? ( http ) streamtuner? ( http )"
27 # The following plugins REQUIRE a GUI build of audacious, because non-GUI
28 # builds do NOT install the libaudgui library & headers.
29 # Plugins without a configure option:
38 # Plugins with a configure option:
45 dev-util/gdbus-codegen
47 nls? ( dev-util/intltool )
57 ~media-sound/audacious-${PV}
58 aac? ( >=media-libs/faad2-2.7 )
59 alsa? ( >=media-libs/alsa-lib-1.0.16 )
60 ampache? ( =media-libs/ampache_browser-1* )
61 bs2b? ( media-libs/libbs2b )
64 dev-libs/libcdio-paranoia:=
65 >=media-libs/libcddb-1.2.1
67 cue? ( media-libs/libcue:= )
68 ffmpeg? ( >=media-video/ffmpeg-0.7.3 )
70 >=media-libs/flac-1.2.1-r1
71 >=media-libs/libvorbis-1.0
73 fluidsynth? ( media-sound/fluidsynth:= )
74 http? ( >=net-libs/neon-0.26.4 )
76 >=media-libs/bio2jack-0.4
79 lame? ( media-sound/lame )
80 libnotify? ( x11-libs/libnotify )
81 libsamplerate? ( media-libs/libsamplerate:= )
82 lirc? ( app-misc/lirc )
83 mms? ( >=media-libs/libmms-0.3 )
84 modplug? ( media-libs/libmodplug )
85 mp3? ( >=media-sound/mpg123-1.12.1 )
86 opengl? ( dev-qt/qtopengl:5 )
87 pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
88 qtmedia? ( dev-qt/qtmultimedia:5 )
89 scrobbler? ( net-misc/curl )
90 sdl? ( media-libs/libsdl2[sound] )
91 sid? ( >=media-libs/libsidplayfp-1.0.0 )
92 sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
93 soxr? ( media-libs/soxr )
94 speedpitch? ( media-libs/libsamplerate:= )
95 streamtuner? ( dev-qt/qtnetwork:5 )
97 >=media-libs/libogg-1.1.3
98 >=media-libs/libvorbis-1.2.0
100 wavpack? ( >=media-sound/wavpack-4.50.1-r1 )
104 S="${WORKDIR}/${MY_P}"
107 use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
113 sed -e "/SUBDIRS/s/ po//" -i Makefile || die # bug #512698
115 [[ ${PV} == *9999 ]] && eautoreconf
123 --disable-adplug # not packaged
125 --disable-openmpt # not packaged
131 $(use_enable ampache)
133 $(use_enable cdda cdaudio)
136 $(use_enable flac filewriter)
137 $(use_enable fluidsynth amidiplug)
138 $(use_enable gme console)
139 $(use_enable http neon)
141 $(use_enable lame filewriter_mp3)
142 $(use_enable libnotify notify)
143 $(use_enable libsamplerate resample)
146 $(use_enable modplug)
147 $(use_enable mp3 mpg123)
149 $(use_enable opengl qtglspectrum)
150 $(use_enable pulseaudio pulse)
151 $(use_enable qtmedia qtaudio)
152 $(use_enable scrobbler scrobbler2)
153 $(use_enable sdl sdlout)
155 $(use_enable sndfile)
157 $(use_enable speedpitch)
158 $(use_enable streamtuner)
160 $(use_enable wavpack)
161 $(use_with ffmpeg ffmpeg ffmpeg)
164 econf "${myeconfargs[@]}"