aboutsummaryrefslogtreecommitdiffstats
path: root/main/libass/APKBUILD
blob: b0b847ee101b28aec26d6072cad3d6382570a321 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libass
pkgver=0.13.5
pkgrel=0
pkgdesc="A portable library for SSA/ASS subtitles rendering"
url="https://github.com/libass/libass"
arch="all"
license="ISC"
depends=""
depends_dev="enca-dev fontconfig-dev fribidi-dev freetype-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="http://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver

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

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

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

md5sums="a6c18de958fb11371d2483cff3e5a915  libass-0.13.5.tar.xz"
sha256sums="9387a2421b6e6a132c7d473de594b9f0367aa85af64aa103b66f0861431b1596  libass-0.13.5.tar.xz"
sha512sums="4fc0965dc930c7e74fd2938080dd10d74ee2484c2650cd623c80aed5ed0852022c7c3b5b1a17501620af22bcffd0cbdc9ddbd1697f23213e7b5f431699d1e23f  libass-0.13.5.tar.xz"