@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := ffmpeg
PKG_NAME := ffmpeg
PKG_VERSION := 3.2.12
PKG_VERSION := 3.2.12
PKG_RELEASE := 3
PKG_RELEASE := 4
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/
@ -345,7 +345,7 @@ $(call Package/libffmpeg/Default)
DEPENDS += +alsa-lib +PACKAGE_libopus:libopus \
DEPENDS += +alsa-lib +PACKAGE_libopus:libopus \
+SOFT_FLOAT:shine \
+SOFT_FLOAT:shine \
+!SOFT_FLOAT:lame-lib \
+!SOFT_FLOAT:lame-lib \
+!SOFT_FLOAT :libx264
+PACKAGE_libx264 :libx264
VARIANT:= full
VARIANT:= full
e n d e f
e n d e f
@ -488,15 +488,15 @@ ifeq ($(BUILD_VARIANT),full)
FFMPEG_CONFIGURE += --enable-small
FFMPEG_CONFIGURE += --enable-small
endif
endif
FFMPEG_CONFIGURE += $( if $( CONFIG_PACKAGE_lame-lib) ,--enable-libmp3lame)
FFMPEG_CONFIGURE += $( if $( CONFIG_PACKAGE_lame-lib) ,--enable-libmp3lame)
# x264 support and fdk-aac support can't coexist and be distributed.
# Prioritize x264 over fdk-aac in default builds (maintain status-quo) .
ifneq ( $( CONFIG_PACKAGE_libx264) ,)
FFMPEG_CONFIGURE += \
--enable-gpl \
--enable-libx264
else
FFMPEG_CONFIGURE += $( if $( CONFIG_PACKAGE_fdk-aac) ,--enable-libfdk-aac)
endif
endif
# x264 support and fdk-aac support can't coexist and be distributed .
# Prioritize x264 over fdk-aac in default builds (maintain status-quo).
ifneq ( $( CONFIG_PACKAGE_libx264) ,)
FFMPEG_CONFIGURE += \
--enable-gpl \
--enable-libx264
else
FFMPEG_CONFIGURE += $( if $( CONFIG_PACKAGE_fdk-aac) ,--enable-libfdk-aac)
endif
endif
e n d i f
e n d i f
@ -653,13 +653,11 @@ define Build/InstallDev/full
$( CP) $( PKG_INSTALL_DIR) /usr/include/lib{ avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/include/lib{ avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/lib{ avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} .{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/lib{ avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} .{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/lib{ avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} .pc $( 1) /usr/lib/pkgconfig/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/lib{ avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} .pc $( 1) /usr/lib/pkgconfig/
i f n e q ( $( CONFIG_SOFT_FLOAT ) , y )
i f n e q ( $( CONFIG_PACKAGE_libx 264) , )
i f n e q ( $( CONFIG_PACKAGE_libx 264) , )
$( CP) $( PKG_INSTALL_DIR) /usr/include/libpostproc $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/include/libpostproc $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libpostproc.{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libpostproc.{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libpostproc.pc $( 1) /usr/lib/pkgconfig/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libpostproc.pc $( 1) /usr/lib/pkgconfig/
e n d i f
e n d i f
e n d i f
e n d e f
e n d e f
d e f i n e B u i l d / I n s t a l l D e v / m i n i
d e f i n e B u i l d / I n s t a l l D e v / m i n i
@ -721,11 +719,9 @@ endef
d e f i n e P a c k a g e / l i b f f m p e g - f u l l / i n s t a l l
d e f i n e P a c k a g e / l i b f f m p e g - f u l l / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/lib{ avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} .so.* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/lib{ avcodec,avdevice,avfilter,avformat,avresample,avutil,swresample,swscale} .so.* $( 1) /usr/lib/
i f n e q ( $( CONFIG_SOFT_FLOAT ) , y )
i f n e q ( $( CONFIG_PACKAGE_libx 264) , )
i f n e q ( $( CONFIG_PACKAGE_libx 264) , )
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libpostproc.so.* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libpostproc.so.* $( 1) /usr/lib/
e n d i f
e n d i f
e n d i f
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b f f m p e g - m i n i / i n s t a l l
d e f i n e P a c k a g e / l i b f f m p e g - m i n i / i n s t a l l