void-packages/srcpkgs/xf86-video-openchrome/template

27 lines
766 B
Bash

# Template build file for 'xf86-video-openchrome'.
pkgname=xf86-video-openchrome
version=0.6.0
revision=2
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel libXvMC-devel"
depends="virtual?xserver-abi-video-24_1"
short_desc="Xorg driver for VIA IGPs"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Duncaen <duncaen@voidlinux.org>"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=da2975c6379358de52c1257710c67eb59139a7f0a1cd28d00cc64cc3e1c02f75
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg"
LDFLAGS="-Wl,-z,lazy"
case "$XBPS_TARGET_MACHINE" in
arm*|aarch*) broken="requires sarea.h which isn't present in cross-compiled arm" ;;
esac
post_install() {
vlicense COPYING
}