/[packages]/cauldron/audacious-plugins/current/SPECS/audacious-plugins.spec
ViewVC logotype

Contents of /cauldron/audacious-plugins/current/SPECS/audacious-plugins.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.28