29a561a
# Minimum audacious/audacious-plugins version in inter-package
536e7d8
# dependencies.
536e7d8
# We need 2.1 as 2.0.1 is insufficient.
536e7d8
%define aud_ver 2.1
1b900bd
536e7d8
Name: audacious-plugins
536e7d8
Version: 2.1
efe8268
Release: 22%{?dist}
536e7d8
Summary: Plugins for the Audacious media player
536e7d8
Group: Applications/Multimedia
536e7d8
URL: http://audacious-media-player.org/
931856a
931856a
# LGPLv2+: adplug, bio2jack, rocklight
931856a
# MIT: crystalizer, dockalbumart
931856a
# BSD: lastfm
536e7d8
License: GPLv2 and GPLv2+ and LGPLv2+ and MIT and BSD
536e7d8
536e7d8
# Modified source tarball to remove problematic files.
536e7d8
# Removed: aac alc demac tta wma
536e7d8
# Not removed (no codec included): madplug mms
536e7d8
# Disabled via options where possible, see %%build.
536e7d8
Source0: audacious-plugins-fedora-%{version}.tar.bz2
536e7d8
#Source0: http://distfiles.atheme.org/audacious-plugins-%{version}.tgz
536e7d8
536e7d8
Patch1: audacious-plugins-1.5.1-timidity-cfg.patch
536e7d8
Patch2: audacious-plugins-2.0.1-xmms-skindir.patch
2dc41f8
Patch3: audacious-plugins-2.1-alsa-ng.patch
2dc41f8
Patch4: audacious-plugins-2.1-underruns.patch
79612b6
Patch5: audacious-plugins-2.1-pulseaudio-volume.patch
79612b6
Patch6: audacious-plugins-2.1-pulseaudio-volume-accuracy.patch
1dc939d
Patch7: audacious-plugins-2.1-modplug.patch
d2e71c3
Patch8: audacious-plugins-2.1-sndfile-playfix.patch
d55646d
Patch9: audacious-plugins-2.1-filewriter-dialogs.patch
85a2877
Patch10: audacious-plugins-2.1-playlist-scrollbar.patch
939e8c6
Patch11: audacious_20090702_console.diff
939e8c6
Patch12: audacious-plugins-2.1-ladspa-backto201.patch
1ef2bed
Patch13: audacious-plugins-2.1-musepack.patch
f5a1857
# merged upstream
4323434
Patch14: audacious-plugins-2.1-sndstretch-dialog.patch
f5a1857
# merged upstream: dialog fix
f5a1857
# not necessary in 2.2-beta2?: crash work-around
dbb1d3f
Patch15: audacious-plugins-2.1-icecast.patch
536e7d8
536e7d8
BuildRequires: audacious-devel >= %{aud_ver}
536e7d8
BuildRequires: jack-audio-connection-kit-devel libsamplerate-devel
536e7d8
BuildRequires: alsa-lib-devel
536e7d8
BuildRequires: pulseaudio-libs-devel
536e7d8
BuildRequires: esound-devel
536e7d8
BuildRequires: libsndfile-devel
536e7d8
BuildRequires: taglib-devel
536e7d8
BuildRequires: wavpack-devel
536e7d8
BuildRequires: libsidplay-devel
536e7d8
BuildRequires: libogg-devel libvorbis-devel
536e7d8
BuildRequires: flac-devel
536e7d8
BuildRequires: libmodplug-devel
536e7d8
BuildRequires: fluidsynth-devel
536e7d8
BuildRequires: libshout-devel
536e7d8
BuildRequires: libmpcdec-devel
536e7d8
BuildRequires: libtimidity-devel
536e7d8
BuildRequires: curl-devel
536e7d8
BuildRequires: libbinio-devel
536e7d8
BuildRequires: libcdio-devel
536e7d8
BuildRequires: SDL-devel
536e7d8
BuildRequires: lirc-devel
536e7d8
BuildRequires: bluez-libs-devel
536e7d8
BuildRequires: libXcomposite-devel
536e7d8
BuildRequires: libcddb-devel
536e7d8
BuildRequires: libmtp-devel
536e7d8
BuildRequires: libxml2-devel
536e7d8
BuildRequires: gettext
2ddd52c
f54e7f8
# experimental, disabled by default
536e7d8
BuildRequires: neon-devel
bfa5dbf
536e7d8
Requires: audacious >= %{aud_ver}
536e7d8
536e7d8
# last in 1.5.1
536e7d8
Obsoletes: audacious-plugins-arts
bfa5dbf
f54e7f8
# last tagged f8-final
536e7d8
Obsoletes: audacious-plugins-pulseaudio <= 1.3.5
536e7d8
Provides: audacious-plugins-pulseaudio = %{version}
0b2608b
bfa5dbf
%description
fa714e2
Audacious is a media player that currently uses a skinned user interface
fa714e2
based on Winamp 2.x skins. It is based on ("forked off") BMP.
fa714e2
fa714e2
This package provides essential plugins for audio input, audio output and
fa714e2
visualization.
bfa5dbf
bfa5dbf
536e7d8
%package jack
536e7d8
Summary: Audacious output plugin for JACK sound service
536e7d8
Group: Applications/Multimedia
536e7d8
# ancient
536e7d8
#Obsoletes: audacious-jack <= 1.1.2
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
bfa5dbf
536e7d8
%description jack
bfa5dbf
This package provides an Audacious output plugin that uses the
bfa5dbf
JACK sound service.
bfa5dbf
bfa5dbf
536e7d8
%package esd
536e7d8
Summary: Audacious output plugin for esd sound service
536e7d8
Group: Applications/Multimedia
536e7d8
# ancient
536e7d8
#Obsoletes: audacious-esd <= 1.1.2
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
bfa5dbf
536e7d8
%description esd
bfa5dbf
This package provides an Audacious output plugin that uses the
bfa5dbf
ESD sound server.
bfa5dbf
bfa5dbf
536e7d8
%package amidi
536e7d8
Summary: Audacious input plugin for amidi
536e7d8
Group: Applications/Multimedia
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
bfa5dbf
536e7d8
%description amidi
bfa5dbf
This package provides an Audacious input plugin that uses the
bfa5dbf
amidi sound service.
bfa5dbf
bfa5dbf
bfa5dbf
536e7d8
%package wavpack
536e7d8
Summary: Audacious input plugin for wavpack
536e7d8
Group: Applications/Multimedia
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
be2887b
536e7d8
%description wavpack
be2887b
This package provides an Audacious input plugin that reads WavPack
be2887b
compressed files.
be2887b
be2887b
be2887b
536e7d8
%package metronome
536e7d8
Summary: Audacious input plugin simulating a metronome
536e7d8
Group: Applications/Multimedia
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
18c915b
536e7d8
%description metronome
18c915b
This package provides an Audacious input plugin that simulates
18c915b
a metronome.
18c915b
18c915b
18c915b
536e7d8
%package vortex
536e7d8
Summary: Audacious input plugin for vortex audio files
536e7d8
Group: Applications/Multimedia
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
18c915b
536e7d8
%description vortex
18c915b
This package provides an Audacious input plugin that reads
18c915b
vortex compressed files.
18c915b
18c915b
18c915b
bfa5dbf
%prep
bfa5dbf
%setup -q -n audacious-plugins-fedora-%{version}
bfa5dbf
536e7d8
%patch1 -p1 -b .timidity-cfg
536e7d8
%patch2 -p1 -b .xmms-skindir
2dc41f8
%patch3 -p1 -b .alsa-ng
2dc41f8
%patch4 -p1 -b .underruns
bac4923
%patch5 -p1 -b .pulseaudio-volume
79612b6
%patch6 -p1 -b .pulseaudio-volume-accuracy
1dc939d
%patch7 -p1 -b .modplug
d2e71c3
%patch8 -p1 -b .sndfile-playfix
d55646d
%patch9 -p1 -b .filewriter-dialogs
85a2877
%patch10 -p1 -b .playlist-scrollbar
939e8c6
%patch11 -p1 -b .console
939e8c6
%patch12 -p1 -b .ladspa
56a4bb2
%patch13 -p1 -b .musepack
4323434
%patch14 -p1 -b .sndstretch-dialog
dbb1d3f
%patch15 -p1 -b .icecast
29a561a
29a561a
sed -i '\,^.SILENT:,d' buildsys.mk.in
0b2608b
bfa5dbf
%build
536e7d8
# --disable-esd
536e7d8
# --enable-neon : experimental, disabled by default
536e7d8
%configure  \
536e7d8
    --enable-chardet  \
