aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xf86-video-vboxvideo/APKBUILD
blob: 5b7eade6f78cb87dfc4306162fa05f2c7a63c6db (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
# Contributor:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-vboxvideo
pkgver=1.0.0
pkgrel=0
pkgdesc="VirtualBox guest video driver"
url="https://cgit.freedesktop.org/xorg/driver/xf86-video-vbox/"
arch="x86 x86_64"
license="MIT"
makedepends="xorg-server-dev xproto libxcomposite-dev libpciaccess-dev
	libxext-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/"$pkgname-$pkgver

build() {
	cd "$builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-selective-werror
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}


sha512sums="391fc70cb7774e6e4a15f59ae7c92b1ad4dd0cf0854d92d42d990562d35686892646cbf965fd33bc0087e75a23b04162fea67829bad47173401ebac928bdfe47  xf86-video-vboxvideo-1.0.0.tar.gz"