Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FFMPEG_VERSION = 2.8.7
|
||||
FFMPEG_VERSION = 3.2.3
|
||||
FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz
|
||||
FFMPEG_SITE = http://ffmpeg.org/releases
|
||||
FFMPEG_INSTALL_STAGING = YES
|
||||
@@ -40,7 +40,7 @@ FFMPEG_CONF_OPTS = \
|
||||
--enable-runtime-cpudetect \
|
||||
--disable-hardcoded-tables \
|
||||
--disable-memalign-hack \
|
||||
--disable-mipsdspr1 \
|
||||
--disable-mipsdsp \
|
||||
--disable-mipsdspr2 \
|
||||
--disable-msa \
|
||||
--enable-hwaccels \
|
||||
@@ -48,16 +48,13 @@ FFMPEG_CONF_OPTS = \
|
||||
--disable-frei0r \
|
||||
--disable-libopencore-amrnb \
|
||||
--disable-libopencore-amrwb \
|
||||
--disable-libopencv \
|
||||
--disable-libcdio \
|
||||
--disable-libdc1394 \
|
||||
--disable-libfaac \
|
||||
--disable-libgsm \
|
||||
--disable-libilbc \
|
||||
--disable-libnut \
|
||||
--disable-libopenjpeg \
|
||||
--disable-libschroedinger \
|
||||
--disable-libvo-aacenc \
|
||||
--disable-libvo-amrwbenc \
|
||||
--disable-symver \
|
||||
--disable-doc
|
||||
@@ -83,9 +80,9 @@ FFMPEG_CONF_OPTS += --disable-ffmpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG_FFPLAY),y)
|
||||
FFMPEG_DEPENDENCIES += sdl
|
||||
FFMPEG_DEPENDENCIES += sdl2
|
||||
FFMPEG_CONF_OPTS += --enable-ffplay
|
||||
FFMPEG_CONF_ENV += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
|
||||
FFMPEG_CONF_ENV += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl2-config
|
||||
else
|
||||
FFMPEG_CONF_OPTS += --disable-ffplay
|
||||
endif
|
||||
@@ -217,13 +214,6 @@ FFMPEG_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDCADEC),y)
|
||||
FFMPEG_CONF_OPTS += --enable-libdcadec
|
||||
FFMPEG_DEPENDENCIES += libdcadec
|
||||
else
|
||||
FFMPEG_CONF_OPTS += --disable-libdcadec
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG_GPL)$(BR2_PACKAGE_LIBEBUR128),yy)
|
||||
FFMPEG_DEPENDENCIES += libebur128
|
||||
endif
|
||||
@@ -257,6 +247,18 @@ else
|
||||
FFMPEG_CONF_OPTS += --disable-vdpau
|
||||
endif
|
||||
|
||||
# To avoid a circular dependency only use opencv if opencv itself does
|
||||
# not depend on ffmpeg.
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_LIB_IMGPROC)x$(BR2_PACKAGE_OPENCV_WITH_FFMPEG),yx)
|
||||
FFMPEG_CONF_OPTS += --enable-libopencv
|
||||
FFMPEG_DEPENDENCIES += opencv
|
||||
else ifeq ($(BR2_PACKAGE_OPENCV3_LIB_IMGPROC)x$(BR2_PACKAGE_OPENCV3_WITH_FFMPEG),yx)
|
||||
FFMPEG_CONF_OPTS += --enable-libopencv
|
||||
FFMPEG_DEPENDENCIES += opencv3
|
||||
else
|
||||
FFMPEG_CONF_OPTS += --disable-libopencv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPUS),y)
|
||||
FFMPEG_CONF_OPTS += --enable-libopus
|
||||
FFMPEG_DEPENDENCIES += opus
|
||||
@@ -447,14 +449,6 @@ FFMPEG_CONF_OPTS += --disable-mipsfpu
|
||||
else
|
||||
FFMPEG_CONF_OPTS += --enable-mipsfpu
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_mips_32r2),y)
|
||||
FFMPEG_CONF_OPTS += \
|
||||
--enable-mips32r2
|
||||
else
|
||||
FFMPEG_CONF_OPTS += \
|
||||
--disable-mips32r2
|
||||
endif
|
||||
endif # MIPS
|
||||
|
||||
ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
|
||||
@@ -469,12 +463,17 @@ else
|
||||
FFMPEG_CONF_OPTS += --disable-pic
|
||||
endif
|
||||
|
||||
ifneq ($(call qstrip,$(BR2_GCC_TARGET_CPU)),)
|
||||
# Default to --cpu=generic for MIPS architecture, in order to avoid a
|
||||
# warning from ffmpeg's configure script.
|
||||
ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y)
|
||||
FFMPEG_CONF_OPTS += --cpu=generic
|
||||
else ifneq ($(call qstrip,$(BR2_GCC_TARGET_CPU)),)
|
||||
FFMPEG_CONF_OPTS += --cpu=$(BR2_GCC_TARGET_CPU)
|
||||
else ifneq ($(call qstrip,$(BR2_GCC_TARGET_ARCH)),)
|
||||
FFMPEG_CONF_OPTS += --cpu=$(BR2_GCC_TARGET_ARCH)
|
||||
endif
|
||||
|
||||
|
||||
FFMPEG_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF))
|
||||
|
||||
# Override FFMPEG_CONFIGURE_CMDS: FFmpeg does not support --target and others
|
||||
|
||||
Reference in New Issue
Block a user