# Template build file for 'xf86-video-amdgpu'.
pkgname=xf86-video-amdgpu
version=1.3.0
revision=2
lib32disabled=yes
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xf86driproto eudev-libudev-devel libpciaccess-devel
 libdrm-devel pixman-devel MesaLib-devel xorg-server-devel"
depends="virtual?xserver-abi-video-23_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"
distfiles="http://xorg.freedesktop.org//releases/individual/driver/${pkgname}-${version}.tar.bz2"
checksum=c1630f228938be949273f72b29ae70822dde064ad79c3ccb14d55f427e3f4e70

LDFLAGS="-Wl,-z,lazy"
