mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 02:16:39 +02:00
38 lines
1,021 B
Text
38 lines
1,021 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=xf86-video-vboxvideo
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
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() {
|
|
export CFLAGS="${CFLAGS/-fno-plt}"
|
|
export CXXFLAGS="${CXXFLAGS/-fno-plt}"
|
|
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-selective-werror
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|
|
sha512sums="
|
|
391fc70cb7774e6e4a15f59ae7c92b1ad4dd0cf0854d92d42d990562d35686892646cbf965fd33bc0087e75a23b04162fea67829bad47173401ebac928bdfe47 xf86-video-vboxvideo-1.0.0.tar.gz
|
|
"
|