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