--- /dev/null
+--- 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
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
%prep
%setup -q -n ffms-%{version}-src
+%patch0 -p0
%undos src/core/{indexing,lavfindexer,utils}.cpp
%{__rm} configure