| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/audacious-plugins-3.2.3.ebuild,v 1.2 2012/06/10 18:44:25 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
MY_P="${P/_/-}"
|
| 8 |
S="${WORKDIR}/${MY_P}"
|
| 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"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux"
|
| 16 |
IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack
|
| 17 |
lame libnotify libsamplerate midi mms mp3 mtp nls oss pulseaudio scrobbler sdl sid sndfile vorbis wavpack"
|
| 18 |
|
| 19 |
RDEPEND="app-arch/unzip
|
| 20 |
>=dev-libs/dbus-glib-0.60
|
| 21 |
dev-libs/libxml2:2
|
| 22 |
media-libs/libmodplug
|
| 23 |
~media-sound/audacious-3.2.3
|
| 24 |
>=net-libs/neon-0.26.4
|
| 25 |
x11-libs/gtk+:2
|
| 26 |
aac? ( >=media-libs/faad2-2.7 )
|
| 27 |
adplug? ( >=dev-cpp/libbinio-1.4 )
|
| 28 |
alsa? ( >=media-libs/alsa-lib-1.0.16 )
|
| 29 |
bs2b? ( media-libs/libbs2b )
|
| 30 |
cdda? ( >=media-libs/libcddb-1.2.1
|
| 31 |
>=dev-libs/libcdio-0.79-r1 )
|
| 32 |
cue? ( media-libs/libcue )
|
| 33 |
ffmpeg? ( >=virtual/ffmpeg-0.7.3 )
|
| 34 |
flac? ( >=media-libs/libvorbis-1.0
|
| 35 |
>=media-libs/flac-1.2.1-r1 )
|
| 36 |
fluidsynth? ( media-sound/fluidsynth )
|
| 37 |
jack? ( >=media-libs/bio2jack-0.4
|
| 38 |
media-sound/jack-audio-connection-kit )
|
| 39 |
lame? ( media-sound/lame )
|
| 40 |
libnotify? ( x11-libs/libnotify )
|
| 41 |
libsamplerate? ( media-libs/libsamplerate )
|
| 42 |
mms? ( >=media-libs/libmms-0.3 )
|
| 43 |
mp3? ( >=media-sound/mpg123-1.12.1 )
|
| 44 |
mtp? ( media-libs/libmtp )
|
| 45 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
|
| 46 |
scrobbler? ( net-misc/curl )
|
| 47 |
sdl? ( media-libs/libsdl[audio] )
|
| 48 |
sid? ( >=media-libs/libsidplay-2.1.1-r2 )
|
| 49 |
sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
|
| 50 |
vorbis? ( >=media-libs/libvorbis-1.2.0
|
| 51 |
>=media-libs/libogg-1.1.3 )
|
| 52 |
wavpack? ( >=media-sound/wavpack-4.50.1-r1 )"
|
| 53 |
|
| 54 |
DEPEND="${RDEPEND}
|
| 55 |
nls? ( dev-util/intltool )
|
| 56 |
virtual/pkgconfig"
|
| 57 |
|
| 58 |
DOCS="AUTHORS"
|
| 59 |
|
| 60 |
mp3_warning() {
|
| 61 |
if ! use mp3 ; then
|
| 62 |
ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
|
| 63 |
fi
|
| 64 |
}
|
| 65 |
|
| 66 |
src_configure() {
|
| 67 |
mp3_warning
|
| 68 |
|
| 69 |
econf \
|
| 70 |
--enable-modplug \
|
| 71 |
--enable-neon \
|
| 72 |
--disable-gtk3 \
|
| 73 |
$(use_enable adplug) \
|
| 74 |
$(use_enable aac) \
|
| 75 |
$(use_enable alsa) \
|
| 76 |
$(use_enable alsa amidiplug-alsa) \
|
| 77 |
$(use_enable bs2b) \
|
| 78 |
$(use_enable cdda cdaudio) \
|
| 79 |
$(use_enable cue) \
|
| 80 |
$(use_enable ffmpeg ffaudio) \
|
| 81 |
$(use_enable flac flacng) \
|
| 82 |
$(use_enable fluidsynth amidiplug-flsyn) \
|
| 83 |
$(use_enable flac filewriter_flac) \
|
| 84 |
$(use_enable ipv6) \
|
| 85 |
$(use_enable jack) \
|
| 86 |
$(use_enable gnome gnomeshortcuts) \
|
| 87 |
$(use_enable lame filewriter_mp3) \
|
| 88 |
$(use_enable libnotify notify) \
|
| 89 |
$(use_enable libsamplerate resample) \
|
| 90 |
$(use_enable mms) \
|
| 91 |
$(use_enable mp3) \
|
| 92 |
$(use_enable midi amidiplug) \
|
| 93 |
$(use_enable mtp mtp_up) \
|
| 94 |
$(use_enable nls) \
|
| 95 |
$(use_enable oss) \
|
| 96 |
$(use_enable pulseaudio pulse) \
|
| 97 |
$(use_enable scrobbler) \
|
| 98 |
$(use_enable sdl sdlout) \
|
| 99 |
$(use_enable sid) \
|
| 100 |
$(use_enable sndfile) \
|
| 101 |
$(use_enable vorbis) \
|
| 102 |
$(use_enable wavpack)
|
| 103 |
}
|