Initial Commit
- initial default booting image
This commit is contained in:
18
package/libass/Config.in
Normal file
18
package/libass/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_LIBASS
|
||||
bool "libass"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # harfbuzz
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
select BR2_PACKAGE_HARFBUZZ
|
||||
select BR2_PACKAGE_LIBFRIBIDI
|
||||
help
|
||||
libass is a portable subtitle renderer for the ASS/SSA
|
||||
(Advanced Substation Alpha/Substation Alpha) subtitle format
|
||||
|
||||
https://github.com/libass/libass
|
||||
|
||||
comment "libass needs a toolchain w/ C++, gcc >= 4.9"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
4
package/libass/libass.hash
Normal file
4
package/libass/libass.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://github.com/libass/libass/releases/tag/0.17.5
|
||||
sha256 2dca25c0e0c837ddf00b52011b3f82cac1e4ddd3ad018227806b0c2288864acc libass-0.17.5.tar.xz
|
||||
# Locally computed
|
||||
sha256 f7e30699d02798351e7f839e3d3bfeb29ce65e44efa7735c225464c4fd7dfe9c COPYING
|
||||
43
package/libass/libass.mk
Normal file
43
package/libass/libass.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# libass
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBASS_VERSION = 0.17.5
|
||||
LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz
|
||||
# Do not use the github helper here, the generated tarball is *NOT*
|
||||
# the same as the one uploaded by upstream for the release.
|
||||
LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION)
|
||||
LIBASS_INSTALL_STAGING = YES
|
||||
LIBASS_LICENSE = ISC
|
||||
LIBASS_LICENSE_FILES = COPYING
|
||||
LIBASS_CPE_ID_VALID = YES
|
||||
LIBASS_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
freetype \
|
||||
harfbuzz \
|
||||
libfribidi \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
|
||||
# configure: WARNING: Install nasm for a significantly faster libass build.
|
||||
# only for Intel archs
|
||||
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
||||
LIBASS_DEPENDENCIES += host-nasm
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
||||
LIBASS_DEPENDENCIES += fontconfig
|
||||
LIBASS_CONF_OPTS += --enable-fontconfig
|
||||
else
|
||||
LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUNIBREAK),y)
|
||||
LIBASS_DEPENDENCIES += libunibreak
|
||||
LIBASS_CONF_OPTS += --enable-libunibreak
|
||||
else
|
||||
LIBASS_CONF_OPTS += --disable-libunibreak
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user