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