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

26 lines
886 B
Bash

# Template build file for 'xf86-video-amdgpu'.
pkgname=xf86-video-amdgpu
version=0.0.0.0.20150907
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 20150907
git reset --hard 63948ea091a9b324327ade7ec4fc5d67ca7e6f6f
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}