Abdur Rehman 1847d0be0b libass: add newer version
* mpv requires newer libass to build
* move SRC_URI from Google Code to GitHub
* ENCA support has been removed https://github.com/libass/libass/pull/197
  remove --enable-enca which is now an [unknown-configure-option]
* Fix [textrel] for x86 targets

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:30 +02:00

29 lines
830 B
PHP

DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter."
HOMEPAGE = "https://github.com/libass/libass"
SECTION = "libs/multimedia"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ae98663bac55afe5d989919d296f28a"
DEPENDS = "enca fontconfig freetype libpng fribidi"
SRC_URI = "https://github.com/libass/libass/releases/download/${PV}/libass-${PV}.tar.xz"
inherit autotools pkgconfig
PACKAGECONFIG ??= ""
PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz"
EXTRA_OECONF = " \
--enable-fontconfig \
"
# Disable compiling with ASM for x86 to avoid textrel
EXTRA_OECONF_append_x86 = " --disable-asm"
PACKAGES =+ "${PN}-tests"
FILES_${PN}-tests = " \
${libdir}/test/test \
"