aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libva-vdpau-driver/APKBUILD
blob: 86b736cd1192cbf04c7de7f7519799ff95a25abd (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
49
50
51
52
53
54
55
56
57
58
59
60
61
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=libva-vdpau-driver
pkgver=0.7.4
pkgrel=0
pkgdesc="VDPAU backend for VA API"
url="http://freedesktop.org/wiki/Software/vaapi"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="libva-dev mesa-dev libvdpau-dev"
install=""
subpackages=""
source="https://freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2
	libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
	libva-vdpau-driver-0.7.4-glext-missing-definition.patch
	libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
	musl-fixes.patch"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare || return 1

	cd "$builddir"
	update_config_sub || return 1
}

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="5ec6d452d2dd307434ea3d32da49c3e5  libva-vdpau-driver-0.7.4.tar.bz2
4783c9fb3b1514d7a0903d137fa55428  libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
9870efaad0bbf4e28e6ffcff331a7a46  libva-vdpau-driver-0.7.4-glext-missing-definition.patch
1832517ead98e0e27268fc78594e18ce  libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
9492bbdebbec88c624e0089295141bfd  musl-fixes.patch"
sha256sums="155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9  libva-vdpau-driver-0.7.4.tar.bz2
1ae32b8e5cca1717be4a63f09e8c6bd84a3e9b712b933816cdb32bb315dbda98  libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
776bfe4c101cdde396d8783029b288c6cd825d0cdbc782ca3d94a5f9ffb4558c  libva-vdpau-driver-0.7.4-glext-missing-definition.patch
5e567b026b97dc0e207b6c05410cc1b7b77a58ceb5046801d0ea1a321cba3b9d  libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
06a70de12b9dfdaac05dd593ca6991c98538683c5921bb15fd90246f46bb40a1  musl-fixes.patch"
sha512sums="89f98dc1d7d590fb68f440dd1e37e025d64a621324e013e85dd1367681c07b09132fd2089539fc5b48934624648887a8a97539b4f07ddf9f56a8a456ad030094  libva-vdpau-driver-0.7.4.tar.bz2
f60e84f88eca17e762e3d5a53404d0215bca27051c02ff3e4441ad2c2897c0c04297b8e7b4693c37404bde95d7b5d7a6392b4c17ab1ece5f1bd78e6af376b301  libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
5be5b00e3bc6df790bf1f0cde9606053ef70ee3c36f97dd1ba2eaa38251ce86124586a34c5e3d7fc20c331f9894b23ec22e7ae9d007aa15940221f2547ee64ee  libva-vdpau-driver-0.7.4-glext-missing-definition.patch
0890112bed4013de70272972be14f608b22935938160f65a2165cca715c1e8ec7e8c92c5b5c66c655932d1adbaf0aad2f979f0d541890daee385e544a6890f82  libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
1152b2b9a6c33a5216757d41bbbb849e291066cfbd2a3657aad0e430544fc6e9020477ba66ef1178841d3321b28055510dd06a40f59cdc8f10b5651305d17014  musl-fixes.patch"