aboutsummaryrefslogtreecommitdiffstats
path: root/community/libass/APKBUILD
blob: e71c3fd74b98b84cd50a8dfb0167ced15eb35640 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Jakub Skrzypnik <j.skrzypnik@openmailbox.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libass
pkgver=0.15.0
pkgrel=0
pkgdesc="Portable library for SSA/ASS subtitle rendering"
url="https://github.com/libass/libass"
arch="all"
license="ISC"
depends_dev="enca-dev fontconfig-dev fribidi-dev freetype-dev harfbuzz-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://github.com/libass/libass/releases/download/$pkgver/libass-$pkgver.tar.xz"

# secfixes:
#   0.13.4-r0:
#     - CVE-2016-7969
#     - CVE-2016-7970
#     - CVE-2016-7971
#     - CVE-2016-7972

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="067ed519e64da7e2e45436bb09e390f1a77d966aeb9420729f36c9725d89491655ead69eb61b43f3220b8ff8f9de3891911b62757466f843ab13ee7149d88459  libass-0.15.0.tar.xz"