1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Lightweight and versatile audio player"
9 HOMEPAGE="https://audacious-media-player.org/"
11 if [[ ${PV} == *9999 ]]; then
12 inherit autotools git-r3
13 EGIT_REPO_URI="https://github.com/audacious-media-player/audacious-plugins.git"
15 SRC_URI="https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2"
16 KEYWORDS="~amd64 ~x86"
21 IUSE="aac +adplug alsa ampache aosd bs2b cdda cue ffmpeg flac fluidsynth http gme jack lame libav
22 libnotify libsamplerate lirc mms modplug mp3 nls pulseaudio scrobbler sdl sid sndfile soxr speedpitch vorbis wavpack"
24 || ( alsa jack pulseaudio sdl )
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:
54 ~media-sound/audacious-${PV}
55 aac? ( >=media-libs/faad2-2.7 )
56 alsa? ( >=media-libs/alsa-lib-1.0.16 )
57 ampache? ( =media-libs/ampache_browser-1* )
60 x11-libs/libXcomposite
62 bs2b? ( media-libs/libbs2b )
64 >=media-libs/libcddb-1.2.1
65 dev-libs/libcdio-paranoia
67 cue? ( media-libs/libcue )
68 ffmpeg? ( >=virtual/ffmpeg-0.7.3 )
70 >=media-libs/libvorbis-1.0
71 >=media-libs/flac-1.2.1-r1
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 libsamplerate? ( media-libs/libsamplerate:= )
81 lirc? ( app-misc/lirc )
82 mms? ( >=media-libs/libmms-0.3 )
83 modplug? ( media-libs/libmodplug )
84 mp3? ( >=media-sound/mpg123-1.12.1 )
85 pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
86 scrobbler? ( net-misc/curl )
87 sdl? ( media-libs/libsdl2[sound] )
88 sid? ( >=media-libs/libsidplayfp-1.0.0 )
89 sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
90 soxr? ( media-libs/soxr )
91 speedpitch? ( media-libs/libsamplerate:= )
93 >=media-libs/libvorbis-1.2.0
94 >=media-libs/libogg-1.1.3
96 wavpack? ( >=media-sound/wavpack-4.50.1-r1 )"
99 dev-util/gdbus-codegen
101 nls? ( dev-util/intltool )"
103 PATCHES=( "${FILESDIR}/${P}-fix-slow-search.patch" )
105 S="${WORKDIR}/${MY_P}"
109 ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
116 --enable-songchange \
117 --disable-coreaudio \
122 --disable-qtglspectrum \
126 $(use_enable ampache) \
129 $(use_enable cdda cdaudio) \
132 $(use_enable fluidsynth amidiplug) \
133 $(use_enable flac filewriter) \
134 $(use_enable gme console) \
135 $(use_enable http neon) \
137 $(use_enable lame filewriter_mp3) \
138 $(use_enable libsamplerate resample) \
141 $(use_enable modplug) \
142 $(use_enable mp3 mpg123) \
144 $(use_enable pulseaudio pulse) \
145 $(use_enable scrobbler scrobbler2) \
146 $(use_enable sdl sdlout) \
148 $(use_enable sndfile) \
150 $(use_enable speedpitch) \
151 $(use_enable vorbis) \
152 $(use_enable wavpack) \
153 $(use_with ffmpeg ffmpeg $(usex libav libav ffmpeg))