1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Audacious Player - Your music, your way, no exceptions"
10 HOMEPAGE="http://audacious-media-player.org/"
11 SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2"
15 KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
16 IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack
17 lame libnotify libsamplerate lirc midi mms mp3 nls pulseaudio scrobbler sdl sid sndfile vorbis wavpack"
19 RDEPEND="app-arch/unzip
20 >=dev-libs/dbus-glib-0.60
23 ~media-sound/audacious-3.4.1
24 >=net-libs/neon-0.26.4
26 ( || ( >=dev-libs/glib-2.32.2 dev-util/gdbus-codegen ) )
27 aac? ( >=media-libs/faad2-2.7 )
28 adplug? ( >=dev-cpp/libbinio-1.4 )
29 alsa? ( >=media-libs/alsa-lib-1.0.16 )
30 bs2b? ( media-libs/libbs2b )
31 cdda? ( >=media-libs/libcddb-1.2.1
32 dev-libs/libcdio-paranoia )
33 cue? ( media-libs/libcue )
34 ffmpeg? ( >=virtual/ffmpeg-0.7.3 )
35 flac? ( >=media-libs/libvorbis-1.0
36 >=media-libs/flac-1.2.1-r1 )
37 fluidsynth? ( media-sound/fluidsynth )
38 jack? ( >=media-libs/bio2jack-0.4
39 media-sound/jack-audio-connection-kit )
40 lame? ( media-sound/lame )
41 libnotify? ( x11-libs/libnotify )
42 libsamplerate? ( media-libs/libsamplerate )
43 lirc? ( app-misc/lirc )
44 mms? ( >=media-libs/libmms-0.3 )
45 mp3? ( >=media-sound/mpg123-1.12.1 )
46 pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
47 scrobbler? ( net-misc/curl )
48 sdl? ( media-libs/libsdl[sound] )
49 sid? ( >=media-libs/libsidplayfp-1.0.0 )
50 sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
51 vorbis? ( >=media-libs/libvorbis-1.2.0
52 >=media-libs/libogg-1.1.3 )
53 wavpack? ( >=media-sound/wavpack-4.50.1-r1 )"
56 nls? ( dev-util/intltool )
63 ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
68 has_version "<dev-libs/glib-2.32" && \
69 cd "${S}"/src/mpris2 && \
70 gdbus-codegen --interface-prefix org.mpris. \
71 --c-namespace Mpris --generate-c-code object-core mpris2.xml && \
72 gdbus-codegen --interface-prefix org.mpris. \
74 --generate-c-code object-player mpris2-player.xml && \
85 $(use_enable adplug) \
88 $(use_enable alsa amidiplug-alsa) \
90 $(use_enable cdda cdaudio) \
92 $(use_enable ffmpeg ffaudio) \
93 $(use_enable flac flacng) \
94 $(use_enable fluidsynth amidiplug-flsyn) \
95 $(use_enable flac filewriter_flac) \
98 $(use_enable gnome gnomeshortcuts) \
99 $(use_enable lame filewriter_mp3) \
100 $(use_enable libnotify notify) \
101 $(use_enable libsamplerate resample) \
105 $(use_enable midi amidiplug) \
107 $(use_enable pulseaudio pulse) \
108 $(use_enable scrobbler) \
109 $(use_enable sdl sdlout) \
111 $(use_enable sndfile) \
112 $(use_enable vorbis) \
113 $(use_enable wavpack)