Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [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 = "fontconfig freetype fribidi harfbuzz" |
| 9 | |
| 10 | SRC_URI = "git://github.com/libass/libass.git;protocol=https;branch=master" |
| 11 | SRCREV = "1af6240c5d1e499326146e0b88c987e626b13c23" |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | inherit autotools pkgconfig |
| 15 | |
| 16 | PACKAGECONFIG[asm] = "--enable-asm,--disable-asm,nasm-native" |
| 17 | # use larger tiles in the rasterizer (better performance, slightly worse quality) |
| 18 | PACKAGECONFIG[largetiles] = "--enable-large-tiles,--disable-large-tiles" |
| 19 | |
| 20 | PACKAGECONFIG ??= "" |
| 21 | PACKAGECONFIG:append:x86-64 = " asm" |
| 22 | |
| 23 | PACKAGES =+ "${PN}-tests" |
| 24 | |
| 25 | FILES:${PN}-tests = " \ |
| 26 | ${libdir}/test/test \ |
| 27 | " |