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

26 lines
882 B
Bash

# Template build file for 'xf86-video-amdgpu'.
pkgname=xf86-video-amdgpu
version=0.0.20150928
revision=1
lib32disabled=yes
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=gnu-configure
hostmakedepends="automake git libtool xorg-util-macros pkg-config"
makedepends="xf86driproto libudev-devel libpciaccess-devel
libdrm-devel pixman-devel MesaLib-devel xorg-server-devel"
depends="virtual?xserver-abi-video-19_1 mesa-ati-dri"
replaces="xf86-video-ati>=0"
short_desc="Xorg AMD Radeon RXXX video driver (amdgpu kernel module)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org"
license="MIT"
do_fetch() {
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-amdgpu $wrksrc
cd $wrksrc
# latest commit as of $version
git reset --hard 9945b4ae1664ab815b39ff07e7b66cfa7f942dfa
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}