/[gentoo-x86]/media-plugins/audacious-plugins/audacious-plugins-3.2.1.ebuild
Gentoo

Contents of /media-plugins/audacious-plugins/audacious-plugins-3.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Feb 18 00:20:58 2012 UTC (2 years, 7 months ago) by jdhore
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha86/cvs/Linux i686)

1 # Copyright 1999-2012 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.ebuild,v 1.2 2012/02/02 09:12:49 jdhore Exp $
4
5 EAPI=4
6
7 inherit eutils flag-o-matic
8
9 MY_P="${P/_/-}"
10 S="${WORKDIR}/${MY_P}"
11 DESCRIPTION="Audacious Player - Your music, your way, no exceptions"
12 HOMEPAGE="http://audacious-media-player.org/"
13 SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux"
18 IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome +gtk gtk3 ipv6 jack
19 lame libnotify libsamplerate midi mms mp3 mtp nls oss pulseaudio scrobbler sid sndfile vorbis wavpack"
20
21 RDEPEND="app-arch/unzip
22 >=dev-libs/dbus-glib-0.60
23 dev-libs/libxml2:2
24 media-libs/libmodplug
25 >=media-sound/audacious-3.2.1
26 >=net-libs/neon-0.26.4
27 gtk? ( x11-libs/gtk+:2 )
28 gtk3? ( x11-libs/gtk+:3 )
29 aac? ( >=media-libs/faad2-2.7 )
30 adplug? ( >=dev-cpp/libbinio-1.4 )
31 alsa? ( >=media-libs/alsa-lib-1.0.16 )
32 bs2b? ( media-libs/libbs2b )
33 cdda? ( >=media-libs/libcddb-1.2.1
34 >=dev-libs/libcdio-0.79-r1 )
35 cue? ( media-libs/libcue )
36 ffmpeg? ( >=media-video/ffmpeg-0.7.3
37 !media-video/libav )
38 flac? ( >=media-libs/libvorbis-1.0
39 >=media-libs/flac-1.2.1-r1 )
40 fluidsynth? ( media-sound/fluidsynth )
41 jack? ( >=media-libs/bio2jack-0.4
42 media-sound/jack-audio-connection-kit )
43 lame? ( media-sound/lame )
44 libnotify? ( x11-libs/libnotify )
45 libsamplerate? ( media-libs/libsamplerate )
46 mms? ( >=media-libs/libmms-0.3 )
47 mp3? ( >=media-sound/mpg123-1.12.1 )
48 mtp? ( media-libs/libmtp )
49 pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
50 scrobbler? ( net-misc/curl )
51 sid? ( >=media-libs/libsidplay-2.1.1-r2 )
52 sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
53 vorbis? ( >=media-libs/libvorbis-1.2.0
54 >=media-libs/libogg-1.1.3 )
55 wavpack? ( >=media-sound/wavpack-4.50.1-r1 )"
56
57 DEPEND="${RDEPEND}
58 nls? ( dev-util/intltool )
59 >=dev-util/pkgconfig-0.9.0"
60
61 REQUIRED_USE="^^ ( gtk gtk3 )"
62
63 mp3_warning() {
64 if ! use mp3 ; then
65 ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
66 fi
67 }
68
69 src_configure() {
70 mp3_warning
71
72 econf \
73 --enable-modplug \
74 --enable-neon \
75 $(use_enable adplug) \
76 $(use_enable aac) \
77 $(use_enable alsa) \
78 $(use_enable alsa amidiplug-alsa) \
79 $(use_enable bs2b) \
80 $(use_enable cdda cdaudio) \
81 $(use_enable cue) \
82 $(use_enable ffmpeg ffaudio) \
83 $(use_enable flac flacng) \
84 $(use_enable fluidsynth amidiplug-flsyn) \
85 $(use_enable flac filewriter_flac) \
86 $(use_enable gtk3) \
87 $(use_enable ipv6) \
88 $(use_enable jack) \
89 $(use_enable gnome gnomeshortcuts) \
90 $(use_enable lame filewriter_mp3) \
91 $(use_enable libnotify notify) \
92 $(use_enable libsamplerate resample) \
93 $(use_enable mms) \
94 $(use_enable mp3) \
95 $(use_enable midi amidiplug) \
96 $(use_enable mtp mtp_up) \
97 $(use_enable nls) \
98 $(use_enable oss) \
99 $(use_enable pulseaudio pulse) \
100 $(use_enable scrobbler) \
101 $(use_enable sid) \
102 $(use_enable sndfile) \
103 $(use_enable vorbis) \
104 $(use_enable vorbis filewriter_vorbis) \
105 $(use_enable wavpack)
106 }
107
108 src_compile() {
109 emake || die "make failed"
110 }
111
112 src_install() {
113 emake DESTDIR="${D}" install || die
114 dodoc AUTHORS
115 }

  ViewVC Help
Powered by ViewVC 1.1.20