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