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

26 lines
853 B
Bash

# Template build file for 'xf86-video-amdgpu'.
pkgname=xf86-video-amdgpu
version=0.0.20151110
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-20_1 mesa-ati-dri"
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 92e7c93d2f9c3036da1a17d7fccccb6f9e9eaa3d
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}