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 | |
| 10 | SRC_URI = "git://github.com/libass/libass.git" |
| 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 |
| 24 | EXTRA_OECONF_append_x86 = " --disable-asm" |
| 25 | |
| 26 | PACKAGES =+ "${PN}-tests" |
| 27 | |
| 28 | FILES_${PN}-tests = " \ |
| 29 | ${libdir}/test/test \ |
| 30 | " |