blob: 0e62307363eb708e3c9b3e99746edf83c52be175 [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
Andrew Geissler595f6302022-01-24 19:11:47 +000010SRC_URI = "git://github.com/libass/libass.git;branch=master;protocol=https"
Brad Bishop316dfdd2018-06-25 12:45:53 -040011SRCREV = "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
Patrick Williams213cb262021-08-07 19:21:33 -050024EXTRA_OECONF:append:x86 = " --disable-asm"
Brad Bishop316dfdd2018-06-25 12:45:53 -040025
26PACKAGES =+ "${PN}-tests"
27
Patrick Williams213cb262021-08-07 19:21:33 -050028FILES:${PN}-tests = " \
Brad Bishop316dfdd2018-06-25 12:45:53 -040029 ${libdir}/test/test \
30"