mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: add mesa-demos
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git mesa-demos-clean/meson.build mesa-demos-workdir/meson.build
|
||||
index c1853f9..1edc2d9 100644
|
||||
--- mesa-demos-clean/meson.build
|
||||
+++ mesa-demos-workdir/meson.build
|
||||
@@ -99,7 +99,7 @@ if not dep_glu.found() and host_machine.system() != 'darwin'
|
||||
endif
|
||||
|
||||
dep_glx = dependency('glx', required: false, disabler : true)
|
||||
-if not dep_glx.found() and host_machine.system() == 'darwin'
|
||||
+if not dep_glx.found() and (host_machine.system() == 'darwin' or host_machine.system() == 'astral')
|
||||
# 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)
|
||||
Reference in New Issue
Block a user