summaryrefslogtreecommitdiff
path: root/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-12-09 11:15:11 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-12-10 22:20:56 +0100
commitf113cc334059093a5a4aa8d04908f161835f7386 (patch)
tree56ac1e2b5d13a7e204ea85e13151576b73c8586e /package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
parent1d0aabccd4ec7f5601d54b0df7608342ab647943 (diff)
ffmpeg: bump to version 0.8.7
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch')
-rw-r--r--package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch b/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
index de2c004c6..64371b29f 100644
--- a/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
+++ b/package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
@@ -3,15 +3,15 @@ So just pass the whole string to make things simpler.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-diff -Nura ffmpeg-0.6.1/configure ffmpeg-0.6.1.sdl/configure
---- ffmpeg-0.6.1/configure 2010-06-15 16:44:30.000000000 -0300
-+++ ffmpeg-0.6.1.sdl/configure 2011-02-25 17:13:12.979168176 -0300
-@@ -2640,7 +2640,7 @@
- die "ERROR: No version of libdc1394 found "
- fi
+diff -Nura ffmpeg-0.8.7.orig/configure ffmpeg-0.8.7/configure
+--- ffmpeg-0.8.7.orig/configure 2011-11-21 16:49:30.000000000 -0300
++++ ffmpeg-0.8.7/configure 2011-12-02 08:13:36.746619395 -0300
+@@ -2957,7 +2957,7 @@
+ enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore
+ enabled mlib && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -lmlib
-SDL_CONFIG="${cross_prefix}sdl-config"
+SDL_CONFIG="${SDL_CONFIG}"
- if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
- sdl_cflags=$("${SDL_CONFIG}" --cflags)
- sdl_libs=$("${SDL_CONFIG}" --libs)
+ if check_pkg_config sdl SDL_version.h SDL_Linked_Version; then
+ check_cpp_condition SDL.h "(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201" $sdl_cflags &&
+ enable sdl &&