PKGNAME=xf86-video-amdgpu
PKGDES="XF86 driver for AMDGPU compatible graphics cards"
PKGDEP="xorg-server libdrm"
PKGSEC=x11

AUTOTOOLS_AFTER=(
    '--enable-glamor'
)
AUTOTOOLS_AFTER__RETRO=(
    '--disable-glamor'
)

AB_FLAGS_RRO=0
AB_FLAGS_NOW=0

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
