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