Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -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." |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 2 | HOMEPAGE = "https://github.com/libass/libass" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 3 | SECTION = "libs/multimedia" |
| 4 | |
| 5 | LICENSE = "ISC" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a42532a0684420bdb15556c3cdd49a75" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 7 | |
| 8 | DEPENDS = "enca fontconfig freetype libpng fribidi" |
| 9 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 10 | SRC_URI = "https://github.com/libass/libass/releases/download/${PV}/libass-${PV}.tar.xz" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | |
| 12 | inherit autotools pkgconfig |
| 13 | |
| 14 | PACKAGECONFIG ??= "" |
| 15 | PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz" |
| 16 | |
| 17 | EXTRA_OECONF = " \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | --enable-fontconfig \ |
| 19 | " |
| 20 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 21 | # Disable compiling with ASM for x86 to avoid textrel |
| 22 | EXTRA_OECONF_append_x86 = " --disable-asm" |
| 23 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 24 | PACKAGES =+ "${PN}-tests" |
| 25 | |
| 26 | FILES_${PN}-tests = " \ |
| 27 | ${libdir}/test/test \ |
| 28 | " |