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

28 lines
958 B
Bash

# Template build file for 'xf86-video-nouveau'.
pkgname=xf86-video-nouveau
version=1.0.11.99.1
revision=1
lib32disabled=yes
build_style=gnu-configure
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
hostmakedepends="git automake libtool pkg-config xorg-util-macros"
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=f84fe2b2787f3ea9419eac3aa86462b929a551b3dbc4de550cc83b67f3216848
do_fetch() {
git clone git://anongit.freedesktop.org/nouveau/xf86-video-nouveau $wrksrc
cd $wrksrc
# latest commit as of 20151110
git reset --hard 1ff13a922535924681b91452235b017e43a4c6f6
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}