[packages/ffmpegsource] - ffmpeg 0.11 patch

hawk hawk at pld-linux.org
Tue Jul 10 02:09:56 CEST 2012


commit da3072ef488243cc98240afdf46500cf5672a76b
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Tue Jul 10 00:14:45 2012 +0000

    - ffmpeg 0.11 patch

 ffmpegsource-ffmpeg011.patch | 19 +++++++++++++++++++
 ffmpegsource.spec            |  4 +++-
 2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/ffmpegsource-ffmpeg011.patch b/ffmpegsource-ffmpeg011.patch
new file mode 100644
index 0000000..280349e
--- /dev/null
+++ b/ffmpegsource-ffmpeg011.patch
@@ -0,0 +1,19 @@
+--- configure.in.orig	2012-07-09 14:45:54.088864442 +0200
++++ configure.in	2012-07-09 14:46:55.868944948 +0200
+@@ -135,7 +135,6 @@
+             #include <libavcodec/avcodec.h>
+             #include <libswscale/swscale.h>
+             ]],[[
+-                avcodec_init();
+                 swscale_version();
+                 #ifdef FFMS_USE_FFMPEG_COMPAT
+                 int bogus = CODEC_ID_G2M;
+@@ -145,7 +144,7 @@
+         ])
+ 
+ AC_MSG_CHECKING([whether $_lav_name works])
+-LIBS="$_LIBS $LIBAV_LIBS"
++LIBS="$_LIBS $LIBAV_LIBS -lvpx"
+ TEST_LIBAV([LIBAV_WORKS])
+ AC_MSG_RESULT([$LIBAV_WORKS])
+ if test "$LIBAV_WORKS" = no; then
diff --git a/ffmpegsource.spec b/ffmpegsource.spec
index da87408..65fd69e 100644
--- a/ffmpegsource.spec
+++ b/ffmpegsource.spec
@@ -2,12 +2,13 @@ Summary:	FFmpegSource - FFmpeg wrapper library
 Summary(pl.UTF-8):	FFmpegSource - biblioteka obudowująca FFmpeg
 Name:		ffmpegsource
 Version:	2.17
-Release:	1
+Release:	2
 License:	MIT (ffmpegsource itself), GPL v3+ (forced by ffmpeg)
 Group:		Libraries
 #Source0Download: http://code.google.com/p/ffmpegsource/downloads/list
 Source0:	http://ffmpegsource.googlecode.com/files/ffms-%{version}-src.tar.bz2
 # Source0-md5:	13770e29d5215ad4b68caad44b09da07
+Patch0:		%{name}-ffmpeg011.patch
 URL:		http://code.google.com/p/ffmpegsource/
 BuildRequires:	autoconf >= 2.58
 BuildRequires:	automake
@@ -70,6 +71,7 @@ Statyczna biblioteka FFmpegSource.
 
 %prep
 %setup -q -n ffms-%{version}-src
+%patch0 -p0
 %undos src/core/{indexing,lavfindexer,utils}.cpp
 %{__rm} configure
 


More information about the pld-cvs-commit mailing list