xorg-video-drivers: reorg dependencies

xf86-video-mga doesn't make sense to include in the default set,
nouveau and amd are now included on aarch64, cleaner conditionals
This commit is contained in:
q66 2020-01-23 18:53:27 +01:00
parent bf65f720e5
commit d9e24a34ff

View File

@ -1,7 +1,7 @@
# Template file for 'xorg-video-drivers'
pkgname=xorg-video-drivers
version=7.6
revision=19
revision=20
build_style=meta
depends="xf86-video-fbdev xf86-video-dummy"
short_desc="X.org video drivers meta-package"
@ -12,11 +12,16 @@ license="Public domain"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
depends+=" xf86-video-vesa"
depends+=" xf86-video-ati xf86-video-amdgpu xf86-video-intel"
depends+=" xf86-video-mga xf86-video-nouveau xf86-video-vmware"
;;
ppc*)
depends+=" xf86-video-ati xf86-video-amdgpu"
depends+=" xf86-video-mga xf86-video-nouveau"
depends+=" xf86-video-intel"
depends+=" xf86-video-vmware"
;;
esac
case "$XBPS_TARGET_MACHINE" in
# 32-bit ARM/MIPs vary too much, don't have defaults
arm*|mips*) ;;
*)
depends+=" xf86-video-ati xf86-video-amdgpu"
depends+=" xf86-video-nouveau"
;;
esac