1 |
%define name audacious-plugins |
%define name audacious-plugins |
2 |
%define version 2.5.1 |
%define version 3.0 |
3 |
%define snapshot 0 |
%define rel 1 |
4 |
%define pre 0 |
#comment out when not prerelease |
5 |
%define rel 3 |
%define pre alpha1 |
6 |
%if %pre |
|
7 |
%define release %mkrel -c %pre %rel |
%define audacious_ver %{epoch}:%{version} |
|
%define fname %name-%version-%pre |
|
|
%else |
|
|
%define fname %name-%version |
|
|
%define release %mkrel %rel |
|
|
%endif |
|
8 |
|
|
9 |
Summary: Audacious Media Player core plugins |
Summary: Audacious Media Player core plugins |
10 |
Name: %name |
Name: %{name} |
11 |
Version: %version |
Version: %{version} |
12 |
Release: %release%{?extrarelsuffix} |
Release: %mkrel %{?pre:0.%pre.}%{rel} |
13 |
Epoch: 5 |
Epoch: 5 |
14 |
Source0: http://distfiles.atheme.org/%fname.tgz |
Source0: http://distfiles.atheme.org/%{name}-%{version}%{?pre:-%pre}.tgz |
15 |
Patch0: audacious-plugins-cf740d37e431-fix-usf-memory-build.patch |
Patch0: audacious-plugins-cf740d37e431-fix-usf-memory-build.patch |
16 |
Patch1: audacious-plugins-2.4-rc1-linking.patch |
Patch1: audacious-plugins-2.4-rc1-linking.patch |
17 |
Patch2: audacious-plugins-2.5.1-ffmpeg0.8.patch |
Patch2: audacious-plugins-2.5.1-ffmpeg0.8.patch |
18 |
License: GPLv2+ |
License: GPLv2+ |
19 |
Group: Sound |
Group: Sound |
20 |
Url: http://audacious-media-player.org/ |
Url: http://audacious-media-player.org/ |
21 |
Requires: audacious >= %audacious |
Requires: audacious >= %{audacious} |
22 |
BuildRequires: libaudacious-devel >= %audacious |
BuildRequires: libaudacious-devel >= %{audacious_ver} |
23 |
BuildRequires: alsa-lib-devel >= 1.0.0 |
BuildRequires: alsa-lib-devel >= 1.0.0 |
24 |
BuildRequires: oggvorbis-devel |
BuildRequires: oggvorbis-devel |
25 |
BuildRequires: libglade2.0-devel |
BuildRequires: libglade2.0-devel |
28 |
BuildRequires: libmodplug-devel |
BuildRequires: libmodplug-devel |
29 |
BuildRequires: libmms-devel |
BuildRequires: libmms-devel |
30 |
BuildRequires: liblirc-devel |
BuildRequires: liblirc-devel |
31 |
BuildRequires: gtk2-devel >= 2.6.0 |
BuildRequires: gtk+3-devel >= 3.0.0 |
32 |
BuildRequires: libmesaglut-devel |
BuildRequires: libmesaglut-devel |
33 |
BuildRequires: libxcomposite-devel |
BuildRequires: libxcomposite-devel |
34 |
BuildRequires: SDL-devel |
BuildRequires: SDL-devel |
46 |
BuildRequires: libneon-devel >= 0.26 |
BuildRequires: libneon-devel >= 0.26 |
47 |
BuildRequires: libfluidsynth-devel |
BuildRequires: libfluidsynth-devel |
48 |
BuildRequires: libwavpack-devel |
BuildRequires: libwavpack-devel |
49 |
BuildRequires: libprojectm-devel >= 1:1.1 gtkglext-devel >= 1.2.0 |
#BuildRequires: libprojectm-devel >= 1:1.1 |
50 |
|
BuildRequires: gtkglext-devel >= 1.2.0 |
51 |
BuildRequires: libmtp-devel >= 0.3.0 |
BuildRequires: libmtp-devel >= 0.3.0 |
52 |
BuildRequires: libflac-devel |
BuildRequires: libflac-devel |
53 |
BuildRequires: libcddb-devel |
BuildRequires: libcddb-devel |
57 |
BuildRequires: libbs2b-devel |
BuildRequires: libbs2b-devel |
58 |
BuildRequires: ffmpeg-devel |
BuildRequires: ffmpeg-devel |
59 |
BuildRequires: libcue-devel |
BuildRequires: libcue-devel |
60 |
Provides: beep-media-player-libvisual beep-media-player-lirc audacious-modplug |
Provides: beep-media-player-libvisual |
61 |
Obsoletes: beep-media-player-libvisual beep-media-player-lirc audacious-modplug |
Provides: beep-media-player-lirc |
62 |
|
Provides: audacious-modplug |
63 |
|
Obsoletes: beep-media-player-libvisual |
64 |
|
Obsoletes: beep-media-player-lirc |
65 |
|
Obsoletes: audacious-modplug |
66 |
#gw make sure the broken plugin is removed |
#gw make sure the broken plugin is removed |
67 |
Obsoletes: audacious-timidity |
Obsoletes: audacious-timidity |
68 |
#gw 2.0.0 has its own crossfader and the old one does not build anymore |
#gw 2.0.0 has its own crossfader and the old one does not build anymore |
69 |
Provides: audacious-crossfade |
Provides: audacious-crossfade |
70 |
Obsoletes: audacious-crossfade |
Obsoletes: audacious-crossfade |
71 |
|
Obsoletes: audacious-projectm |
72 |
|
|
73 |
%description |
%description |
74 |
Audacious is a media player based on the BMP music playing application. |
Audacious is a media player based on the BMP music playing application. |
78 |
without them. |
without them. |
79 |
|
|
80 |
%package -n audacious-wavpack |
%package -n audacious-wavpack |
81 |
Group: Sound |
Group: Sound |
82 |
Summary: Wavpack input plugin for Audacious |
Summary: Wavpack input plugin for Audacious |
83 |
Requires: audacious >= %audacious |
Requires: audacious >= %{audacious_ver} |
84 |
Epoch: %epoch |
Epoch: %{epoch} |
85 |
|
|
86 |
%description -n audacious-wavpack |
%description -n audacious-wavpack |
87 |
This is a wavpack input plugin for Audacious based on libwavpack. |
This is a wavpack input plugin for Audacious based on libwavpack. |
88 |
|
|
89 |
%package -n audacious-jack |
%package -n audacious-jack |
90 |
Group: Sound |
Group: Sound |
91 |
Summary:Audacious output plugin for the jack sound server |
Summary: Audacious output plugin for the jack sound server |
92 |
Epoch: %epoch |
Epoch: %{epoch} |
93 |
Requires: audacious >= %audacious |
Requires: audacious >= %{audacious_ver} |
94 |
|
|
95 |
%description -n audacious-jack |
%description -n audacious-jack |
96 |
Audacious audio output plugin for the jack audio |
Audacious audio output plugin for the jack audio server |
97 |
server(http://jackit.sourceforge.net). |
(http://jackit.sourceforge.net). |
|
|
|
98 |
|
|
99 |
%package -n audacious-pulse |
%package -n audacious-pulse |
100 |
Group: Sound |
Group: Sound |
101 |
Summary:Audacious output plugin for the Pulseaudio sound server |
Summary: Audacious output plugin for the Pulseaudio sound server |
102 |
Epoch: %epoch |
Epoch: %{epoch} |
103 |
Requires: audacious >= %audacious |
Requires: audacious >= %{audacious_ver} |
104 |
Provides: audacious-esd |
Provides: audacious-esd |
105 |
Obsoletes: audacious-esd |
Obsoletes: audacious-esd |
106 |
BuildRequires: libpulseaudio-devel |
BuildRequires: libpulseaudio-devel |
107 |
|
|
108 |
%description -n audacious-pulse |
%description -n audacious-pulse |
109 |
Audacious audio output plugin for the pulseaudio |
Audacious audio output plugin for the pulseaudio server. |
|
server. |
|
110 |
|
|
111 |
%package -n audacious-adplug |
%package -n audacious-adplug |
112 |
Summary: AdLib player plugin for audacious |
Summary: AdLib player plugin for audacious |
113 |
Group: Sound |
Group: Sound |
114 |
Requires: audacious >= %audacious |
Requires: audacious >= %{audacious_ver} |
115 |
Epoch: %epoch |
Epoch: %{epoch} |
116 |
|
|
117 |
%description -n audacious-adplug |
%description -n audacious-adplug |
118 |
AdPlug is an Audacious input plugin It uses the AdPlug AdLib sound |
AdPlug is an Audacious input plugin It uses the AdPlug AdLib sound |
121 |
playback. |
playback. |
122 |
|
|
123 |
|
|
124 |
%package -n audacious-fluidsynth |
%package -n audacious-fluidsynth |
125 |
Summary: Fluidsynth MIDI plugin for audacious |
Summary: Fluidsynth MIDI plugin for audacious |
126 |
Group: Sound |
Group: Sound |
127 |
Requires: audacious >= %audacious |
Requires: audacious >= %{audacious_ver} |
128 |
Epoch: %epoch |
Epoch: %{epoch} |
129 |
|
|
130 |
%description -n audacious-fluidsynth |
%description -n audacious-fluidsynth |
131 |
FluidSynth is a real-time software synthesizer based on the SoundFont 2 |
FluidSynth is a real-time software synthesizer based on the SoundFont 2 |
132 |
specifications. It is a "software synthesizer". FluidSynth can read MIDI |
specifications. It is a "software synthesizer". FluidSynth can read MIDI |
133 |
events from the MIDI input device and render them to the audio device. |
events from the MIDI input device and render them to the audio device. |
135 |
This is a fluidsynth backend for the Audacious Media Player to support the |
This is a fluidsynth backend for the Audacious Media Player to support the |
136 |
playback of MIDI files with the fluidsynth engine. |
playback of MIDI files with the fluidsynth engine. |
137 |
|
|
138 |
%package -n audacious-sid |
%package -n audacious-sid |
139 |
Group: Sound |
Group: Sound |
140 |
Summary: Audacious input plugin for C64 SID files |
Summary: Audacious input plugin for C64 SID files |
141 |
BuildRequires: sidplay-devel |
BuildRequires: sidplay-devel |
142 |
BuildRequires: sidplay2-devel |
BuildRequires: sidplay2-devel |
143 |
Provides: beep-media-player-sid |
Provides: beep-media-player-sid |
144 |
Obsoletes: beep-media-player-sid |
Obsoletes: beep-media-player-sid |
145 |
Epoch: %epoch |
Epoch: %{epoch} |
146 |
Requires: audacious >= %audacious |
Requires: audacious >= %{audacious_ver} |
147 |
|
|
148 |
%description -n audacious-sid |
%description -n audacious-sid |
149 |
Audacious-SID is a plugin for the Audacious Media Player which provides |
Audacious-SID is a plugin for the Audacious Media Player which provides |
150 |
support for playing the so-called "SID tunes", which are music |
support for playing the so-called "SID tunes", which are music |
151 |
from old Commodore computer programs like games, demos, etc. |
from old Commodore computer programs like games, demos, etc. |
154 |
emulator engine that emulates 6510 CPU and 6581/8580 Sound Interface |
emulator engine that emulates 6510 CPU and 6581/8580 Sound Interface |
155 |
Device (SID) chip. |
Device (SID) chip. |
156 |
|
|
|
|
|
|
%package -n audacious-projectm |
|
|
Group: Sound |
|
|
Summary: Visualization for Audacious, based on projectM |
|
|
Requires: audacious >= %audacious |
|
|
Epoch: %epoch |
|
|
|
|
|
%description -n audacious-projectm |
|
|
This adds Visualization support to Audacious, based on projectM. |
|
|
|
|
157 |
%prep |
%prep |
158 |
%if !%snapshot |
%setup -q -n %{name}-%{version}%{?pre:-%pre} |
|
%setup -q -n %fname |
|
|
%else |
|
|
%setup -q -n %fname |
|
|
%endif |
|
159 |
%apply_patches |
%apply_patches |
|
%if %snapshot |
|
|
sh ./autogen.sh |
|
|
%endif |
|
160 |
|
|
161 |
%build |
%build |
162 |
#gw else cdaudio does not build (2.2-beta2) |
#gw else cdaudio does not build (2.2-beta2) |
163 |
#define _disable_ld_no_undefined 1 |
#define _disable_ld_no_undefined 1 |
164 |
%configure2_5x --enable-amidiplug \ |
|
165 |
%ifarch %ix86 |
%configure2_5x \ |
166 |
--disable-sse2 \ |
%ifarch %{ix86} |
167 |
%endif |
--disable-sse2 \ |
|
--enable-scrobbler |
|
|
%ifarch %ix86 x86_64 |
|
|
#--enable-usf |
|
168 |
%endif |
%endif |
169 |
|
--enable-amidiplug \ |
170 |
|
--enable-scrobbler \ |
171 |
|
--disable-rpath \ |
172 |
|
--enable-gtk3 |
173 |
|
|
174 |
%make |
%make |
175 |
|
|
177 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
178 |
%makeinstall_std |
%makeinstall_std |
179 |
|
|
180 |
%find_lang %name |
%find_lang %{name} |
181 |
|
|
182 |
%clean |
%clean |
183 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
184 |
|
|
185 |
|
|
186 |
%files -f %name.lang |
%files -f %name.lang |
187 |
%defattr(0644,root,root,0755) |
%defattr(-,root,root) |
188 |
%doc AUTHORS |
%doc AUTHORS |
189 |
%dir %_libdir/audacious/Input/amidi-plug/ |
%dir %{_libdir}/audacious/Input/amidi-plug/ |
190 |
%_libdir/audacious/Input/amidi-plug/ap-alsa.so |
%{_libdir}/audacious/Input/amidi-plug/ap-alsa.so |
191 |
%dir %{_libdir}/audacious |
%dir %{_libdir}/audacious |
192 |
%dir %{_libdir}/audacious/Container |
%dir %{_libdir}/audacious/Container |
193 |
%{_libdir}/audacious/Container/asx.so |
%{_libdir}/audacious/Container/asx.so |
197 |
%{_libdir}/audacious/Container/xspf.so |
%{_libdir}/audacious/Container/xspf.so |
198 |
%dir %{_libdir}/audacious/General |
%dir %{_libdir}/audacious/General |
199 |
%{_libdir}/audacious/General/albumart.so |
%{_libdir}/audacious/General/albumart.so |
|
%{_libdir}/audacious/General/alarm.so |
|
200 |
%{_libdir}/audacious/General/aosd.so |
%{_libdir}/audacious/General/aosd.so |
|
#%{_libdir}/audacious/General/bluetooth.so |
|
201 |
%{_libdir}/audacious/General/cd-menu-items.so |
%{_libdir}/audacious/General/cd-menu-items.so |
|
%{_libdir}/audacious/General/evdev-plug.so |
|
202 |
%{_libdir}/audacious/General/gnomeshortcuts.so |
%{_libdir}/audacious/General/gnomeshortcuts.so |
203 |
%{_libdir}/audacious/General/gtkui.so |
%{_libdir}/audacious/General/gtkui.so |
204 |
%{_libdir}/audacious/General/hotkey.so |
%{_libdir}/audacious/General/hotkey.so |
|
%{_libdir}/audacious/General/lirc.so |
|
205 |
%{_libdir}/audacious/General/lyricwiki.so |
%{_libdir}/audacious/General/lyricwiki.so |
206 |
%{_libdir}/audacious/General/mtp_up.so |
%{_libdir}/audacious/General/mtp_up.so |
207 |
%{_libdir}/audacious/General/notify.so |
%{_libdir}/audacious/General/notify.so |
208 |
%{_libdir}/audacious/General/scrobbler.so |
%{_libdir}/audacious/General/scrobbler.so |
209 |
%{_libdir}/audacious/General/skins.so |
%{_libdir}/audacious/General/skins.so |
210 |
%{_libdir}/audacious/General/statusicon.so |
%{_libdir}/audacious/General/statusicon.so |
|
%{_libdir}/audacious/General/streambrowser.so |
|
211 |
%{_libdir}/audacious/General/song_change.so |
%{_libdir}/audacious/General/song_change.so |
212 |
%dir %{_libdir}/audacious/Input |
%dir %{_libdir}/audacious/Input |
213 |
%{_libdir}/audacious/Input/ffaudio.so |
%{_libdir}/audacious/Input/ffaudio.so |
215 |
%{_libdir}/audacious/Input/cdaudio-ng.so |
%{_libdir}/audacious/Input/cdaudio-ng.so |
216 |
%{_libdir}/audacious/Input/console.so |
%{_libdir}/audacious/Input/console.so |
217 |
%{_libdir}/audacious/Input/flacng.so |
%{_libdir}/audacious/Input/flacng.so |
|
%{_libdir}/audacious/Input/madplug.so |
|
218 |
%{_libdir}/audacious/Input/metronom.so |
%{_libdir}/audacious/Input/metronom.so |
219 |
%{_libdir}/audacious/Input/modplug.so |
%{_libdir}/audacious/Input/modplug.so |
220 |
%{_libdir}/audacious/Input/psf2.so |
%{_libdir}/audacious/Input/psf2.so |
221 |
%{_libdir}/audacious/Input/sndfile.so |
%{_libdir}/audacious/Input/sndfile.so |
222 |
%{_libdir}/audacious/Input/tonegen.so |
%{_libdir}/audacious/Input/tonegen.so |
|
%ifarch %ix86 x86_64 |
|
|
#%{_libdir}/audacious/Input/usf.so |
|
|
%endif |
|
223 |
%{_libdir}/audacious/Input/vorbis.so |
%{_libdir}/audacious/Input/vorbis.so |
224 |
%{_libdir}/audacious/Input/vtx.so |
%{_libdir}/audacious/Input/vtx.so |
225 |
%{_libdir}/audacious/Input/xsf.so |
%{_libdir}/audacious/Input/xsf.so |
229 |
%{_libdir}/audacious/Effect/crossfade.so |
%{_libdir}/audacious/Effect/crossfade.so |
230 |
%{_libdir}/audacious/Effect/crystalizer.so |
%{_libdir}/audacious/Effect/crystalizer.so |
231 |
%{_libdir}/audacious/Effect/echo.so |
%{_libdir}/audacious/Effect/echo.so |
|
%{_libdir}/audacious/Effect/ladspa.so |
|
232 |
%{_libdir}/audacious/Effect/mixdown.so |
%{_libdir}/audacious/Effect/mixdown.so |
233 |
%{_libdir}/audacious/Effect/resample.so |
%{_libdir}/audacious/Effect/resample.so |
234 |
%{_libdir}/audacious/Effect/sndstretch.so |
%{_libdir}/audacious/Effect/sndstretch.so |
241 |
%{_libdir}/audacious/Output/null.so |
%{_libdir}/audacious/Output/null.so |
242 |
%{_libdir}/audacious/Output/sdlout.so |
%{_libdir}/audacious/Output/sdlout.so |
243 |
%dir %{_libdir}/audacious/Transport/ |
%dir %{_libdir}/audacious/Transport/ |
|
%{_libdir}/audacious/Transport/gio.so |
|
244 |
%{_libdir}/audacious/Transport/mms.so |
%{_libdir}/audacious/Transport/mms.so |
245 |
%{_libdir}/audacious/Transport/neon.so |
%{_libdir}/audacious/Transport/neon.so |
246 |
%{_libdir}/audacious/Transport/unix-io.so |
%{_libdir}/audacious/Transport/unix-io.so |
248 |
%{_libdir}/audacious/Visualization/blur_scope.so |
%{_libdir}/audacious/Visualization/blur_scope.so |
249 |
%{_libdir}/audacious/Visualization/cairo-spectrum.so |
%{_libdir}/audacious/Visualization/cairo-spectrum.so |
250 |
%{_libdir}/audacious/Visualization/moodbar.so |
%{_libdir}/audacious/Visualization/moodbar.so |
|
%{_libdir}/audacious/Visualization/paranormal.so |
|
251 |
%{_libdir}/audacious/Visualization/rocklight.so |
%{_libdir}/audacious/Visualization/rocklight.so |
252 |
%{_libdir}/audacious/Visualization/spectrum.so |
%{_datadir}/audacious |
|
%_datadir/audacious |
|
253 |
|
|
254 |
%files -n audacious-wavpack |
%files -n audacious-wavpack |
255 |
%defattr(0644,root,root,0755) |
%defattr(-,root,root) |
256 |
%{_libdir}/audacious/Input/wavpack.so |
%{_libdir}/audacious/Input/wavpack.so |
257 |
|
|
258 |
%files -n audacious-jack |
%files -n audacious-jack |
259 |
%defattr(0644,root,root,0755) |
%defattr(-,root,root) |
260 |
%{_libdir}/audacious/Output/jackout.so |
%{_libdir}/audacious/Output/jackout.so |
261 |
|
|
262 |
%files -n audacious-pulse |
%files -n audacious-pulse |
263 |
%defattr(0644,root,root,0755) |
%defattr(-,root,root) |
264 |
%{_libdir}/audacious/Output/pulse_audio.so |
%{_libdir}/audacious/Output/pulse_audio.so |
265 |
|
|
266 |
%files -n audacious-sid |
%files -n audacious-sid |
267 |
%defattr(-,root,root) |
%defattr(-,root,root) |
268 |
%{_libdir}/audacious/Input/sid.so |
%{_libdir}/audacious/Input/sid.so |
269 |
|
|
270 |
%files -n audacious-adplug |
%files -n audacious-adplug |
271 |
%defattr(-,root,root) |
%defattr(-,root,root) |
272 |
%{_libdir}/audacious/Input/adplug.so |
%{_libdir}/audacious/Input/adplug.so |
273 |
|
|
274 |
%if 0 |
%files -n audacious-fluidsynth |
|
%files -n audacious-timidity |
|
|
%defattr(-,root,root) |
|
|
%{_libdir}/audacious/Input/timidity.so |
|
|
%endif |
|
|
|
|
|
%files -n audacious-fluidsynth |
|
|
%defattr(0644,root,root,0755) |
|
|
%_libdir/audacious/Input/amidi-plug/ap-fluidsynth.so |
|
|
|
|
|
%files -n audacious-projectm |
|
275 |
%defattr(-,root,root) |
%defattr(-,root,root) |
276 |
%{_libdir}/audacious/Visualization/projectm-1.0.so |
%{_libdir}/audacious/Input/amidi-plug/ap-fluidsynth.so |