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