SPECS: ffmpeg.spec - add more devel headers for mplayer

glen glen at pld-linux.org
Mon Nov 24 02:12:24 CET 2008


Author: glen                         Date: Mon Nov 24 01:12:24 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add more devel headers for mplayer

---- Files affected:
SPECS:
   ffmpeg.spec (1.176 -> 1.177) 

---- Diffs:

================================================================
Index: SPECS/ffmpeg.spec
diff -u SPECS/ffmpeg.spec:1.176 SPECS/ffmpeg.spec:1.177
--- SPECS/ffmpeg.spec:1.176	Sun Nov 23 21:42:49 2008
+++ SPECS/ffmpeg.spec	Mon Nov 24 02:12:18 2008
@@ -9,7 +9,7 @@
 #
 %define		_snap	2008-10-24
 %define		snap	%(echo %{_snap} | tr -d -)
-%define		rel 2
+%define		rel 3
 Summary:	Realtime audio/video encoder and streaming server
 Summary(pl.UTF-8):	Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
 Name:		ffmpeg
@@ -207,8 +207,8 @@
 %patch0 -p1
 %patch1 -p1
 
-# package the grep result for mplayer, the result formatted as mplayer/configure
-cat <<EOF > ffmpeg-config
+# package the grep result for mplayer, the result formatted as ./mplayer/configure
+cat <<EOF > ffmpeg-avconfig
 #! /bin/sh
 _libavdecoders_all="`sed -n 's/^[^#]*DEC.*(.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`"
 _libavencoders_all="`sed -n 's/^[^#]*ENC.*(.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`"
@@ -218,7 +218,7 @@
 _libavmuxers_all="`sed -n 's/^[^#]*_MUX.*(.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`"
 _libavprotocols_all="`sed -n 's/^[^#]*PROTOCOL.*(.*, *\(.*\)).*/\1_protocol/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`"
 EOF
-cat <<'EOF' >> ffmpeg-config
+cat <<'EOF' >> ffmpeg-avconfig
 
 case "$1" in
 --decoders)
@@ -324,6 +324,8 @@
 for a in libavutil/*/bswap.h; do
 	install -D $a $RPM_BUILD_ROOT%{_includedir}/$a
 done
+cp -a libavformat/riff.h $RPM_BUILD_ROOT%{_includedir}/libavformat
+cp -a libavformat/avio.h $RPM_BUILD_ROOT%{_includedir}/libavformat
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ffserver
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ffserver
@@ -333,7 +335,7 @@
 # install as ffmpeg-avconfig to avoid with possible programs looking for
 # ffmpeg-config and expecting --libs output from it which is not implemented
 # simple to do (by querying pkgconfig), but why?
-install ffmpeg-config $RPM_BUILD_ROOT%{_bindir}/ffmpeg-avconfig
+install ffmpeg-avconfig $RPM_BUILD_ROOT%{_bindir}/ffmpeg-avconfig
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -438,6 +440,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.177  2008/11/24 01:12:18  glen
+- add more devel headers for mplayer
+
 Revision 1.176  2008/11/23 20:42:49  glen
 - install additional headers for mplayer ffmpeg build; rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ffmpeg.spec?r1=1.176&r2=1.177&f=u



More information about the pld-cvs-commit mailing list