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