mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 07:44:18 +08:00
mesa-demos-x11: patch to use mesa-x11
This commit is contained in:
parent
bc4d9dabe5
commit
5b759bf769
@ -1,11 +1,11 @@
|
||||
[source]
|
||||
tar = "https://archive.mesa3d.org/demos/mesa-demos-9.0.0.tar.xz"
|
||||
blake3 = "eef628aebdaa65d3bb1078bb6d6bdd7685c41fb67674e7f7b0e1e15f10433240"
|
||||
patches = ["redox.patch"]
|
||||
|
||||
[build]
|
||||
dependencies = [
|
||||
"libpthread-stubs",
|
||||
"libglvnd",
|
||||
"libstdcxx",
|
||||
"libx11",
|
||||
"libxau",
|
||||
|
||||
11
recipes/wip/x11/mesa-demos-x11/redox.patch
Normal file
11
recipes/wip/x11/mesa-demos-x11/redox.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- mesa-demos-9.0.0/meson.build 2023-03-22 06:13:43.000000000 -0600
|
||||
+++ source/meson.build 2025-05-06 15:58:57.523274337 -0600
|
||||
@@ -99,7 +99,7 @@
|
||||
endif
|
||||
|
||||
dep_glx = dependency('glx', required: false, disabler : true)
|
||||
-if not dep_glx.found() and host_machine.system() == 'darwin'
|
||||
+if not dep_glx.found()
|
||||
# xquartz doesn't have a glx.pc, but it does have the header. And all the
|
||||
# symbols reside in libGL, so let's just use that.
|
||||
if cc.check_header('GL/glx.h', dependencies: dep_x11)
|
||||
Loading…
Reference in New Issue
Block a user