- added kde-ac260/kde-ac260-lt patches.
[packages/akode.git] / akode.spec
index 698c40f826339f01515b4a54a6686c68e2b0701f..d893fdeda6ca6e7a3efc7d0cc55d267cdeffb081 100644 (file)
@@ -2,12 +2,15 @@
 Summary:       Audio-decoding framework library
 Summary(pl):   Biblioteka szkieletu dekodowania d¼wiêku
 Name:          akode
-Version:       2.0
+Version:       2.0.1
 Release:       1
 License:       LGPL
 Group:         Libraries
-Source0:       http://www.kde-apps.org/content/files/30375-%{name}-%{version}.tar.gz
-# Source0-md5: 04f79cda65c8e9966fa462eaaaa282dc
+Source0:       http://www.kde-apps.org/content/files/30375-%{name}-%{version}.tar.bz2
+# Source0-md5: 94a10e7729b20b669bc5c7721f62e162
+Patch0:                %{name}-pulseaudio.patch
+Patch1:                kde-ac260.patch
+Patch2:                kde-ac260-lt.patch
 URL:           http://www.carewolf.com/akode/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf
@@ -15,14 +18,16 @@ BuildRequires:      automake
 BuildRequires: ffmpeg-devel >= 0.4.9-3.20050806.5
 BuildRequires: flac-devel >= 1.1.1
 BuildRequires: jack-audio-connection-kit-devel >= 0.90
+BuildRequires: faad2-devel
 BuildRequires: libltdl-devel
 BuildRequires: libmad-devel
 BuildRequires: libogg-devel
 BuildRequires: libsamplerate-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libvorbis-devel >= 1:1.0
+BuildRequires: libx264-devel
 BuildRequires: pkgconfig
-BuildRequires: polypaudio-devel >= 0.7
+BuildRequires: pulseaudio-devel >= 0.9.2
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRequires: speex-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -49,6 +54,9 @@ Pliki nag
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
@@ -64,7 +72,7 @@ USER_INCLUDES="-I%{_includedir}/speex" \
        --with-libmad \
        --with-libsamplerate \
        --with-jack \
-       --with-polypaudio \
+       --with-pulseaudio \
        --with-ffmpeg \
        --with-oss \
        --with-alsa \
This page took 0.052199 seconds and 4 git commands to generate.