Browse Source

ffmpeg: Add cpu_type to configure opts. Upgrade to 3.2.12

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

+ 7
- 3
multimedia/ffmpeg/Makefile View File

@ -9,12 +9,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ffmpeg PKG_NAME:=ffmpeg
PKG_VERSION:=3.2.10
PKG_RELEASE:=4
PKG_VERSION:=3.2.12
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_HASH:=3c1626220c7b68ff6be7312559f77f3c65ff6809daf645d4470ac0189926bdbc
PKG_HASH:=8985cea7b1b3b2e0e2b2a8ac6187a7fb022fe8aa9d35101760a000205c59c412
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \ PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \
Ian Leonard <antonlacon@gmail.com> Ian Leonard <antonlacon@gmail.com>
@ -372,6 +372,9 @@ $(call Package/ffmpeg/Default/description)
endef endef
# Strip off FPU notation
REAL_CPU_TYPE:=$(firstword $(subst +, ,$(CONFIG_CPU_TYPE)))
FFMPEG_CONFIGURE:= \ FFMPEG_CONFIGURE:= \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \ CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
LDFLAGS="$(TARGET_LDFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \
@ -379,6 +382,7 @@ FFMPEG_CONFIGURE:= \
--enable-cross-compile \ --enable-cross-compile \
--cross-prefix="$(TARGET_CROSS)" \ --cross-prefix="$(TARGET_CROSS)" \
--arch="$(ARCH)" \ --arch="$(ARCH)" \
$(if $(REAL_CPU_TYPE),--cpu=$(call qstrip,$(REAL_CPU_TYPE)),) \
--target-os=linux \ --target-os=linux \
--prefix="/usr" \ --prefix="/usr" \
--pkg-config="pkg-config" \ --pkg-config="pkg-config" \


Loading…
Cancel
Save