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