diff options
author | Rick Chen <rick.chen@zoom.us> | 2018-12-29 12:38:23 +0800 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-31 10:24:49 +0000 |
commit | b9383f854ffb58b6cc4b041d5adeb45fa98c7ccb (patch) | |
tree | 77b982e3512f48d9f9aafd8b64b7a8e48d9c9068 /testing/xf86-video-vboxvideo/APKBUILD | |
parent | 47ec7061161d302db3463400cd64e0f4b57299a2 (diff) | |
download | aports-b9383f854ffb58b6cc4b041d5adeb45fa98c7ccb.tar.bz2 aports-b9383f854ffb58b6cc4b041d5adeb45fa98c7ccb.tar.xz |
testing/xf86-video-vboxvideo: new aport
https://cgit.freedesktop.org/xorg/driver/xf86-video-vbox/
VirtualBox guest video driver
Diffstat (limited to 'testing/xf86-video-vboxvideo/APKBUILD')
-rw-r--r-- | testing/xf86-video-vboxvideo/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/xf86-video-vboxvideo/APKBUILD b/testing/xf86-video-vboxvideo/APKBUILD new file mode 100644 index 0000000000..f955d73013 --- /dev/null +++ b/testing/xf86-video-vboxvideo/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: +# Maintainer: +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" +depends="xorg-server libxcomposite libpciaccess" +makedepends="xorg-server-dev xproto" +install="" +subpackages="$pkgname-doc" +source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/"$pkgname-$pkgver + +prepare() { + cd "$builddir" + default_prepare +} + +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" |