From d9e24a34ffe907d60be7030242b9b8b57fd7ba7e Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 23 Jan 2020 18:53:27 +0100 Subject: [PATCH] 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 --- srcpkgs/xorg-video-drivers/template | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/srcpkgs/xorg-video-drivers/template b/srcpkgs/xorg-video-drivers/template index 1ada39fcff0..b21675a42dc 100644 --- a/srcpkgs/xorg-video-drivers/template +++ b/srcpkgs/xorg-video-drivers/template @@ -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