diff options
author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2014-01-26 22:39:00 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-28 22:44:02 +0100 |
commit | 08b32ea9588219efad6796929cf1e185268f016e (patch) | |
tree | 32a5829ff2865ee0c847c21e90efc19a210f92b2 /package/libass/libass.mk | |
parent | 1a71a270e1ad261c3c38b86b7976c3b1fe0722a7 (diff) | |
download | buildroot-08b32ea9588219efad6796929cf1e185268f016e.tar.gz buildroot-08b32ea9588219efad6796929cf1e185268f016e.zip |
libass: new package
libass is a portable subtitle renderer for the
ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
[Peter: make fontconfig/enca optional, fix license, add host-pkgconf,
optionaliconv/harfbuzz support]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libass/libass.mk')
-rw-r--r-- | package/libass/libass.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/package/libass/libass.mk b/package/libass/libass.mk new file mode 100644 index 0000000000..de1f4b8c32 --- /dev/null +++ b/package/libass/libass.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# libass +# +################################################################################ + +LIBASS_VERSION = 0.10.2 +LIBASS_SITE = http://libass.googlecode.com/files +LIBASS_INSTALL_STAGING = YES +LIBASS_LICENSE = ISC +LIBASS_LICENSE_FILES = COPYING +LIBASS_DEPENDENCIES = \ + host-pkgconf \ + freetype \ + libfribidi \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +LIBASS_DEPENDENCIES += fontconfig +LIBASS_CONF_OPT += --enable-fontconfig +else +LIBASS_CONF_OPT += --disable-fontconfig +endif + +ifeq ($(BR2_PACKAGE_HARFBUZZ),y) +LIBASS_DEPENDENCIES += harfbuzz +LIBASS_CONF_OPT += --enable-harfbuzz +else +LIBASS_CONF_OPT += --disable-harfbuzz +endif + +ifeq ($(BR2_PACKAGE_LIBENCA),y) +LIBASS_DEPENDENCIES += libenca +LIBASS_CONF_OPT += --enable-enca +else +LIBASS_CONF_OPT += --disable-enca +endif + +$(eval $(autotools-package)) |