29a561a
# Minimum audacious/audacious-plugins version in inter-package
536e7d8
# dependencies.
5b5df2b
# We need 2.2 as 2.1 is insufficient.
5b5df2b
%define aud_ver 2.2
1b900bd
536e7d8
Name: audacious-plugins
5b5df2b
Version: 2.2
8412cba
Release: 10%{?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.
6b23d5f
# Removed: aac madplug
536e7d8
# Disabled via options where possible, see %%build.
5873493
Source0: audacious-plugins-fedora-%{version}.tar.bz2
536e7d8
#Source0: http://distfiles.atheme.org/audacious-plugins-%{version}.tgz
ed4a7f6
Source1: audacious-sid.desktop
536e7d8
7daa2fb
Patch0: audacious-plugins-2.0.1-xmms-skindir.patch
1495fde
# obsolete with version upgrade: declaration conflict for jack_free
7daa2fb
Patch1: audacious-plugins-2.2-jack.patch
1495fde
#
1495fde
Patch2: audacious-plugins-2.2-neon-request.patch
a30e317
# merged upstream
1495fde
Patch3: audacious-plugins-2.2-cfg_db_close.patch
a30e317
# merged upstream
1495fde
Patch4: audacious-plugins-2.2-bluetooth.patch
a30e317
# merged upstream
a30e317
Patch5: audacious-plugins-2.2-alarm.patch
8a51853
# obsolete with version upgrade (AUDPLUG-159), but recheck that XMP's plugin
8a51853
# no longer manages to insert non-URI filenames into the playlist
cd8f066
Patch6: audacious-plugins-2.2-xspf-base.patch
4805132
# merged upstream (AUDPLUG-160)
13ae720
Patch7: audacious-plugins-2.2-svis_expose.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: fluidsynth-devel
536e7d8
BuildRequires: libshout-devel
536e7d8
BuildRequires: curl-devel
536e7d8
BuildRequires: libbinio-devel
536e7d8
BuildRequires: libcdio-devel
fb8b8d5
BuildRequires: libcue-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
ed4a7f6
BuildRequires: desktop-file-utils
2ddd52c
f54e7f8
# experimental, disabled by default
536e7d8
BuildRequires: neon-devel
bfa5dbf
536e7d8
Requires: audacious >= %{aud_ver}
536e7d8
515c394
# temporarily till that upgrade is marked stable
515c394
Requires: alsa-lib >= 1.0.22
515c394
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
ed4a7f6
# obsolete old subpackage -- no reason to split this off
ed4a7f6
Obsoletes: audacious-plugins-metronome < 2.2-2
ed4a7f6
Provides: audacious-plugins-metronome = %{version}-%{release}
ed4a7f6
ed4a7f6
bfa5dbf
%description
fa714e2
Audacious is a media player that currently uses a skinned user interface
ed4a7f6
(based on Winamp 2.x skins) as well as a separate GTK2 based front end.
ed4a7f6
Historically, it started as a fork of Beep Media Player (BMP), which
ed4a7f6
itself forked from XMMS.
fa714e2
fa714e2
This package provides essential plugins for audio input, audio output and
fa714e2
visualization.
bfa5dbf
bfa5dbf
536e7d8
%package jack
ed4a7f6
Summary: Audacious output plugin for Jack Audio Connection Kit
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
ed4a7f6
Jack Audio Connection Kit (JACK) sound service.
bfa5dbf
bfa5dbf
536e7d8
%package esd
ed4a7f6
Summary: Audacious output plugin for EsounD 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
ed4a7f6
EsounD service.
bfa5dbf
bfa5dbf
536e7d8
%package amidi
ed4a7f6
Summary: Audacious input plugin for MIDI
536e7d8
Group: Applications/Multimedia
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
bfa5dbf
536e7d8
%description amidi
ed4a7f6
This package provides AMIDI-Plug, a modular MIDI music player, as an
ed4a7f6
input plugin for Audacious.
bfa5dbf
bfa5dbf
ed4a7f6
%package sid
ed4a7f6
Summary: Audacious input plugin for SID music files
536e7d8
Group: Applications/Multimedia
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
ed4a7f6
Requires(post): desktop-file-utils
ed4a7f6
Requires(postun): desktop-file-utils
be2887b
ed4a7f6
%description sid
ed4a7f6
This package provides an Audacious input plugin for SID music files.
be2887b
ed4a7f6
This build of the plugin uses libsidplay 1. 3rd party package
ed4a7f6
providers may build it with libsidplay 2.
be2887b
be2887b
ed4a7f6
%package wavpack
ed4a7f6
Summary: Audacious input plugin for WavPack compressed files
536e7d8
Group: Applications/Multimedia
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
18c915b
ed4a7f6
%description wavpack
ed4a7f6
This package provides an Audacious input plugin that reads WavPack
ed4a7f6
compressed files.
18c915b
18c915b
536e7d8
%package vortex
ed4a7f6
Summary: Audacious input plugin for Vortex format files
536e7d8
Group: Applications/Multimedia
536e7d8
Requires: audacious >= %{aud_ver}, audacious-plugins >= %{aud_ver}
18c915b
536e7d8
%description vortex
ed4a7f6
This package provides an Audacious input plugin that reads files
ed4a7f6
in Vortex (.vtx) format.
18c915b
18c915b
18c915b
bfa5dbf
%prep
5873493
%setup -q -n audacious-plugins-fedora-%{version}
7daa2fb
%patch0 -p1 -b .xmms-skindir
7daa2fb
%patch1 -p1 -b .jack
1495fde
%patch2 -p1 -b .neon-request
1495fde
%patch3 -p1 -b .cfg_db_close
1495fde
%patch4 -p1 -b .bluetooth
a30e317
%patch5 -p1 -b .alarm
cd8f066
%patch6 -p1 -b .xspf
13ae720
%patch7 -p1 -b .svis_expose
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  \
5b5df2b
    --disable-ffaudio  \
536e7d8
    --disable-mp3  \
536e7d8
    --disable-mms  \
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}
ed4a7f6
# audacious-sid.desktop
ed4a7f6
desktop-file-install --vendor "" \
ed4a7f6
    --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
