1 |
ennael |
63943 |
%define name audacious-plugins |
2 |
|
|
%define version 2.4.4 |
3 |
|
|
%define snapshot 0 |
4 |
|
|
%define pre 0 |
5 |
|
|
%define rel 1 |
6 |
|
|
%define build_plf 0 |
7 |
|
|
%{?_with_plf: %{expand: %%global build_plf 1}} |
8 |
|
|
%if %build_plf |
9 |
|
|
%if %mdvver >= 201100 |
10 |
|
|
%define extrarelsuffix plf |
11 |
|
|
%else |
12 |
|
|
%define distsuffix plf |
13 |
|
|
%endif |
14 |
|
|
%endif |
15 |
|
|
%if %pre |
16 |
|
|
%define release %mkrel -c %pre %rel |
17 |
|
|
%define fname %name-%version-%pre |
18 |
|
|
%else |
19 |
|
|
%define fname %name-%version |
20 |
|
|
%define release %mkrel %rel |
21 |
|
|
%endif |
22 |
|
|
%define build_plf 0 |
23 |
|
|
%{?_with_plf: %{expand: %%global build_plf 1}} |
24 |
|
|
%if %build_plf |
25 |
|
|
%define distsuffix plf |
26 |
|
|
%if %mdvver >= 201100 |
27 |
|
|
# make EVR of plf build higher than regular to allow update, needed with rpm5 mkrel |
28 |
|
|
%define extrarelsuffix plf |
29 |
|
|
%endif |
30 |
|
|
%endif |
31 |
|
|
%define audacious %epoch:2.4.3 |
32 |
|
|
|
33 |
|
|
Summary: Audacious Media Player core plugins |
34 |
|
|
Name: %name |
35 |
|
|
Version: %version |
36 |
|
|
Release: %release%{?extrarelsuffix} |
37 |
|
|
Epoch: 5 |
38 |
|
|
Source0: http://distfiles.atheme.org/%fname.tgz |
39 |
|
|
Patch0: audacious-plugins-cf740d37e431-fix-usf-memory-build.patch |
40 |
|
|
Patch1: audacious-plugins-2.4-rc1-linking.patch |
41 |
|
|
License: GPLv2+ |
42 |
|
|
Group: Sound |
43 |
|
|
Url: http://audacious-media-player.org/ |
44 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
45 |
|
|
Requires: audacious >= %audacious |
46 |
|
|
BuildRequires: libaudacious-devel >= %audacious |
47 |
|
|
BuildRequires: alsa-lib-devel >= 1.0.0 |
48 |
|
|
BuildRequires: oggvorbis-devel |
49 |
|
|
BuildRequires: libglade2.0-devel |
50 |
|
|
#gw crossfade |
51 |
|
|
BuildRequires: libsamplerate-devel |
52 |
|
|
BuildRequires: libmodplug-devel |
53 |
|
|
BuildRequires: libmms-devel |
54 |
|
|
BuildRequires: liblirc-devel |
55 |
|
|
BuildRequires: gtk2-devel >= 2.6.0 |
56 |
|
|
BuildRequires: libmesaglut-devel |
57 |
|
|
BuildRequires: libxcomposite-devel |
58 |
|
|
BuildRequires: SDL-devel |
59 |
|
|
BuildRequires: libsndfile-devel |
60 |
|
|
BuildRequires: libjack-devel |
61 |
|
|
BuildRequires: taglib-devel |
62 |
|
|
BuildRequires: libmad-devel |
63 |
|
|
BuildRequires: libmusicbrainz-devel |
64 |
|
|
BuildRequires: libnotify-devel |
65 |
|
|
#gw currently does not build |
66 |
|
|
#BuildRequires: bluez-devel >= 2.22 |
67 |
|
|
BuildRequires: libbinio-devel |
68 |
|
|
#gw scrobbler and curl: |
69 |
|
|
BuildRequires: libcurl-devel >= 7.9.7 |
70 |
|
|
BuildRequires: libneon-devel >= 0.26 |
71 |
|
|
BuildRequires: libfluidsynth-devel |
72 |
|
|
BuildRequires: libwavpack-devel |
73 |
|
|
BuildRequires: libprojectm-devel >= 1:1.1 gtkglext-devel >= 1.2.0 |
74 |
|
|
BuildRequires: libmtp-devel >= 0.3.0 |
75 |
|
|
BuildRequires: libflac-devel |
76 |
|
|
BuildRequires: libcddb-devel |
77 |
|
|
BuildRequires: libcdio-devel |
78 |
|
|
BuildRequires: libimlib2-devel |
79 |
|
|
BuildRequires: libshout-devel |
80 |
|
|
BuildRequires: libbs2b-devel |
81 |
|
|
BuildRequires: ffmpeg-devel |
82 |
|
|
BuildRequires: libcue-devel |
83 |
|
|
Provides: beep-media-player-libvisual beep-media-player-lirc audacious-modplug |
84 |
|
|
Obsoletes: beep-media-player-libvisual beep-media-player-lirc audacious-modplug |
85 |
|
|
%if %build_plf |
86 |
|
|
BuildRequires: liblame-devel |
87 |
|
|
BuildRequires: libfaad2-static-devel |
88 |
|
|
Provides:beep-media-player-mp4 audacious-extra-plugins |
89 |
|
|
Obsoletes:beep-media-player-mp4 audacious-extra-plugins |
90 |
|
|
#gw ffmpeg plugin: |
91 |
|
|
Obsoletes: audacious-musepack |
92 |
|
|
Provides: audacious-musepack |
93 |
|
|
%endif |
94 |
|
|
#gw make sure the broken plugin is removed |
95 |
|
|
Obsoletes: audacious-timidity |
96 |
|
|
#gw 2.0.0 has its own crossfader and the old one does not build anymore |
97 |
|
|
Provides: audacious-crossfade |
98 |
|
|
Obsoletes: audacious-crossfade |
99 |
|
|
|
100 |
|
|
%description |
101 |
|
|
Audacious is a media player based on the BMP music playing application. |
102 |
|
|
Its primary goals are usability and usage of current desktop standards. |
103 |
|
|
|
104 |
|
|
This contains the basic plugin distribution. Audacious is useless |
105 |
|
|
without them. |
106 |
|
|
|
107 |
|
|
%if %build_plf |
108 |
|
|
This package is in PLF as it violates some patents. |
109 |
|
|
%endif |
110 |
|
|
|
111 |
|
|
%package -n audacious-wavpack |
112 |
|
|
Group: Sound |
113 |
|
|
Summary: Wavpack input plugin for Audacious |
114 |
|
|
Requires: audacious >= %audacious |
115 |
|
|
Epoch: %epoch |
116 |
|
|
|
117 |
|
|
%description -n audacious-wavpack |
118 |
|
|
This is a wavpack input plugin for Audacious based on libwavpack. |
119 |
|
|
|
120 |
|
|
%package -n audacious-jack |
121 |
|
|
Group: Sound |
122 |
|
|
Summary:Audacious output plugin for the jack sound server |
123 |
|
|
Epoch: %epoch |
124 |
|
|
Requires: audacious >= %audacious |
125 |
|
|
|
126 |
|
|
%description -n audacious-jack |
127 |
|
|
Audacious audio output plugin for the jack audio |
128 |
|
|
server(http://jackit.sourceforge.net). |
129 |
|
|
|
130 |
|
|
|
131 |
|
|
%package -n audacious-pulse |
132 |
|
|
Group: Sound |
133 |
|
|
Summary:Audacious output plugin for the Pulseaudio sound server |
134 |
|
|
Epoch: %epoch |
135 |
|
|
Requires: audacious >= %audacious |
136 |
|
|
Provides: audacious-esd |
137 |
|
|
Obsoletes: audacious-esd |
138 |
|
|
BuildRequires: libpulseaudio-devel |
139 |
|
|
|
140 |
|
|
%description -n audacious-pulse |
141 |
|
|
Audacious audio output plugin for the pulseaudio |
142 |
|
|
server. |
143 |
|
|
|
144 |
|
|
%package -n audacious-adplug |
145 |
|
|
Summary: AdLib player plugin for audacious |
146 |
|
|
Group: Sound |
147 |
|
|
Requires: audacious >= %audacious |
148 |
|
|
Epoch: %epoch |
149 |
|
|
|
150 |
|
|
%description -n audacious-adplug |
151 |
|
|
AdPlug is an Audacious input plugin It uses the AdPlug AdLib sound |
152 |
|
|
player library to play back a wide range of AdLib (OPL2) music file |
153 |
|
|
formats on top of an OPL2 emulator. No OPL2 chip is required for |
154 |
|
|
playback. |
155 |
|
|
|
156 |
|
|
|
157 |
|
|
%package -n audacious-fluidsynth |
158 |
|
|
Summary: Fluidsynth MIDI plugin for audacious |
159 |
|
|
Group: Sound |
160 |
|
|
Requires: audacious >= %audacious |
161 |
|
|
Epoch: %epoch |
162 |
|
|
|
163 |
|
|
%description -n audacious-fluidsynth |
164 |
|
|
FluidSynth is a real-time software synthesizer based on the SoundFont 2 |
165 |
|
|
specifications. It is a "software synthesizer". FluidSynth can read MIDI |
166 |
|
|
events from the MIDI input device and render them to the audio device. |
167 |
|
|
|
168 |
|
|
This is a fluidsynth backend for the Audacious Media Player to support the |
169 |
|
|
playback of MIDI files with the fluidsynth engine. |
170 |
|
|
|
171 |
|
|
%package -n audacious-sid |
172 |
|
|
Group: Sound |
173 |
|
|
Summary: Audacious input plugin for C64 SID files |
174 |
|
|
BuildRequires: sidplay-devel |
175 |
|
|
BuildRequires: sidplay2-devel |
176 |
|
|
Provides: beep-media-player-sid |
177 |
|
|
Obsoletes: beep-media-player-sid |
178 |
|
|
Epoch: %epoch |
179 |
|
|
Requires: audacious >= %audacious |
180 |
|
|
|
181 |
|
|
%description -n audacious-sid |
182 |
|
|
Audacious-SID is a plugin for the Audacious Media Player which provides |
183 |
|
|
support for playing the so-called "SID tunes", which are music |
184 |
|
|
from old Commodore computer programs like games, demos, etc. |
185 |
|
|
|
186 |
|
|
For the actual playing, it uses the excellent libsidplay (1|2) |
187 |
|
|
emulator engine that emulates 6510 CPU and 6581/8580 Sound Interface |
188 |
|
|
Device (SID) chip. |
189 |
|
|
|
190 |
|
|
|
191 |
|
|
%package -n audacious-projectm |
192 |
|
|
Group: Sound |
193 |
|
|
Summary: Visualization for Audacious, based on projectM |
194 |
|
|
Requires: audacious >= %audacious |
195 |
|
|
Epoch: %epoch |
196 |
|
|
|
197 |
|
|
%description -n audacious-projectm |
198 |
|
|
This adds Visualization support to Audacious, based on projectM. |
199 |
|
|
|
200 |
|
|
%prep |
201 |
|
|
%if !%snapshot |
202 |
|
|
%setup -q -n %fname |
203 |
|
|
%else |
204 |
|
|
%setup -q -n %fname |
205 |
|
|
%endif |
206 |
|
|
%apply_patches |
207 |
|
|
%if %snapshot |
208 |
|
|
sh ./autogen.sh |
209 |
|
|
%endif |
210 |
|
|
|
211 |
|
|
%build |
212 |
|
|
#gw else cdaudio does not build (2.2-beta2) |
213 |
|
|
#define _disable_ld_no_undefined 1 |
214 |
|
|
%configure2_5x --enable-amidiplug \ |
215 |
|
|
%ifarch %ix86 |
216 |
|
|
--disable-sse2 \ |
217 |
|
|
%endif |
218 |
|
|
--enable-scrobbler |
219 |
|
|
%ifarch %ix86 x86_64 |
220 |
|
|
#--enable-usf |
221 |
|
|
%endif |
222 |
|
|
|
223 |
|
|
%make |
224 |
|
|
|
225 |
|
|
%install |
226 |
|
|
rm -rf %{buildroot} |
227 |
|
|
%makeinstall_std |
228 |
|
|
|
229 |
|
|
%if !%build_plf |
230 |
|
|
rm -fv %buildroot%_libdir/audacious/Input/aac.so |
231 |
|
|
%endif |
232 |
|
|
|
233 |
|
|
%find_lang %name |
234 |
|
|
%clean |
235 |
|
|
rm -rf %{buildroot} |
236 |
|
|
|
237 |
|
|
|
238 |
|
|
%files -f %name.lang |
239 |
|
|
%defattr(0644,root,root,0755) |
240 |
|
|
%doc AUTHORS |
241 |
|
|
%dir %_libdir/audacious/Input/amidi-plug/ |
242 |
|
|
%_libdir/audacious/Input/amidi-plug/ap-alsa.so |
243 |
|
|
%dir %{_libdir}/audacious |
244 |
|
|
%dir %{_libdir}/audacious/Container |
245 |
|
|
%{_libdir}/audacious/Container/cue.so |
246 |
|
|
%{_libdir}/audacious/Container/m3u.so |
247 |
|
|
%{_libdir}/audacious/Container/pls.so |
248 |
|
|
%{_libdir}/audacious/Container/xspf.so |
249 |
|
|
%dir %{_libdir}/audacious/General |
250 |
|
|
%{_libdir}/audacious/General/alarm.so |
251 |
|
|
%{_libdir}/audacious/General/aosd.so |
252 |
|
|
#%{_libdir}/audacious/General/bluetooth.so |
253 |
|
|
%{_libdir}/audacious/General/cd-menu-items.so |
254 |
|
|
%{_libdir}/audacious/General/evdev-plug.so |
255 |
|
|
%{_libdir}/audacious/General/gnomeshortcuts.so |
256 |
|
|
%{_libdir}/audacious/General/gtkui.so |
257 |
|
|
%{_libdir}/audacious/General/hotkey.so |
258 |
|
|
%{_libdir}/audacious/General/lirc.so |
259 |
|
|
%{_libdir}/audacious/General/lyricwiki.so |
260 |
|
|
%{_libdir}/audacious/General/mtp_up.so |
261 |
|
|
%{_libdir}/audacious/General/notify.so |
262 |
|
|
%{_libdir}/audacious/General/scrobbler.so |
263 |
|
|
%{_libdir}/audacious/General/skins.so |
264 |
|
|
%{_libdir}/audacious/General/statusicon.so |
265 |
|
|
%{_libdir}/audacious/General/streambrowser.so |
266 |
|
|
%{_libdir}/audacious/General/song_change.so |
267 |
|
|
%dir %{_libdir}/audacious/Input |
268 |
|
|
%{_libdir}/audacious/Input/ffaudio.so |
269 |
|
|
%{_libdir}/audacious/Input/amidi-plug.so |
270 |
|
|
%{_libdir}/audacious/Input/cdaudio-ng.so |
271 |
|
|
%{_libdir}/audacious/Input/console.so |
272 |
|
|
%{_libdir}/audacious/Input/flacng.so |
273 |
|
|
%{_libdir}/audacious/Input/madplug.so |
274 |
|
|
%{_libdir}/audacious/Input/metronom.so |
275 |
|
|
%{_libdir}/audacious/Input/modplug.so |
276 |
|
|
%{_libdir}/audacious/Input/psf2.so |
277 |
|
|
%{_libdir}/audacious/Input/sndfile.so |
278 |
|
|
%{_libdir}/audacious/Input/tonegen.so |
279 |
|
|
%ifarch %ix86 x86_64 |
280 |
|
|
#%{_libdir}/audacious/Input/usf.so |
281 |
|
|
%endif |
282 |
|
|
%{_libdir}/audacious/Input/vorbis.so |
283 |
|
|
%{_libdir}/audacious/Input/vtx.so |
284 |
|
|
%{_libdir}/audacious/Input/xsf.so |
285 |
|
|
%if %build_plf |
286 |
|
|
%_libdir/audacious/Input/aac.so |
287 |
|
|
%endif |
288 |
|
|
%dir %{_libdir}/audacious/Effect/ |
289 |
|
|
%{_libdir}/audacious/Effect/bs2b.so |
290 |
|
|
%{_libdir}/audacious/Effect/compressor.so |
291 |
|
|
%{_libdir}/audacious/Effect/crossfade.so |
292 |
|
|
%{_libdir}/audacious/Effect/crystalizer.so |
293 |
|
|
%{_libdir}/audacious/Effect/echo.so |
294 |
|
|
%{_libdir}/audacious/Effect/ladspa.so |
295 |
|
|
%{_libdir}/audacious/Effect/resample.so |
296 |
|
|
%{_libdir}/audacious/Effect/sndstretch.so |
297 |
|
|
%{_libdir}/audacious/Effect/stereo.so |
298 |
|
|
%{_libdir}/audacious/Effect/voice_removal.so |
299 |
|
|
%dir %{_libdir}/audacious/Output |
300 |
|
|
%{_libdir}/audacious/Output/OSS.so |
301 |
|
|
%{_libdir}/audacious/Output/alsa.so |
302 |
|
|
%{_libdir}/audacious/Output/filewriter.so |
303 |
|
|
#%{_libdir}/audacious/Output/icecast.so |
304 |
|
|
%{_libdir}/audacious/Output/null.so |
305 |
|
|
%dir %{_libdir}/audacious/Transport/ |
306 |
|
|
%{_libdir}/audacious/Transport/gio.so |
307 |
|
|
%{_libdir}/audacious/Transport/mms.so |
308 |
|
|
%{_libdir}/audacious/Transport/neon.so |
309 |
|
|
%{_libdir}/audacious/Transport/unix-io.so |
310 |
|
|
%dir %{_libdir}/audacious/Visualization |
311 |
|
|
%{_libdir}/audacious/Visualization/blur_scope.so |
312 |
|
|
%{_libdir}/audacious/Visualization/paranormal.so |
313 |
|
|
%{_libdir}/audacious/Visualization/rocklight.so |
314 |
|
|
%{_libdir}/audacious/Visualization/spectrum.so |
315 |
|
|
%_datadir/audacious |
316 |
|
|
|
317 |
|
|
%files -n audacious-wavpack |
318 |
|
|
%defattr(0644,root,root,0755) |
319 |
|
|
%{_libdir}/audacious/Input/wavpack.so |
320 |
|
|
|
321 |
|
|
%files -n audacious-jack |
322 |
|
|
%defattr(0644,root,root,0755) |
323 |
|
|
%{_libdir}/audacious/Output/jackout.so |
324 |
|
|
|
325 |
|
|
%files -n audacious-pulse |
326 |
|
|
%defattr(0644,root,root,0755) |
327 |
|
|
%{_libdir}/audacious/Output/pulse_audio.so |
328 |
|
|
|
329 |
|
|
%files -n audacious-sid |
330 |
|
|
%defattr(-,root,root) |
331 |
|
|
%{_libdir}/audacious/Input/sid.so |
332 |
|
|
|
333 |
|
|
%files -n audacious-adplug |
334 |
|
|
%defattr(-,root,root) |
335 |
|
|
%{_libdir}/audacious/Input/adplug.so |
336 |
|
|
|
337 |
|
|
%if 0 |
338 |
|
|
%files -n audacious-timidity |
339 |
|
|
%defattr(-,root,root) |
340 |
|
|
%{_libdir}/audacious/Input/timidity.so |
341 |
|
|
%endif |
342 |
|
|
|
343 |
|
|
%files -n audacious-fluidsynth |
344 |
|
|
%defattr(0644,root,root,0755) |
345 |
|
|
%_libdir/audacious/Input/amidi-plug/ap-fluidsynth.so |
346 |
|
|
|
347 |
|
|
%files -n audacious-projectm |
348 |
|
|
%defattr(-,root,root) |
349 |
|
|
%{_libdir}/audacious/Visualization/projectm-1.0.so |
350 |
|
|
|
351 |
|
|
|