mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 07:27:43 +00:00
ffmpeg: bump to version 0.6.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
c2bcce4a59
commit
1b269dd552
@ -1,9 +1,10 @@
|
|||||||
comment "ffmpeg requires a toolchain with LARGEFILE support"
|
comment "ffmpeg requires a toolchain with LARGEFILE and IPV6 support"
|
||||||
depends on !BR2_LARGEFILE
|
depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
|
||||||
|
|
||||||
menuconfig BR2_PACKAGE_FFMPEG
|
menuconfig BR2_PACKAGE_FFMPEG
|
||||||
bool "ffmpeg"
|
bool "ffmpeg"
|
||||||
depends on BR2_LARGEFILE
|
depends on BR2_LARGEFILE
|
||||||
|
depends on BR2_INET_IPV6
|
||||||
help
|
help
|
||||||
FFmpeg is a complete, cross-platform solution to record, convert
|
FFmpeg is a complete, cross-platform solution to record, convert
|
||||||
and stream audio and video.
|
and stream audio and video.
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
Allow FFmpeg's ./configure script to use a custom sdl-config command.
|
|
||||||
|
|
||||||
Inspired from:
|
|
||||||
http://www.mail-archive.com/uclinux-dist-commits@blackfin.uclinux.org/msg01099.html
|
|
||||||
|
|
||||||
diff -u ffmpeg-0.5.2-orig/configure ffmpeg-0.5.2/configure
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -2066,7 +2066,7 @@
|
|
||||||
|
|
||||||
disable sdl_too_old
|
|
||||||
disable sdl
|
|
||||||
-SDL_CONFIG="${cross_prefix}sdl-config"
|
|
||||||
+SDL_CONFIG="${SDL_CONFIG-${cross_prefix}sdl-config}"
|
|
||||||
if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
|
|
||||||
sdl_cflags=`"${SDL_CONFIG}" --cflags`
|
|
||||||
temp_cflags $sdl_cflags
|
|
17
package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
Normal file
17
package/multimedia/ffmpeg/ffmpeg-sdlconfig.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
We need to pass the location sdl-config so that ffmpeg picks it up.
|
||||||
|
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
|
||||||
|
|
||||||
|
-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)
|
@ -3,17 +3,16 @@
|
|||||||
# ffmpeg
|
# ffmpeg
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
FFMPEG_VERSION := 0.5.2
|
|
||||||
FFMPEG_SOURCE := ffmpeg-$(FFMPEG_VERSION).tar.bz2
|
FFMPEG_VERSION = 0.6.1
|
||||||
FFMPEG_SITE := http://ffmpeg.org/releases
|
FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.bz2
|
||||||
|
FFMPEG_SITE = http://ffmpeg.org/releases
|
||||||
FFMPEG_INSTALL_STAGING = YES
|
FFMPEG_INSTALL_STAGING = YES
|
||||||
FFMPEG_INSTALL_TARGET = YES
|
|
||||||
|
|
||||||
FFMPEG_CONF_OPT = \
|
FFMPEG_CONF_OPT = \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-avfilter \
|
--disable-avfilter \
|
||||||
--disable-vhook \
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y)
|
ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y)
|
||||||
FFMPEG_CONF_OPT += --enable-gpl
|
FFMPEG_CONF_OPT += --enable-gpl
|
||||||
@ -129,6 +128,21 @@ ifeq ($(BR2_x86_i386)$(BR2_x86_i486)$(BR2_x86_i586)$(BR2_x86_i686)$(BR2_x86_pent
|
|||||||
FFMPEG_CONF_OPT += --disable-mmx
|
FFMPEG_CONF_OPT += --disable-mmx
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# ARM defaults to v5: clear if less, add extra if more
|
||||||
|
ifeq ($(BR2_generic_arm)$(BR2_arm7tdmi)$(BR2_arm610)$(BR2_arm710)$(BR2_arm720t)$(BR2_arm920t)$(BR2_arm922t),y)
|
||||||
|
FFMPEG_CONF_OPT += --disable-armv5te
|
||||||
|
endif
|
||||||
|
ifeq ($(BR2_arm1136jf_s)$(BR2_arm1176jz_s)$(BR2_arm1176jzf-s),y)
|
||||||
|
FFMPEG_CONF_OPT += --enable-armv6
|
||||||
|
endif
|
||||||
|
ifeq ($(BR2_arm10)$(BR2_arm1136jf_s)$(BR2_arm1176jz_s)$(BR2_arm1176jzf-s)$(BR2_cortex_a8)$(BR2_cortex_a9),y)
|
||||||
|
FFMPEG_CONF_OPT += --enable-armvfp
|
||||||
|
endif
|
||||||
|
# NEON is optional for A9
|
||||||
|
ifeq ($(BR2_cortex_a8),y)
|
||||||
|
FFMPEG_CONF_OPT += --enable-neon
|
||||||
|
endif
|
||||||
|
|
||||||
FFMPEG_CONF_OPT += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF))
|
FFMPEG_CONF_OPT += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF))
|
||||||
|
|
||||||
# Override FFMPEG_CONFIGURE_CMDS: FFmpeg does not support --target and others
|
# Override FFMPEG_CONFIGURE_CMDS: FFmpeg does not support --target and others
|
||||||
@ -143,8 +157,8 @@ define FFMPEG_CONFIGURE_CMDS
|
|||||||
--sysroot=$(STAGING_DIR) \
|
--sysroot=$(STAGING_DIR) \
|
||||||
--host-cc="$(HOSTCC)" \
|
--host-cc="$(HOSTCC)" \
|
||||||
--arch=$(BR2_ARCH) \
|
--arch=$(BR2_ARCH) \
|
||||||
|
--target-os=linux \
|
||||||
--extra-cflags=-fPIC \
|
--extra-cflags=-fPIC \
|
||||||
$(DISABLE_IPV6) \
|
|
||||||
$(FFMPEG_CONF_OPT) \
|
$(FFMPEG_CONF_OPT) \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user