ed4a7f6
    %{SOURCE1}
bfa5dbf
bfa5dbf
bfa5dbf
%clean
bfa5dbf
rm -rf $RPM_BUILD_ROOT
bfa5dbf
bfa5dbf
ed4a7f6
%post sid
ed4a7f6
update-desktop-database &> /dev/null || :
ed4a7f6
ed4a7f6
%postun sid
ed4a7f6
update-desktop-database &> /dev/null || :
ed4a7f6
ed4a7f6
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
ed4a7f6
%exclude %{_libdir}/audacious/Input/sid.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
ed4a7f6
%files sid
be2887b
%defattr(-,root,root,-)
ed4a7f6
%{_libdir}/audacious/Input/sid.so
ed4a7f6
%{_datadir}/applications/audacious-sid.desktop
be2887b
ed4a7f6
%files wavpack
18c915b
%defattr(-,root,root,-)
ed4a7f6
%{_libdir}/audacious/Input/wavpack.so
18c915b
18c915b
%files vortex
18c915b
%defattr(-,root,root,-)
0b2608b
%{_libdir}/audacious/Input/vtx.so
18c915b
bfa5dbf
bfa5dbf
%changelog
8412cba
* Fri Jan  8 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-10
8412cba
- In neon transport, after error handling set destroyed request
8412cba
  pointers to NULL, so vfs read exits early.
8412cba
af129dd
* Fri Jan  8 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-9
af129dd
- Enable modplug plugin again: The code is an "in-progress rewrite [...]
af129dd
  with many fixes for module formats not available in libmodplug, and is
af129dd
  built partially on top of the work that the Schism Tracker authors have
af129dd
  been doing.  Using libmodplug would be a step backwards as far as module
af129dd
  compatibility goes." (AUDPLUG-158)
