Author: tanguy
Update of /cvs/free/rpms/libdlna/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv24939
Modified Files:
libdlna.spec
Log Message:
Index: libdlna.spec
===================================================================
RCS file: /cvs/free/rpms/libdlna/devel/libdlna.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- libdlna.spec 19 Aug 2008 09:12:13 -0000 1.3
+++ libdlna.spec 19 Aug 2008 09:28:38 -0000 1.4
@@ -28,6 +28,13 @@
%prep
%setup -q
%patch0 -p1
+# adjust includes for the header move in latest ffmpeg <sigh>
+sed -i -e 's|ffmpeg/avcodec.h|ffmpeg/libavcodec/avcodec.h|g' \
+ -e 's|ffmpeg/avformat.h|ffmpeg/libavformat/avformat.h|g' \
+ -e 's|postproc/postprocess.h|ffmpeg/libpostproc/postprocess.h|g' \
+ -e 's|ffmpeg/swscale.h|ffmpeg/libswscale/swscale.h|g' \
+ ext/ffmpeg/*.c ext/ffmpeg/*.h ext/libpostproc/*.c
+
%build
export CFLAGS="$RPM_OPT_FLAGS"