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

28 lines
792 B
Bash

# Template file for 'xf86-video-amdgpu'
pkgname=xf86-video-amdgpu
version=19.1.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto eudev-libudev-devel libpciaccess-devel
libdrm-devel pixman-devel MesaLib-devel xorg-server-devel"
depends="virtual?xserver-abi-video-24_1 mesa-dri"
short_desc="Xorg AMD Radeon RXXX video driver (amdgpu kernel module)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://wiki.freedesktop.org/xorg"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=4f0ea4e0ae61995ac2b7c72433d31deab63b60c78763020aaa1b28696124fe5d
lib32disabled=yes
CFLAGS="-fcommon"
LDFLAGS="-Wl,-z,lazy"
case "$XBPS_TARGET_MACHINE" in
armv6*) broken="no dri.h";;
esac
post_install() {
vlicense COPYING
}