rpms/akode/devel akode-2.0.2-flac113-portable.patch, NONE, 1.1 akode.spec, 1.16, 1.17

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Dec 24 04:28:45 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/akode/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28445

Modified Files:
	akode.spec 
Added Files:
	akode-2.0.2-flac113-portable.patch 
Log Message:
* Sun Dec 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-3
- fix flac113 support


akode-2.0.2-flac113-portable.patch:

--- NEW FILE akode-2.0.2-flac113-portable.patch ---
--- branches/kdesupport/3.5/kdesupport/akode/plugins/xiph_decoder/flac113_decoder.cpp	2007/04/14 22:11:43	654042
+++ branches/kdesupport/3.5/kdesupport/akode/plugins/xiph_decoder/flac113_decoder.cpp	2007/04/14 22:14:06	654043
@@ -108,7 +108,7 @@
 static FLAC__StreamDecoderReadStatus flac_read_callback(
         const FLAC__StreamDecoder *,
         FLAC__byte buffer[],
-        unsigned *bytes,
+        size_t *bytes,
         void *client_data)
 {
     FLACDecoder::private_data *data = (FLACDecoder::private_data*)client_data;


Index: akode.spec
===================================================================
RCS file: /cvs/pkgs/rpms/akode/devel/akode.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- akode.spec	24 Dec 2007 03:40:40 -0000	1.16
+++ akode.spec	24 Dec 2007 04:28:02 -0000	1.17
@@ -2,7 +2,7 @@
 Summary: Audio-decoding framework 
 Name:	 akode 
 Version: 2.0.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 License: LGPLv2+
 Group: 	 System Environment/Libraries
@@ -13,7 +13,9 @@
 
 Patch1: akode-pulseaudio.patch
 Patch2: akode-2.0.2-multilib.patch
+Patch3: akode-2.0.2-flac113-portable.patch
 
+%define _with_flac --with-flac
 %if 0%{?fedora} > 4
 %define _with_jack --with-jack
 %define _with_pulseaudio --with-pulseaudio
@@ -26,7 +28,7 @@
 
 BuildRequires: automake libtool
 BuildRequires: alsa-lib-devel
-BuildRequires: flac-devel
+%{?_with_flac:BuildRequires: flac-devel}
 %{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
 BuildRequires: libsamplerate-devel
 BuildRequires: libvorbis-devel
@@ -83,6 +85,7 @@
 
 %patch1 -p1 -b .pulseaudio
 %patch2 -p1 -b .multilib
+%patch3 -p4 -b .flac113_portable
 
 #[ ! -f configure ] && \
 make -f Makefile.cvs
@@ -95,7 +98,7 @@
   --without-libltdl \
   --with-alsa \
   --without-oss \
-  --with-flac \
+  %{?_with_flac} %{!?_with_flac:--without-flac} \
   %{?_with_jack} %{!?_with_jack:--without-jack} \
   --with-libsamplerate \
   %{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \
@@ -166,6 +169,9 @@
 
 
 %changelog
+* Sun Dec 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-3
+- fix flac113 support
+
 * Sun Dec 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-2
 - fix multilib conflicts (#340591)
 




More information about the fedora-extras-commits mailing list