@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := ffmpeg
PKG_VERSION := 2.8.7
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := http://ffmpeg.org/releases/
@ -291,7 +291,8 @@ define Package/libffmpeg-custom
$( call Package /libffmpeg /Default )
TITLE += ( custom)
DEPENDS += +FFMPEG_CUSTOM_SELECT_libopus:libopus +FFMPEG_CUSTOM_SELECT_speex:libspeex \
+FFMPEG_CUSTOM_SELECT_x264:libx264 +FFMPEG_CUSTOM_SELECT_mp3lame:lame-lib
+PACKAGE_libx264:libx264 +PACKAGE_lame-lib:lame-lib
VARIANT:= custom
MENU:= 1
e n d e f
@ -324,7 +325,7 @@ 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
$( call Package /libffmpeg /Default )
TITLE += ( full)
DEPENDS += +alsa-lib +libx264 +lame-lib +libopus +libspeex
DEPENDS += +alsa-lib +PACKAGE_libx264: libx264 +PACKAGE_lame-lib: lame-lib +libopus +libspeex
VARIANT:= full
e n d e f
@ -423,8 +424,8 @@ ifeq ($(BUILD_VARIANT),full)
FFMPEG_CONFIGURE += \
--enable-libopus --enable-decoder= libopus \
--enable-libspeex --enable-decoder= libspeex \
--enable-libx264 \
--enable-libmp3lame
$( if $( CONFIG_PACKAGE_libx264) , --enable-libx264) \
$( if $( CONFIG_PACKAGE_lame-lib) , --enable-libmp3lame)
e n d i f
i f e q ( $( BUILD_VARIANT ) , c u s t o m )
@ -468,12 +469,12 @@ endif
i f e q ( $( CONFIG_FFMPEG_CUSTOM_SELECT_x 264) , y )
FFMPEG_CONFIGURE += \
--enable-libx264 --enable-decoder= libx264
--enable-libx264
e n d i f
i f e q ( $( CONFIG_FFMPEG_CUSTOM_SELECT_mp 3lame ) , y )
FFMPEG_CONFIGURE += \
--enable-libmp3lame --enable-encoder= mp3
--enable-libmp3lame
e n d i f
e n d i f