blob: 4bc3db062a7976fa551f8a72d80f3d2b084e16b1 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter."
Patrick Williamsddad1a12017-02-23 20:36:32 -06002HOMEPAGE = "https://github.com/libass/libass"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05003SECTION = "libs/multimedia"
4
5LICENSE = "ISC"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05006LIC_FILES_CHKSUM = "file://COPYING;md5=a42532a0684420bdb15556c3cdd49a75"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05007
8DEPENDS = "enca fontconfig freetype libpng fribidi"
9
Patrick Williamsddad1a12017-02-23 20:36:32 -060010SRC_URI = "https://github.com/libass/libass/releases/download/${PV}/libass-${PV}.tar.xz"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
12inherit autotools pkgconfig
13
14PACKAGECONFIG ??= ""
15PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz"
16
17EXTRA_OECONF = " \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018 --enable-fontconfig \
19"
20
Patrick Williamsddad1a12017-02-23 20:36:32 -060021# Disable compiling with ASM for x86 to avoid textrel
22EXTRA_OECONF_append_x86 = " --disable-asm"
23
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024PACKAGES =+ "${PN}-tests"
25
26FILES_${PN}-tests = " \
27 ${libdir}/test/test \
28"