summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-09 12:40:16 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-09 12:40:16 -0600
commit9eee27124606ae272b9bb0a2108764f57119c32c (patch)
treed4fcc58a5890965002f89f41b98db9cc2b68bfa5 /user
parent5096008348c0ad493167ddef63aad2b387e4309b (diff)
downloadpackages-9eee27124606ae272b9bb0a2108764f57119c32c.tar.gz
packages-9eee27124606ae272b9bb0a2108764f57119c32c.tar.bz2
packages-9eee27124606ae272b9bb0a2108764f57119c32c.tar.xz
packages-9eee27124606ae272b9bb0a2108764f57119c32c.zip
user/xf86-video-vboxvideo: Only build on x86 CPUs
VirtualBox is only available for x86 (and SPARC), so we don't need to build this on architectures where it can't work anyway. Similarly, drop it from the xorg-drivers metapackage on other arches. Closes: #1289
Diffstat (limited to 'user')
-rw-r--r--user/xf86-video-vboxvideo/APKBUILD2
-rw-r--r--user/xorg-drivers/APKBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/user/xf86-video-vboxvideo/APKBUILD b/user/xf86-video-vboxvideo/APKBUILD
index e68b4a5ae..1fdaf50e2 100644
--- a/user/xf86-video-vboxvideo/APKBUILD
+++ b/user/xf86-video-vboxvideo/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.0.1
pkgrel=0
pkgdesc="X.Org driver for the VirtualBox video adaptor"
url="https://www.X.Org/"
-arch="all"
+arch="i528 pmmx x86 x86_64"
license="X11"
depends=""
makedepends="util-macros xorg-server-dev xorgproto-dev"
diff --git a/user/xorg-drivers/APKBUILD b/user/xorg-drivers/APKBUILD
index 4beeb9a83..2a12b0087 100644
--- a/user/xorg-drivers/APKBUILD
+++ b/user/xorg-drivers/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xorg-drivers
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Drivers for X.Org systems"
url="https://www.X.Org/"
arch="all"
@@ -15,7 +15,7 @@ depends="xf86-input-evdev xf86-input-joystick xf86-input-libinput
xf86-video-dummy xf86-video-fbdev 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"
+ xf86-video-trident xf86-video-v4l xf86-video-vesa"
case $CTARGET_ARCH in
pmmx)
depends="$depends xf86-video-geode xf86-video-intel" ;;
@@ -27,6 +27,8 @@ esac
case $CTARGET_ARCH in
aarch64*|arm*)
depends="$depends xf86-video-freedreno";;
+ pmmx|x86*|i528)
+ depends="$depends xf86-video-vboxvideo";;
*)
depends="$depends xf86-video-siliconmotion xf86-video-vmware";;
esac