Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter." |
| 2 | HOMEPAGE = "https://github.com/libass/libass" |
| 3 | SECTION = "libs/multimedia" |
| 4 | |
| 5 | LICENSE = "ISC" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a42532a0684420bdb15556c3cdd49a75" |
| 7 | |
| 8 | DEPENDS = "enca fontconfig freetype libpng fribidi" |
| 9 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 10 | SRC_URI = "git://github.com/libass/libass.git;branch=master;protocol=https" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 11 | SRCREV = "73284b676b12b47e17af2ef1b430527299e10c17" |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | inherit autotools pkgconfig |
| 15 | |
| 16 | PACKAGECONFIG ??= "" |
| 17 | PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz" |
| 18 | |
| 19 | EXTRA_OECONF = " \ |
| 20 | --enable-fontconfig \ |
| 21 | " |
| 22 | |
| 23 | # Disable compiling with ASM for x86 to avoid textrel |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | EXTRA_OECONF:append:x86 = " --disable-asm" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 25 | |
| 26 | PACKAGES =+ "${PN}-tests" |
| 27 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 28 | FILES:${PN}-tests = " \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 29 | ${libdir}/test/test \ |
| 30 | " |