meta-wayland/recipes-wlroots/gamescope/gamescope/0001-meson.build-dont-fail-if-stb-is-not-found.patch
Markus Volk 724b95019f gamescope: update 3.13.16 -> 3.14.0
- fix buildpath leakage into gamescope binary
2024-02-12 16:50:06 +01:00

28 lines
829 B
Diff

From d09dae4bd9494c03fb85c216fe33c883a7b7f64d Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Mon, 8 Jan 2024 14:00:07 +0100
Subject: [PATCH] meson.build: dont fail if stb is not found
we have neigher pkconfig nor cmake support
manually add it to CXXFLAGS
---
src/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/meson.build b/src/meson.build
index 4f88d6e..c3ad9c8 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -20,7 +20,7 @@ cap_dep = dependency('libcap', required: false)
epoll_dep = dependency('epoll-shim', required: false)
glm_dep = dependency('glm')
sdl_dep = dependency('SDL2')
-stb_dep = dependency('stb')
+stb_dep = dependency('stb', required: false)
avif_dep = dependency('libavif', version: '>=1.0.0')
wlroots_dep = dependency(
--
2.43.0