aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/libass/libass_0.17.1.bb
blob: 800ad1b15ee33d06038a4c36cd26df0dbfb1109f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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=0.17.1-branch"
SRCREV = "e8ad72accd3a84268275a9385beb701c9284e5b3"
S = "${WORKDIR}/git"

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 \
"