# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xorg-drivers
pkgver=1.0
pkgrel=1
pkgdesc="Drivers for X.Org systems"
url="https://www.X.Org/"
arch="all"
license="MIT"
options="!check !dbg"  # Metapacakge
subpackages=""
depends="xf86-input-evdev xf86-input-joystick xf86-input-keyboard
	xf86-input-libinput xf86-input-mouse xf86-input-synaptics
	xf86-input-void xf86-input-wacom

	xf86-video-amdgpu xf86-video-ast xf86-video-ati xf86-video-cirrus
	xf86-video-dummy xf86-video-fbdev xf86-video-glint xf86-video-mach64
	xf86-video-mga xf86-video-nouveau xf86-video-openchrome xf86-video-qxl
	xf86-video-r128 xf86-video-rendition xf86-video-sis xf86-video-sisusb
	xf86-video-tdfx xf86-video-trident xf86-video-v4l xf86-video-vboxvideo
	xf86-video-vesa"
case $CTARGET_ARCH in
	pmmx)
		depends="$depends xf86-video-geode xf86-video-intel" ;;
	x86_64)
		depends="$depends xf86-video-intel" ;;
	sparc*)
		depends="$depends xf86-video-sunffb xf86-video-sunleo" ;;
esac
case $CTARGET_ARCH in
	aarch64*|arm*)
		depends="$depends xf86-video-freedreno";;
	*)
		depends="$depends xf86-video-siliconmotion xf86-video-vmware";;
esac
source=""

package() {
	mkdir -p $pkgdir
}