Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/audacious-plugins: ChangeLog audacious-plugins-1.5.1-r2.ebuild
Date: Wed, 03 Sep 2008 12:28:19
Message-Id: E1KarSu-000270-9i@stork.gentoo.org
1 loki_val 08/09/03 12:28:04
2
3 Modified: ChangeLog
4 Added: audacious-plugins-1.5.1-r2.ebuild
5 Log:
6 Add libmtp-0.3.0 API support, patch from upstream bugzilla rebased. Fix configure being invoked with wrong options (flac->flacng, cdaudio-ng->cdaudio).
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.25.8 i686)
8
9 Revision Changes Path
10 1.96 media-plugins/audacious-plugins/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/audacious-plugins/ChangeLog?rev=1.96&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/audacious-plugins/ChangeLog?rev=1.96&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/audacious-plugins/ChangeLog?r1=1.95&r2=1.96
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/ChangeLog,v
19 retrieving revision 1.95
20 retrieving revision 1.96
21 diff -u -r1.95 -r1.96
22 --- ChangeLog 1 Aug 2008 16:56:15 -0000 1.95
23 +++ ChangeLog 3 Sep 2008 12:28:03 -0000 1.96
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-plugins/audacious-plugins
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/ChangeLog,v 1.95 2008/08/01 16:56:15 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/ChangeLog,v 1.96 2008/09/03 12:28:03 loki_val Exp $
29 +
30 +*audacious-plugins-1.5.1-r2 (03 Sep 2008)
31 +
32 + 03 Sep 2008; Peter Alfredsen <loki_val@g.o>
33 + +files/1.5.1-libmtp-0.3.0-API.patch, +audacious-plugins-1.5.1-r2.ebuild:
34 + Add libmtp-0.3.0 API support, patch from upstream bugzilla rebased. Fix
35 + configure being invoked with wrong options (flac->flacng,
36 + cdaudio-ng->cdaudio).
37
38 01 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
39 add GLEP 56 USE flag desc from use.local.desc
40
41
42
43 1.1 media-plugins/audacious-plugins/audacious-plugins-1.5.1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/audacious-plugins/audacious-plugins-1.5.1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/audacious-plugins/audacious-plugins-1.5.1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: audacious-plugins-1.5.1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/audacious-plugins-1.5.1-r2.ebuild,v 1.1 2008/09/03 12:28:03 loki_val Exp $
53
54 inherit eutils flag-o-matic autotools
55
56 MY_P="${P/_/-}"
57 S="${WORKDIR}/${MY_P}"
58 DESCRIPTION="Audacious Player - Your music, your way, no exceptions"
59 HOMEPAGE="http://audacious-media-player.org/"
60 SRC_URI="http://distfiles.atheme.org/${MY_P}.tgz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="aac adplug alsa arts chardet esd flac gnome jack lirc modplug mp3 mtp musepack nls oss pulseaudio scrobbler sdl sid sndfile sse2 timidity tta vorbis wavpack wma"
66
67 RDEPEND="app-arch/unzip
68 >=dev-libs/libcdio-0.79-r1
69 >=dev-libs/dbus-glib-0.60
70 dev-libs/libxml2
71 >=gnome-base/libglade-2.3.1
72 >=media-libs/libcddb-1.2.1
73 >=media-sound/audacious-1.5.1-r1
74 >=net-misc/neon-0.26.4
75 >=x11-libs/gtk+-2.10
76 adplug? ( >=dev-cpp/libbinio-1.4 )
77 alsa? ( >=media-libs/alsa-lib-1.0.16 )
78 arts? ( kde-base/arts )
79 esd? ( >=media-sound/esound-0.2.38-r1 )
80 flac? ( >=media-libs/libvorbis-1.0
81 >=media-libs/flac-1.2.1-r1 )
82 jack? ( >=media-libs/bio2jack-0.4
83 media-sound/jack-audio-connection-kit )
84 lirc? ( app-misc/lirc )
85 mp3? ( media-libs/libmad )
86 mtp? ( media-libs/libmtp )
87 musepack? ( media-libs/libmpcdec media-libs/taglib )
88 pulseaudio? ( >=media-sound/pulseaudio-0.9.3 )
89 scrobbler? ( net-misc/curl
90 media-libs/musicbrainz )
91 sdl? ( >=media-libs/libsdl-1.2.5 )
92 sid? ( media-libs/libsidplay )
93 sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
94 timidity? ( media-sound/timidity++ )
95 tta? ( media-libs/libid3tag )
96 vorbis? ( >=media-libs/libvorbis-1.2.0
97 >=media-libs/libogg-1.1.3 )
98 wavpack? ( >=media-sound/wavpack-4.41.0 )
99 wma? ( >=media-libs/libmms-0.3 )"
100
101 DEPEND="${RDEPEND}
102 nls? ( dev-util/intltool )
103 >=dev-util/pkgconfig-0.9.0"
104
105 mp3_warning() {
106 if ! useq mp3 ; then
107 ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
108 fi
109 }
110
111 src_unpack() {
112 unpack ${A}
113 cd "${S}"
114 # Bug 232418; patch by Ivan Iraci <ivanhoe@×××××××.net>
115 epatch "${FILESDIR}/${PV}-missing-include.patch"
116 # Bug 230995; patch by Linus Walleij
117 # http://bugzilla.atheme.org/show_bug.cgi?id=35
118 # Rebased from hg head to 1.5.1
119 epatch "${FILESDIR}/${PV}-libmtp-0.3.0-API.patch"
120 AT_M4DIR="m4" eautoreconf
121 }
122
123 src_compile() {
124 mp3_warning
125
126 econf \
127 --enable-cdaudio \
128 --enable-dbus \
129 --enable-neon \
130 --disable-projectm \
131 --disable-projectm-1.0 \
132 $(use_enable aac) \
133 $(use_enable adplug) \
134 $(use_enable alsa) \
135 $(use_enable arts) \
136 $(use_enable chardet) \
137 $(use_enable esd) \
138 $(use_enable flac flacng) \
139 $(use_enable jack) \
140 $(use_enable gnome gnomeshortcuts) \
141 $(use_enable lirc) \
142 $(use_enable mp3) \
143 $(use_enable modplug) \
144 $(use_enable musepack) \
145 $(use_enable mtp mtp_up) \
146 $(use_enable nls) \
147 $(use_enable oss) \
148 $(use_enable pulseaudio pulse) \
149 $(use_enable sdl paranormal) \
150 $(use_enable sid) \
151 $(use_enable sndfile) \
152 $(use_enable sse2) \
153 $(use_enable timidity) \
154 $(use_enable tta) \
155 $(use_enable vorbis) \
156 $(use_enable wavpack) \
157 $(use_enable wma) \
158 || die
159
160 emake || die "make failed"
161 }
162
163 src_install() {
164 make DESTDIR="${D}" install || die
165 dodoc AUTHORS
166 }
167
168 pkg_postinst() {
169 mp3_warning
170 }