Move all to deprecated folder.
This commit is contained in:
11
deprecated/firmware/buildroot/package/libvpx/Config.in
Normal file
11
deprecated/firmware/buildroot/package/libvpx/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBVPX
|
||||
bool "libvpx"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
A high-quality, open video format that's freely available to
|
||||
everyone. Supports the VP8 and VP9 formats.
|
||||
|
||||
http://webmproject.org
|
||||
|
||||
comment "libvpx needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
deprecated/firmware/buildroot/package/libvpx/libvpx.hash
Normal file
2
deprecated/firmware/buildroot/package/libvpx/libvpx.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 f582d9b2d60a592a4a3d8c32965ca2d2167e9ade38c6c30bac8801ff66a118e4 libvpx-1.4.0.tar.bz2
|
||||
51
deprecated/firmware/buildroot/package/libvpx/libvpx.mk
Normal file
51
deprecated/firmware/buildroot/package/libvpx/libvpx.mk
Normal file
@@ -0,0 +1,51 @@
|
||||
################################################################################
|
||||
#
|
||||
# libvpx
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBVPX_VERSION = 1.4.0
|
||||
LIBVPX_SOURCE = libvpx-$(LIBVPX_VERSION).tar.bz2
|
||||
LIBVPX_SITE = http://storage.googleapis.com/downloads.webmproject.org/releases/webm
|
||||
LIBVPX_LICENSE = BSD-3c
|
||||
LIBVPX_LICENSE_FILES = LICENSE PATENTS
|
||||
LIBVPX_INSTALL_STAGING = YES
|
||||
|
||||
# ld is being used with cc options. therefore, pretend ld is cc.
|
||||
LIBVPX_CONF_ENV = \
|
||||
LD="$(TARGET_CC)" \
|
||||
CROSS=$(GNU_TARGET_NAME)
|
||||
|
||||
LIBVPX_CONF_OPTS = \
|
||||
--disable-examples \
|
||||
--disable-docs \
|
||||
--disable-unit-tests
|
||||
|
||||
# This is not a true autotools package. It is based on the ffmpeg build system
|
||||
define LIBVPX_CONFIGURE_CMDS
|
||||
(cd $(LIBVPX_SRCDIR) && rm -rf config.cache && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(LIBVPX_CONF_ENV) \
|
||||
./configure \
|
||||
--target=generic-gnu \
|
||||
--enable-pic \
|
||||
--prefix=/usr \
|
||||
$(SHARED_STATIC_LIBS_OPTS) \
|
||||
$(LIBVPX_CONF_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
define LIBVPX_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) -C $(@D) all
|
||||
endef
|
||||
|
||||
define LIBVPX_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D) install
|
||||
endef
|
||||
|
||||
define LIBVPX_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user