# Template build file for 'xf86-video-nouveau'.
pkgname=xf86-video-nouveau
version=1.0.12
revision=2
lib32disabled=yes
build_style=gnu-configure
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
hostmakedepends="pkg-config"
makedepends="libudev-devel libdrm-devel xorg-server-devel"
depends="virtual?xserver-abi-video-20_1 mesa-nouveau-dri"
short_desc="Xorg opensource NVIDIA video driver"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://nouveau.freedesktop.org/wiki/"
license="GPL-2"
distfiles="http://xorg.freedesktop.org/archive/individual/driver/${pkgname}-${version}.tar.bz2"
checksum=0ea057ad7fc31caba2d4e46c7e418fe2b3c762b04fb8d382f53383397fd8391e

LDFLAGS="-Wl,-z,lazy"
