]> git.pld-linux.org Git - packages/SDL_sound.git/commitdiff
- added flac patch (for flac 1.1.3 API)
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 28 Dec 2006 01:02:49 +0000 (01:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added -I/usr/include/speex to CPPFLAGS (for speex 1.1.6+)

Changed files:
    SDL_sound.spec -> 1.17

SDL_sound.spec

index 270b51bfbef3b11be72ef240710200aed20ca958..e772f4be9bdafef9201536ae289b2eb1e230e6b2 100644 (file)
@@ -7,11 +7,12 @@ License:      LGPL
 Group:         Libraries
 Source0:       http://www.icculus.org/SDL_sound/downloads/%{name}-%{version}.tar.gz
 # Source0-md5: 49e197ef7c8ab623d0640dc74be43160
+Patch0:                %{name}-flac.patch
 URL:           http://www.icculus.org/SDL_sound/
 BuildRequires: SDL-devel >= 1.2.6
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: flac-devel
+BuildRequires: flac-devel >= 1.1.3
 BuildRequires: libmikmod-devel >= 3.1.5
 BuildRequires: libmodplug-devel
 BuildRequires: libvorbis-devel >= 1:1.0-6
@@ -54,7 +55,7 @@ Summary(pl):  Pliki nag
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      SDL-devel >= 1.2.6
-Requires:      flac-devel
+Requires:      flac-devel >= 1.1.3
 Requires:      libmikmod-devel >= 3.1.5
 Requires:      libmodplug-devel
 Requires:      libvorbis-devel >= 1:1.0
@@ -81,6 +82,7 @@ Statyczne biblioteki SDL_sound.
 
 %prep
 %setup -q
+%patch0 -p1
 
 echo 'AC_DEFUN([AM_PATH_VORBIS],[XIPH_PATH_VORBIS])' > acinclude.m4
 
@@ -90,7 +92,7 @@ echo 'AC_DEFUN([AM_PATH_VORBIS],[XIPH_PATH_VORBIS])' > acinclude.m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-CPPFLAGS="-I/usr/include/libmodplug"
+CPPFLAGS="-I/usr/include/libmodplug -I/usr/include/speex"
 %configure
 %{__make}
 
This page took 0.120681 seconds and 4 git commands to generate.