meta-wayland/recipes-wlroots/gamescope/gamescope/0001-meson.build-dont-fail-if-stb-is-not-found.patch
2024-06-23 21:13:11 +02:00

28 lines
925 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 e0254e6..e6e88bd 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -21,7 +21,7 @@ cap_dep = dependency('libcap', required: get_option('rt_cap'))
epoll_dep = dependency('epoll-shim', required: false)
glm_dep = dependency('glm')
sdl2_dep = dependency('SDL2', required: get_option('sdl2_backend'))
-stb_dep = dependency('stb')
+stb_dep = dependency('stb', required: false)
avif_dep = dependency('libavif', version: '>=1.0.0', required: get_option('avif_screenshots'))
wlroots_dep = dependency(
--
2.43.0