blob: 3454a5c2704061db0f57d0e09dbdccb2be5dc33e [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter."
2HOMEPAGE = "https://github.com/libass/libass"
3SECTION = "libs/multimedia"
4
5LICENSE = "ISC"
6LIC_FILES_CHKSUM = "file://COPYING;md5=a42532a0684420bdb15556c3cdd49a75"
7
8DEPENDS = "enca fontconfig freetype libpng fribidi"
9
10SRC_URI = "git://github.com/libass/libass.git"
11SRCREV = "73284b676b12b47e17af2ef1b430527299e10c17"
12S = "${WORKDIR}/git"
13
14inherit autotools pkgconfig
15
16PACKAGECONFIG ??= ""
17PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz"
18
19EXTRA_OECONF = " \
20 --enable-fontconfig \
21"
22
23# Disable compiling with ASM for x86 to avoid textrel
24EXTRA_OECONF_append_x86 = " --disable-asm"
25
26PACKAGES =+ "${PN}-tests"
27
28FILES_${PN}-tests = " \
29 ${libdir}/test/test \
30"