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