]> git.pld-linux.org Git - packages/ffms2.git/commitdiff
- ffmpeg 0.11 patch auto/ti/ffmpegsource-2.17-2
authorMarcin Krol <hawk@tld-linux.org>
Tue, 10 Jul 2012 00:14:45 +0000 (00:14 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 10 Jul 2012 00:14:45 +0000 (00:14 +0000)
ffmpegsource-ffmpeg011.patch [new file with mode: 0644]
ffmpegsource.spec

diff --git a/ffmpegsource-ffmpeg011.patch b/ffmpegsource-ffmpeg011.patch
new file mode 100644 (file)
index 0000000..280349e
--- /dev/null
@@ -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
index da8740880c5e4bcafbf7f4f5a326b71485c0a631..65fd69ef82603deb797705c94fa9e59aabc673a9 100644 (file)
@@ -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
 
This page took 0.086859 seconds and 4 git commands to generate.