| 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=a42532a0684420bdb15556c3cdd49a75" |
| |
| DEPENDS = "fontconfig freetype fribidi harfbuzz" |
| |
| SRC_URI = "git://github.com/libass/libass.git;protocol=https;branch=master;tag=${PV}" |
| SRCREV = "4a05d8127f525943ebf45fdc6497c9e665947f0d" |
| |
| inherit autotools pkgconfig |
| |
| PACKAGECONFIG[asm] = "--enable-asm,--disable-asm,nasm-native" |
| # use larger tiles in the rasterizer (better performance, slightly worse quality) |
| PACKAGECONFIG[largetiles] = "--enable-large-tiles,--disable-large-tiles" |
| |
| PACKAGECONFIG ??= "" |
| PACKAGECONFIG:append:x86-64 = " asm" |
| |
| PACKAGES =+ "${PN}-tests" |
| |
| FILES:${PN}-tests = " \ |
| ${libdir}/test/test \ |
| " |