af129dd
13ae720
* Sat Jan  2 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-8
13ae720
- Fix stack smashing in ui_svis_expose (#551801).
13ae720
cd8f066
* Thu Dec 31 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-7
cd8f066
- Fix xspf Container plugin's handling of plain file names.
47fc59a
- Disable modplug plugin (where is it compared with libmodplug and
47fc59a
  its fixes and CVEs?). Give precedence to audacious-plugin-xmp
50970a7
- Remove BR libmodplug-devel as the modplug plugin has never used
50970a7
  the external library.
50970a7
a30e317
* Wed Dec 30 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-6
a30e317
- Fix the alarm plugin.
a30e317
ca6a514
* Fri Dec 25 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-5
ca6a514
- Remove BR libtimidity-devel as that plugin is no longer available.
ca6a514
352da9a
* Fri Dec 25 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-4
352da9a
- Let bluetooth plugin access "alsa-gapless" config values not "alsa"
352da9a
  as it will be called in post-2.2.
352da9a
1495fde
* Sat Dec 19 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-3
1495fde
- Beat bluetooth plugin a bit.
1495fde
- Fix missing aud_cfg_db_close calls.
1495fde
- Avoid that neon's ne_request_destroy() is called with a NULL ptr.
1495fde
ed4a7f6
* Wed Dec  2 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-2
ed4a7f6
- Move SID music plugin into audacious-plugins-sid package. Its 
ed4a7f6
  built with libsidplay 1 while 3rd party package providers may
ed4a7f6
  build it with libsidplay 2.
ed4a7f6
- Include metronome plugin in base plugins package. No reason to
ed4a7f6
  split this off into an optional subpackage.
ed4a7f6
5873493
* Wed Nov 25 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-1
5873493
- Upgrade to 2.2 (declared as the next "stable release" after 2.1).
5873493
- The ladspa plugin has been reworked since beta2.
5873493
fb8b8d5
* Tue Nov 24 2009 Michael Schwendt <mschwendt@fedoraproject.org>
fb8b8d5
- BR libcue-devel which is available now and is enabled by default
fb8b8d5
  post 2.2-beta2
fb8b8d5
- Drop --disable-tta switch as that plugin is gone.
fb8b8d5
00a4c60
* Fri Nov 13 2009 Michael Schwendt <mschwendt@fedoraproject.org>
00a4c60
- Remove BR libmpcdec-devel ("musepack" plugin is not available anymore
00a4c60
  after 2.1 as it got removed in favour of "ffaudio"/ffmpeg plugin).
00a4c60
6b23d5f
* Tue Nov 10 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.4.beta2
6b23d5f
- Upgrade to 2.2-beta2
6b23d5f
- Add patch to use old/working ladspa plugin from 2.0.1 (#533641).
6b23d5f
590ff29
* Fri Oct 30 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.4.beta1
590ff29
- Fix non-top-level filewriter plugin dialogs.
590ff29
7e808c5
* Sun Oct 25 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.3.beta1
7e808c5
- Update pulse_audio patch with correct get_song_name().
7e808c5
22e5b66
* Sun Oct 25 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.2.beta1
22e5b66
- Patch modplug plugin to remove old cruft and fix playback.
22e5b66
5b5df2b
* Thu Oct 22 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.1.beta1
5b5df2b
- Upgrade to 2.2-beta1
89840b1
- Port old pulse_audio plugin from Audacious 2.1
5b5df2b
  and patch it to fix volume issues.
5b5df2b
a08905c
* Wed Oct 21 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-7
a08905c
- Patch pulseaudio plugin to not suffer from precision loss when
a08905c
  calculating the volume level to save.
a08905c
397782d
* Wed Oct 21 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-6
397782d
- Rediff the underruns patch and set buffer_time_min.
397782d
397782d
* Mon Oct 19 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1-5
397782d
- Patch pulseaudio plugin to not get confused by volume values passed
397782d
  in via callback.
397782d
5b5df2b
* Sun Oct 18 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.1.alpha2
5b5df2b
- Upgrade to 2.2-alpha2 (breaks ALSA output with alsa-plugins-pulseaudio!)
5b5df2b
5b5df2b
* Sun Sep 20 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.2-0.1.alpha1
5b5df2b
- Upgrade to 2.2-alpha1 (primarly for alsa-gapless output plugin).
5b5df2b
- Removes pulse_audio output plugin!
5b5df2b
- Obsolete patches: timidity-cfg, keep-mixer-open
5b5df2b
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