Browse Source

ffmpeg: Configuration fixes for optional codec libraries

Signed-off-by: Ted Hess <thess@kitschensync.net>
lilik-openwrt-22.03
Ted Hess 6 years ago
parent
commit
c2cc90a3dd
1 changed files with 5 additions and 8 deletions
  1. +5
    -8
      multimedia/ffmpeg/Makefile

+ 5
- 8
multimedia/ffmpeg/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ffmpeg
PKG_VERSION:=3.2.12
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://ffmpeg.org/releases/
@ -342,13 +342,10 @@ endef
define Package/libffmpeg-full
$(call Package/libffmpeg/Default)
TITLE+= (full)
DEPENDS+= +alsa-lib +PACKAGE_libopus:libopus
ifeq ($(CONFIG_SOFT_FLOAT),y)
DEPENDS+= +PACKAGE_shine:shine
else
DEPENDS+= +PACKAGE_lame-lib:lame-lib +PACKAGE_libx264:libx264 +PACKAGE_fdk-aac:fdk-aac
endif
DEPENDS+= +alsa-lib +PACKAGE_libopus:libopus \
$(if $$(CONFIG_SOFT_FLOAT),\
+PACKAGE_shine:shine,\
+PACKAGE_lame-lib:lame-lib +PACKAGE_libx264:libx264 +PACKAGE_fdk-aac:fdk-aac)
VARIANT:=full
endef


Loading…
Cancel
Save