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

30 lines
1,006 B
Text

# Template build file for 'xf86-video-nouveau'.
pkgname=xf86-video-nouveau
_distver=0.0.16
_gitver="$(date +%Y%m%d)"
version=${_distver}.${_gitver}
build_style=gnu-configure
nofetch=yes
noextract=yes
depends="xorg-server"
makedepends="git automake pkg-config libdrm-devel>=2.4.34 libudev-devel>=183 xorg-server-devel xorg-util-macros"
revision=1
short_desc="Xorg OpenSource NVIDIA video driver"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://nouveau.freedesktop.org/wiki/"
license="GPL-2, MIT"
checksum=017974b622eea3b4483405368492b0c6f178854a9b9753d50e13c578b8a328dc
long_desc="
This is the video driver for NVIDIA cards for the Xorg by using the
free software stack, nouveau."
do_fetch() {
local gitrepo="git://anongit.freedesktop.org/nouveau/xf86-video-nouveau"
# local gitrepo="git://github.com/skeggsb/xf86-video-nouveau.git"
msg_normal "Fetching source from git repo at: $gitrepo\n"
git clone --depth 1 -b master ${gitrepo} ${pkgname}-${version}
}
pre_configure() {
./autogen.sh
}