@ -9,13 +9,12 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := ffmpeg
PKG_NAME := ffmpeg
PKG_VERSION := 3.2.6
PKG_RELEASE := 2
PKG_VERSION := 3.2.7
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := https://ffmpeg.org/releases/
PKG_SOURCE_URL := https://ffmpeg.org/releases/
PKG_MD5SUM := 7a35bd97bd7253305bf5c0af5f9dd3ce
PKG_HASH := 3751cebb5c71a861288267769114d12b966a7703a686a325d90a93707f3a6d9f
PKG_HASH := 28e75fc32485a88035a7ebf0a956a1e5c7e93b440dd4bbd6bc30c7268cf34fe9
PKG_MAINTAINER := Ted Hess <thess@kitschensync.net>, \
PKG_MAINTAINER := Ted Hess <thess@kitschensync.net>, \
Ian Leonard <antonlacon@gmail.com>
Ian Leonard <antonlacon@gmail.com>
@ -150,7 +149,7 @@ FFMPEG_MINI_DEMUXERS:= \
ogg \
ogg \
FFMPEG_MINI_PROTOCOLS := \
FFMPEG_MINI_PROTOCOLS := \
file \
file
FFMPEG_AUDIO_DECODERS := \
FFMPEG_AUDIO_DECODERS := \
aac \
aac \
@ -380,34 +379,16 @@ FFMPEG_CONFIGURE:= \
--disable-doc \
--disable-doc \
--disable-debug \
--disable-debug \
\
\
--disable-dxva2 \
--disable-lzma \
--disable-lzma \
--disable-vaapi \
--disable-vaapi \
--disable-vda \
--disable-vdpau \
--disable-vdpau \
--disable-outdevs
--disable-outdevs
i f e q ( $( CONFIG_SOFT_FLOAT ) , y )
i f e q ( $( CONFIG_SOFT_FLOAT ) , y )
FFMPEG_CONFIGURE += \
FFMPEG_CONFIGURE += \
--disable-altivec \
--disable-altivec \
--disable-vsx \
--disable-vsx \
--disable-power8 \
--disable-power8 \
--disable-amd3dnow \
--disable-amd3dnowext \
--disable-mmx \
--disable-mmxext \
--disable-sse \
--disable-sse2 \
--disable-sse3 \
--disable-ssse3 \
--disable-sse4 \
--disable-sse42 \
--disable-avx \
--disable-xop \
--disable-fma3 \
--disable-fma4 \
--disable-avx2 \
--disable-aesni \
--disable-armv5te \
--disable-armv5te \
--disable-armv6 \
--disable-armv6 \
--disable-armv6t2 \
--disable-armv6t2 \
@ -421,37 +402,33 @@ FFMPEG_CONFIGURE += \
--disable-runtime-cpudetect
--disable-runtime-cpudetect
e l s e i f n e q ( $( findstring arm ,$ ( CONFIG_ARCH ) ) , )
e l s e i f n e q ( $( findstring arm ,$ ( CONFIG_ARCH ) ) , )
FFMPEG_CONFIGURE += \
FFMPEG_CONFIGURE += \
--disable-runtime-cpudetect
--disable-runtime-cpudetect
# XXX: GitHub issue 3320 ppc cpu with fpu but no altivec (WNDR4700)
# XXX: GitHub issue 3320 ppc cpu with fpu but no altivec (WNDR4700)
e l s e i f n e q ( $( findstring powerpc ,$ ( CONFIG_ARCH ) ) , )
e l s e i f n e q ( $( findstring powerpc ,$ ( CONFIG_ARCH ) ) , )
FFMPEG_CONFIGURE += \
FFMPEG_CONFIGURE += \
--disable-altivec
--disable-altivec
e n d i f
e n d i f
# selectively disable optimizations according to arch/cpu type
# selectively disable optimizations according to arch/cpu type
i f n e q ( $( findstring arm ,$ ( CONFIG_ARCH ) ) , )
i f n e q ( $( findstring arm ,$ ( CONFIG_ARCH ) ) , )
ifneq ( $( findstring vfp,$( CONFIG_TARGET_OPTIMIZATION) ) ,)
ifneq ( $( findstring vfp,$( CONFIG_TARGET_OPTIMIZATION) ) ,)
FFMPEG_CONFIGURE += \
--enable-vfp
FFMPEG_CONFIGURE += --enable-vfp
else
else
FFMPEG_CONFIGURE += \
--disable-vfp
FFMPEG_CONFIGURE += --disable-vfp
endif
endif
ifneq ( $( findstring neon,$( CONFIG_TARGET_OPTIMIZATION) ) ,)
ifneq ( $( findstring neon,$( CONFIG_TARGET_OPTIMIZATION) ) ,)
FFMPEG_CONFIGURE += \
FFMPEG_CONFIGURE += \
--enable-neon \
--enable-neon \
--enable-vfp
--enable-vfp
else
else
FFMPEG_CONFIGURE += \
--disable-neon
FFMPEG_CONFIGURE += --disable-neon
endif
endif
e n d i f
e n d i f
i f n e q ( $( CONFIG_YASM ) , y )
i f n e q ( $( CONFIG_YASM ) , y )
FFMPEG_CONFIGURE += \
--disable-yasm
FFMPEG_CONFIGURE += --disable-yasm
e n d i f
e n d i f
@ -465,8 +442,12 @@ ifeq ($(BUILD_VARIANT),full)
\
\
$( if $( CONFIG_PACKAGE_shine) ,--enable-libshine)
$( if $( CONFIG_PACKAGE_shine) ,--enable-libshine)
else
else
ifeq ( $( ARCH) ,x86_64)
FFMPEG_CONFIGURE += --enable-hardcoded-tables
else
FFMPEG_CONFIGURE += --enable-small
endif
FFMPEG_CONFIGURE += \
FFMPEG_CONFIGURE += \
--enable-small \
--enable-gpl \
--enable-gpl \
\
\
$( if $( CONFIG_PACKAGE_lame-lib) ,--enable-libmp3lame) \
$( if $( CONFIG_PACKAGE_lame-lib) ,--enable-libmp3lame) \
@ -597,7 +578,7 @@ ifeq ($(BUILD_VARIANT),mini)
e n d i f
e n d i f
i f n e q ( $( CONFIG_TARGET_x 86) , )
i f n e q ( $( CONFIG_TARGET_x 86) , )
TARGET_CFLAGS += -fomit-frame-pointer
TARGET_CFLAGS += -fomit-frame-pointer
e n d i f
e n d i f
d e f i n e B u i l d / C o n f i g u r e
d e f i n e B u i l d / C o n f i g u r e