Initial Commit
- initial default booting image
This commit is contained in:
22
package/libopenh264/Config.in
Normal file
22
package/libopenh264/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || \
|
||||
BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
|
||||
BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_LIBOPENH264
|
||||
bool "libopenh264"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
|
||||
help
|
||||
OpenH264 is a codec library which supports H.264 encoding and
|
||||
decoding.
|
||||
|
||||
http://www.openh264.org
|
||||
|
||||
comment "libopenh264 needs a toolchain w/ C++, dynamic library, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
|
||||
3
package/libopenh264/libopenh264.hash
Normal file
3
package/libopenh264/libopenh264.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 558544ad358283a7ab2930d69a9ceddf913f4a51ee9bf1bfb9e377322af81a69 libopenh264-2.6.0.tar.gz
|
||||
sha256 dd5c1c9668512530fa5a96e4c29ac4033d70a7eeb0eed7a42fddb6dd794ebdbb LICENSE
|
||||
55
package/libopenh264/libopenh264.mk
Normal file
55
package/libopenh264/libopenh264.mk
Normal file
@@ -0,0 +1,55 @@
|
||||
################################################################################
|
||||
#
|
||||
# libopenh264
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBOPENH264_VERSION = 2.6.0
|
||||
LIBOPENH264_SITE = $(call github,cisco,openh264,v$(LIBOPENH264_VERSION))
|
||||
LIBOPENH264_LICENSE = BSD-2-Clause
|
||||
LIBOPENH264_LICENSE_FILES = LICENSE
|
||||
LIBOPENH264_CPE_ID_VENDOR = cisco
|
||||
LIBOPENH264_CPE_ID_PRODUCT = openh264
|
||||
LIBOPENH264_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_aarch64),y)
|
||||
LIBOPENH264_ARCH = aarch64
|
||||
else ifeq ($(BR2_arm)$(BR2_armeb),y)
|
||||
LIBOPENH264_ARCH = arm
|
||||
else ifeq ($(BR2_i386),y)
|
||||
LIBOPENH264_ARCH = x86
|
||||
LIBOPENH264_DEPENDENCIES += host-nasm
|
||||
else ifeq ($(BR2_mips)$(BR2_mipsel),y)
|
||||
LIBOPENH264_ARCH = mips
|
||||
else ifeq ($(BR2_mips64)$(BR2_mips64el),y)
|
||||
LIBOPENH264_ARCH = mips64
|
||||
else ifeq ($(BR2_x86_64),y)
|
||||
LIBOPENH264_ARCH = x86_64
|
||||
LIBOPENH264_DEPENDENCIES += host-nasm
|
||||
endif
|
||||
|
||||
# ENABLE64BIT is really only used for x86-64, other 64 bits
|
||||
# architecture don't need it.
|
||||
LIBOPENH264_MAKE_OPTS = \
|
||||
ARCH=$(LIBOPENH264_ARCH) \
|
||||
ENABLE64BIT=$(if $(BR2_x86_64),Yes,No) \
|
||||
USE_STACK_PROTECTOR=No
|
||||
|
||||
define LIBOPENH264_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
$(LIBOPENH264_MAKE_OPTS)
|
||||
endef
|
||||
|
||||
define LIBOPENH264_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
$(LIBOPENH264_MAKE_OPTS) \
|
||||
DESTDIR=$(STAGING_DIR) PREFIX=/usr install
|
||||
endef
|
||||
|
||||
define LIBOPENH264_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
$(LIBOPENH264_MAKE_OPTS) \
|
||||
DESTDIR=$(TARGET_DIR) PREFIX=/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user