From 956ba56daf4c0751315aabb1d7b9dd480aee0e73 Mon Sep 17 00:00:00 2001
From: Jan Beich <jbeich@FreeBSD.org>
Date: Sat, 2 Mar 2024 08:33:05 +0100
Subject: [PATCH] x11-wm/gamescope: unbreak build after b35bdcd8fa50

Run-time dependency glm found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency glm
Downloading glm source from https://github.com/g-truc/glm/archive/0.9.9.8.tar.gz
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://github.com/g-truc/glm/archive/0.9.9.8.tar.gz is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://github.com/g-truc/glm/archive/0.9.9.8.tar.gz is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://github.com/g-truc/glm/archive/0.9.9.8.tar.gz is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://github.com/g-truc/glm/archive/0.9.9.8.tar.gz is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://github.com/g-truc/glm/archive/0.9.9.8.tar.gz is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
A fallback URL could be specified using source_fallback_url key in the wrap file

layer/meson.build:4:10: ERROR: could not get https://github.com/g-truc/glm/archive/0.9.9.8.tar.gz is the internet available?

Reported by:	pkg-fallout
---
 x11-wm/gamescope/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile
index 8a3a8a16af01..1bf307aeb7e5 100644
--- a/x11-wm/gamescope/Makefile
+++ b/x11-wm/gamescope/Makefile
@@ -15,7 +15,8 @@ WWW=		https://github.com/ValveSoftware/gamescope
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+BUILD_DEPENDS=	cmake:devel/cmake-core \
+		evdev-proto>0:devel/evdev-proto \
 		glslangValidator:graphics/glslang \
 		vulkan-headers>0:graphics/vulkan-headers \
 		wayland-protocols>=1.17:graphics/wayland-protocols \
-- 
GitLab