From 65beedf68e5cf6811264981ddd88b8b680a613af Mon Sep 17 00:00:00 2001
From: Bart Ribbers <bribbers@disroot.org>
Date: Tue, 16 Feb 2021 11:25:31 +0100
Subject: [PATCH] testing/monado: disable SteamVR driver

We can't use it anyway
---
 testing/monado/APKBUILD | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/testing/monado/APKBUILD b/testing/monado/APKBUILD
index 874767ae7ea6..97ed6146de4c 100644
--- a/testing/monado/APKBUILD
+++ b/testing/monado/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Bart Ribbers <bribbers@disroot.org>
 pkgname=monado
 pkgver=21.0.0
-pkgrel=0
+pkgrel=1
 pkgdesc="The open source OpenXR runtime"
 url="https://monado.freedesktop.org"
 arch="all !mips64" # blocked by xr-hardware
@@ -36,8 +36,13 @@ source="https://gitlab.freedesktop.org/monado/monado/-/archive/v$pkgver/monado-v
 builddir="$srcdir/$pkgname-v$pkgver"
 
 build() {
+	# Steam is not available on Alpine and probably never will be
+	# It can be ran in a Flatpak on Alpine but Monado installed on the host
+	# can never work with it, so there is no need for us to build it
+
 	abuild-meson . output \
-		-Ddrivers=auto,ohmd,survive
+		-Ddrivers=auto,ohmd,survive \
+		-Dsteamvr_plugin=false
 	meson compile ${JOBS:+-j ${JOBS}} -C output
 }
 
-- 
GitLab