536e7d8
    --enable-amidiplug  \
536e7d8
    --enable-neon  \
536e7d8
    \
536e7d8
    --disable-aac  \
536e7d8
    --disable-ape  \
536e7d8
    --disable-mp3  \
536e7d8
    --disable-mms  \
536e7d8
    --disable-tta  \
536e7d8
    --disable-wma  \
536e7d8
    --disable-libmadtest  \
536e7d8
    \
536e7d8
    --disable-oss  \
536e7d8
    --disable-projectm  \
536e7d8
    --disable-sse2  \
536e7d8
    --disable-rpath  \
536e7d8
    --disable-dependency-tracking
0b2608b
make %{?_smp_mflags}
bfa5dbf
bfa5dbf
bfa5dbf
%install
bfa5dbf
rm -rf $RPM_BUILD_ROOT
29a561a
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
18c915b
%find_lang %{name}
bfa5dbf
bfa5dbf
bfa5dbf
%clean
bfa5dbf
rm -rf $RPM_BUILD_ROOT
bfa5dbf
bfa5dbf
18c915b
%files -f %{name}.lang
bfa5dbf
%defattr(-,root,root,-)
536e7d8
%doc AUTHORS COPYING
29a561a
%{_libdir}/audacious/Input/
29a561a
%{_libdir}/audacious/Output/
29a561a
%{_libdir}/audacious/Container/
29a561a
%{_libdir}/audacious/Effect/
29a561a
%{_libdir}/audacious/General/
29a561a
%{_libdir}/audacious/Visualization/
29a561a
%{_libdir}/audacious/Transport/
0b2608b
%exclude %{_libdir}/audacious/Input/amidi-plug.so
998d88d
%exclude %{_libdir}/audacious/Input/amidi-plug/
0b2608b
%exclude %{_libdir}/audacious/Input/wavpack.so
0b2608b
%exclude %{_libdir}/audacious/Input/metronom.so
0b2608b
%exclude %{_libdir}/audacious/Input/vtx.so
0b2608b
%exclude %{_libdir}/audacious/Output/jackout.so
0b2608b
%exclude %{_libdir}/audacious/Output/ESD.so
536e7d8
%{_datadir}/audacious/
bfa5dbf
bfa5dbf
%files jack
bfa5dbf
%defattr(-,root,root,-)
0b2608b
%{_libdir}/audacious/Output/jackout.so
bfa5dbf
bfa5dbf
%files esd
bfa5dbf
%defattr(-,root,root,-)
0b2608b
%{_libdir}/audacious/Output/ESD.so
bfa5dbf
bfa5dbf
%files amidi
bfa5dbf
%defattr(-,root,root,-)
0b2608b
%{_libdir}/audacious/Input/amidi-plug.so
998d88d
%{_libdir}/audacious/Input/amidi-plug/
bfa5dbf
be2887b
%files wavpack
be2887b
%defattr(-,root,root,-)
0b2608b
%{_libdir}/audacious/Input/wavpack.so
be2887b
18c915b
%files metronome
18c915b
%defattr(-,root,root,-)
0b2608b
%{_libdir}/audacious/Input/metronom.so
18c915b
18c915b
%files vortex
18c915b
%defattr(-,root,root,-)
0b2608b
%{_libdir}/audacious/Input/vtx.so
18c915b
bfa5dbf
bfa5dbf
%changelog
efe8268
* Mon Nov 30 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-22
efe8268
- Fix musepack playback end for alsa-ng plugin.
efe8268
adca760
* Sat Nov 21 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-21
adca760
- Avoid crash in unconfigured icecast effects plugin.
dbb1d3f
- Fix non-top-level icecast plugin dialog.
4323434
- Fix non-top-level sndstretch plugin dialog.
4323434
62a66f2
* Tue Nov 17 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-18
62a66f2
- Corrupt musepack files were able to crash Audacious.
62a66f2
4e8f14f
* Tue Nov 17 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-17
4e8f14f
- More cleanup in musepack plugin.
4e8f14f
956ec70
* Fri Nov 13 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-16
956ec70
- Make musepack output time work.
1ef2bed
- Patch musepack plugin to remove old cruft and fix playback.
1ef2bed
939e8c6
* Sun Nov  8 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-13
939e8c6
- Add patch to use old/working ladspa plugin from 2.0.1 (#533641).
939e8c6
- Add patch to fix console game music emu crash (#533642).
939e8c6
85a2877
* Sun Nov  1 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-12
85a2877
- Fix playlist scrollbar page up/down click.
85a2877
d55646d
* Fri Oct 30 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-11
d55646d
- Fix non-top-level filewriter plugin dialogs.
d55646d
d2e71c3
* Thu Oct 29 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-10
d2e71c3
- Remove decode_thread from sndfile plugin to fix playback.
d2e71c3
63cefb0
* Mon Oct 26 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-9
63cefb0
- Let buffer_time_min in underruns patch depend on default buffer size.
63cefb0
1dc939d
* Sun Oct 25 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-8
1dc939d
- Patch modplug plugin to remove old cruft and fix playback.
1dc939d
79612b6
* Wed Oct 21 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-7
79612b6
- Patch pulseaudio plugin to not suffer from precision loss when
79612b6
  calculating the volume level to save.
79612b6
703c576
* Wed Oct 21 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-6
703c576
- Rediff the underruns patch and set buffer_time_min.
703c576
bac4923
* Mon Oct 19 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-5
bac4923
- Patch pulseaudio plugin to not get confused by volume values passed
bac4923
  in via callback.
bac4923
2dc41f8
* Sun Sep 20 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-4
2dc41f8
- Patch alsa-ng plugin with some buffer prefilling to fight underruns.
2dc41f8
- Merge minor changes from 2.2-alpha1 alsa-ng plugin.
2dc41f8
1487087
* Thu Jul 30 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-3
1487087
- Keep mixer open and not start at only %50 volume.
1487087
a82ff87
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
a82ff87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a82ff87
536e7d8
* Tue Jul 14 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-1
536e7d8
- Upgrade to 2.1 final.
536e7d8
536e7d8
* Mon Jun 29 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-0.1.beta1
536e7d8
- Upgrade to 2.1beta1.
536e7d8
- Drop merged/obsolete patches.
536e7d8
536e7d8
* Sat Jun  6 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.0.1-0.3
536e7d8
- Make libtimidity not try to open non-existing files.
536e7d8
- Fix non-top-level configure dialogs.
536e7d8
536e7d8
* Sat Jun  6 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.0.1-0.1
536e7d8
- Upgrade to 2.0.1.
536e7d8
- Fix sndfile plugin cleanup crash.
536e7d8
- Major spec overhaul, and drop old %%changelog entries.
536e7d8
- Obsolete -arts plugin.
931856a
- Multiple different licenses are used for the individual plugins.
998d88d
- Move amidi-plug directory to amidi subpackage.
693cbcd
- Build with libsndfile plugin for advanced formats in WAV and
693cbcd
  patch it for pause and seek (also fixes #501007).
693cbcd
6824f70
* Wed May 06 2009 Ralf Ertzinger <ralf@skytale.net> 1.5.1-5
6824f70
- Fix possible crash on neon buffer underrun (BZ#496413)
6824f70