fix(mesa3d)

closes #4390
This commit is contained in:
Jacob Heider 2023-12-13 14:42:09 -05:00
parent f40600f3bc
commit ff5b7dc3bd
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -71,7 +71,7 @@ build:
env: env:
Mako: https://files.pythonhosted.org/packages/05/5f/2ba6e026d33a0e6ddc1dddf9958677f76f5f80c236bd65309d280b166d3e/Mako-1.2.4.tar.gz Mako: https://files.pythonhosted.org/packages/05/5f/2ba6e026d33a0e6ddc1dddf9958677f76f5f80c236bd65309d280b166d3e/Mako-1.2.4.tar.gz
MarkupSafe: https://files.pythonhosted.org/packages/95/7e/68018b70268fb4a2a605e2be44ab7b4dd7ce7808adae6c5ef32e34f4b55a/MarkupSafe-2.1.2.tar.gz MarkupSafe: https://files.pythonhosted.org/packages/95/7e/68018b70268fb4a2a605e2be44ab7b4dd7ce7808adae6c5ef32e34f4b55a/MarkupSafe-2.1.2.tar.gz
PYTHONPATH: "{{deps.pygments.org.prefix}}/venv/lib/python3.11/site-packages:$PYTHONPATH" PYTHONPATH: '{{deps.pygments.org.prefix}}/venv/lib/python3.11/site-packages:$PYTHONPATH'
MESON_ARGS: MESON_ARGS:
- --libdir=lib - --libdir=lib
- --prefix={{prefix}} - --prefix={{prefix}}
@ -101,6 +101,8 @@ build:
test: test:
dependencies: dependencies:
freedesktop.org/pkg-config: '*' freedesktop.org/pkg-config: '*'
linux:
gnu.org/gcc: '*' # archlinux doesn't provide libgcc
env: env:
FLAGS: FLAGS:
- -lX11 - -lX11
@ -111,7 +113,7 @@ test:
- -lGl - -lGl
linux: linux:
FLAGS: FLAGS:
- "{{prefix}}/lib/libGL.so.1" - '{{prefix}}/lib/libGL.so.1'
script: script:
- cc glxgears.c -o gears $FLAGS - cc glxgears.c -o gears $FLAGS
- pkg-config --modversion gl | grep {{version}} - pkg-config --modversion gl | grep {{version}}