commit b82dc507e44e7bb2932e90a18af918eb92039808
Author: blekot <[email protected]>
Date:   Sat Oct 4 23:32:42 2008 +0000

    - added -includes patch to rename to proper directories
    - added proper CFLAGS to pass into configure
    - needs more work/NFY
    
    Changed files:
        gstreamer-ffmpeg.spec -> 1.25

 gstreamer-ffmpeg.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gstreamer-ffmpeg.spec b/gstreamer-ffmpeg.spec
index b8f0b8b..c5ee438 100644
--- a/gstreamer-ffmpeg.spec
+++ b/gstreamer-ffmpeg.spec
@@ -10,6 +10,7 @@ License:      GPL v2+
 Group:         Libraries
 Source0:       
http://gstreamer.freedesktop.org/src/gst-ffmpeg/%{gstname}-%{version}.tar.bz2
 # Source0-md5: 761cbbc0b5f077449082d0ea7527941e
+Patch0:                %{name}-includes.patch
 URL:           http://gstreamer.net/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
@@ -46,6 +47,7 @@ najpopularniejsze formaty multimedialne.
 
 %prep
 %setup -q -n %{gstname}-%{version}
+%patch -p1
 
 %build
 %{__libtoolize}
@@ -53,7 +55,9 @@ najpopularniejsze formaty multimedialne.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+
 %configure \
+       CPPFLAGS="%{rpmcflags} -I/usr/include/libavformat 
-I/usr/include/libavcodec" \
        --disable-static \
        --with-system-ffmpeg
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer0.10-ffmpeg.git/commitdiff/4744a193b697bff728371a9ccd96c60bc28bc18e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to