# - visualization-projectM plugin doesn't work for me (SIGSEGV)
#
# NOTE:
-# - projectM plugin is available in two versions, bulding only newest
-%define audver 1.4.4
+# - projectM plugin is available in two versions, building only newest
+%define audver 1.5.0
Summary: Plugins for Audacious media player (metapackage)
Summary(pl.UTF-8): Wtyczki dla odtwarzacza multimedialnego Audacious (metapakiet)
Name: audacious-plugins
-Version: 1.4.2
-Release: 1
+Version: 1.5.0
+Release: 3
License: GPL
Group: X11/Applications/Sound
Source0: http://distfiles.atheme.org/%{name}-%{version}.tbz2
-# Source0-md5: 6976ed2d474a0181cbd1b712c439af2d
-Source1: mp3license
+# Source0-md5: 258fcdc5919a9f649ea66ab55a142835
+Patch0: %{name}-libprojectm11.patch
URL: http://audacious-media-player.org/
# BR by visualization-projectM
BuildRequires: OpenGL-GLU-devel
# BR by output-arts
BuildRequires: artsc-devel >= 0.9.5
BuildRequires: audacious-devel >= %{audver}
+BuildRequires: autoconf
+BuildRequires: automake
# BR by transport-lastfm and general-scrobbler
BuildRequires: curl-devel >= 7.9.7
BuildRequires: esound-devel >= 0.2.8
BuildRequires: flac-devel >= 1.1.2
# BR by output-jack and input-amidi
BuildRequires: fluidsynth-devel >= 1.0.6
+BuildRequires: gettext-devel
+# BR by visualization-projectM
+BuildRequires: gtkglext-devel
BuildRequires: imlib2-devel >= 1.1.0
BuildRequires: lame-libs-devel
BuildRequires: libbinio-devel >= 1.4
# BR by input-cdaudio-ng
-BuildRequires: libcdio-devel >= 0.70
-# BR by input-cdaudio-ng
BuildRequires: libcddb-devel >= 1.1.2
+# BR by input-cdaudio-ng
+BuildRequires: libcdio-devel >= 0.70
BuildRequires: libglade2-devel >= 2.3.1
BuildRequires: libmad-devel
# BR by transport-mms
# BR by general-mtp_up
BuildRequires: libmtp-devel >= 0.1.3
# BR by visualization-projectM
-BuildRequires: libprojectM-devel >= 1.0
+BuildRequires: libprojectM-devel >= 1.1
BuildRequires: libsamplerate-devel
BuildRequires: libsidplay-devel
BuildRequires: libsndfile-devel >= 0.19
BuildRequires: neon-devel
BuildRequires: pango-devel >= 1.14.7
BuildRequires: pkgconfig
-BuildRequires: pulseaudio-devel >= 0.9.3
+BuildRequires: pulseaudio-devel >= 0.9.9
BuildRequires: taglib-devel >= 1.4
BuildRequires: wavpack-devel >= 4.31
# BR by general-aosd (X Composite Support)
Requires: audacious-input-cdaudio-ng = %{version}-%{release}
Requires: audacious-input-console = %{version}-%{release}
Requires: audacious-input-cuesheet = %{version}-%{release}
+Requires: audacious-input-demac = %{version}-%{release}
Requires: audacious-input-flacng = %{version}-%{release}
Requires: audacious-input-madplug = %{version}-%{release}
Requires: audacious-input-metronom = %{version}-%{release}
Requires: audacious-input-musepack = %{version}-%{release}
Requires: audacious-input-sexypsf = %{version}-%{release}
Requires: audacious-input-sid = %{version}-%{release}
+Requires: audacious-input-sndfile = %{version}-%{release}
Requires: audacious-input-timidity = %{version}-%{release}
Requires: audacious-input-tonegen = %{version}-%{release}
Requires: audacious-input-tta = %{version}-%{release}
Requires: audacious-input-vorbis = %{version}-%{release}
Requires: audacious-input-vtx = %{version}-%{release}
-Requires: audacious-input-wav = %{version}-%{release}
Requires: audacious-input-wavpack = %{version}-%{release}
Requires: audacious-input-wma = %{version}-%{release}
Requires: audacious-output-alsa = %{version}-%{release}
Requires: audacious-transport-lastfm = %{version}-%{release}
Requires: audacious-transport-mms = %{version}-%{release}
Requires: audacious-transport-neon = %{version}-%{release}
-Requires: audacious-transport-stdio = %{version}-%{release}
Requires: audacious-visualization-blur-scope = %{version}-%{release}
Requires: audacious-visualization-paranormal = %{version}-%{release}
Requires: audacious-visualization-projectM = %{version}-%{release}
%description -n audacious-input-cuesheet -l pl.UTF-8
Wtyczka wejściowa cuesheet dla odtwarzacza multimedialnego Audacious.
+%package -n audacious-input-demac
+Summary: Audacious media player - demac input plugin
+Summary(pl.UTF-8): Wtyczka wejściowa demac odtwarzacza multimedialnego Audacious
+Group: X11/Applications/Sound
+Requires: audacious = %{audver}
+
+%description -n audacious-input-demac
+demac input plugin for Audacious media player.
+
+%description -n audacious-input-demac -l pl.UTF-8
+Wtyczka wejściowa demac dla odtwarzacza multimedialnego Audacious.
+
%package -n audacious-input-flacng
Summary: Audacious media player - FLAC input plugin
Summary(pl.UTF-8): Wtyczka do odtwarzania plików FLAC odtwarzacza multimedialnego Audacious
%description -n audacious-input-sid -l pl.UTF-8
Wtyczka wejściowa SID dla odtwarzacza multimedialnego Audacious.
+%package -n audacious-input-sndfile
+Summary: Audacious media player - sndfile input plugin that uses libsndfile to read files
+Summary(pl.UTF-8): Wtyczka wejściowa sndfile odtwarzacza multimedialnego Audacious używająca libsndfile do czytania plików
+Group: X11/Applications/Sound
+Requires: audacious = %{audver}
+
+%description -n audacious-input-sndfile
+sndfile is an input plugin for Audacious. Using sndfile extends
+the capabilities of Audacious to open and play any file which can be opened
+and read by libsndfile, including WAV, AIFF, AU, and SVX files and
+many compressed version of these file formats.
+
+%description -n audacious-input-sndfile -l pl.UTF-8
+sndfile to wtyczka wejściowa dla Audacious-a. Jej użycie rozszerza
+możliwości Audacious-a o otwieranie i odtwarzanie dowolnych plików, które
+można otworzyć i odczytać przy pomocy biblioteki libsndfile, w tym
+WAV, AIFF, AU i SVX oraz wiele skompresowanych wersji tych formatów.
+
%package -n audacious-input-timidity
Summary: Audacious media player - Timidity input plugin
Summary(pl.UTF-8): Wtyczka wejściowa Timidity odtwarzacza multimedialnego Audacious
%description -n audacious-input-vtx -l pl.UTF-8
Wtyczka wejściowa vtx dla odtwarzacza multimedialnego Audacious.
-%package -n audacious-input-wav
-Summary: Audacious media player - WAV input plugin
-Summary(pl.UTF-8): Wtyczka do odtwarzania plików WAV odtwarzacza multimedialnego Audacious
-Group: X11/Applications/Sound
-Requires: audacious = %{audver}
-
-%description -n audacious-input-wav
-WAV input plugin for Audacious media player.
-
-%description -n audacious-input-wav -l pl.UTF-8
-Wtyczka dla odtwarzacza multimedialnego Audacious do obsługi plików
-WAV.
-
%package -n audacious-input-wavpack
Summary: Audacious media player - WavPack input plugin
Summary(pl.UTF-8): Wtyczka do odtwarzania skompresowanych plików WAV odtwarzacza multimedialnego Audacious
%prep
%setup -q
+%patch0 -p1
%{__sed} -i \
-e 's#include "projectM/event.h"#include <libprojectM/event.h>#' src/projectm/sdltoprojectM.h \
-e 's#include <projectM/#include <libprojectM/#g' src/projectm/main.c
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/audacious/Input/cuesheet.so
+%files -n audacious-input-demac
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/audacious/Input/demac.so
+
%files -n audacious-input-flacng
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/audacious/Input/flacng.so
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/audacious/Input/sid.so
+%files -n audacious-input-sndfile
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/audacious/Input/sndfile.so
+
%files -n audacious-input-timidity
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/audacious/Input/timidity.so
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/audacious/Input/vtx.so
-%files -n audacious-input-wav
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/audacious/Input/wav.so
-
%files -n audacious-input-wavpack
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/audacious/Input/wavpack.so