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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Mar 9 14:58:01 2007 UTC (7 years, 6 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Spring cleaning.
(Portage version: 2.1.2.2)

1 # Copyright 1999-2006 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-1.2.1.ebuild,v 1.4 2006/10/23 14:55:11 blubb Exp $
4
5 inherit flag-o-matic
6
7 DESCRIPTION="Audacious Player - Your music, your way, no exceptions"
8 HOMEPAGE="http://audacious-media-player.org/"
9 SRC_URI="http://audacious-media-player.org/release/${P}.tgz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
14 IUSE="aac alsa arts esd flac jack lirc modplug mp3 musepack nls oss sid sndfile timidity vorbis wma pulseaudio"
15
16 RDEPEND="app-arch/unzip
17 dev-libs/libxml2
18 net-misc/curl
19 media-libs/musicbrainz
20 >=media-sound/audacious-1.2.0_rc1
21 >=x11-libs/gtk+-2.6
22 >=gnome-base/libglade-2.3.1
23 >=dev-cpp/libbinio-1.4
24 media-libs/taglib
25 alsa? ( >=media-libs/alsa-lib-1.0.9_rc2 )
26 arts? ( kde-base/arts )
27 esd? ( >=media-sound/esound-0.2.30 )
28 flac? ( >=media-libs/libvorbis-1.0
29 ~media-libs/flac-1.1.2 )
30 jack? ( >=media-libs/bio2jack-0.4
31 media-libs/libsamplerate
32 media-sound/jack-audio-connection-kit )
33 lirc? ( app-misc/lirc )
34 modplug? ( media-libs/libmodplug )
35 musepack? ( media-libs/libmpcdec )
36 sid? ( media-libs/libsidplay )
37 sndfile? ( media-libs/libsndfile )
38 timidity? ( media-sound/timidity++ )
39 vorbis? ( >=media-libs/libvorbis-1.0
40 >=media-libs/libogg-1.0 )
41 pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )"
42
43 DEPEND="${RDEPEND}
44 nls? ( dev-util/intltool )
45 >=dev-util/pkgconfig-0.9.0"
46
47 mp3_warning() {
48 if ! useq mp3 ; then
49 echo
50 ewarn "MP3 support is now optional, you may want to enable the mp3 USE-flag"
51 echo
52 fi
53 }
54
55 src_compile() {
56 mp3_warning
57
58 # Bug #42893
59 replace-flags "-Os" "-O2"
60 # Bug #86689
61 is-flag "-O*" || append-flags -O
62
63 econf \
64 --with-dev-dsp=/dev/sound/dsp \
65 --with-dev-mixer=/dev/sound/mixer \
66 $(use_enable vorbis) \
67 $(use_enable esd) \
68 $(use_enable mp3) \
69 $(use_enable nls) \
70 $(use_enable oss) \
71 $(use_enable alsa) \
72 $(use_enable arts) \
73 $(use_enable flac) \
74 $(use_enable aac) \
75 $(use_enable modplug) \
76 $(use_enable lirc) \
77 $(use_enable sndfile) \
78 $(use_enable wma) \
79 $(use_enable sid) \
80 $(use_enable musepack) \
81 $(use_enable jack) \
82 $(use_enable timidity) \
83 $(use_enable pulseaudio pulse) \
84 || die
85
86 emake || die "make failed"
87 }
88
89 src_install() {
90 make DESTDIR="${D}" install || die
91 dodoc AUTHORS NEWS
92 }
93
94 pkg_postinst() {
95 mp3_warning
96 }

  ViewVC Help
Powered by ViewVC 1.1.20