2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 11:10:08 -07:00
repo/extra/mesa/build

26 lines
654 B
Plaintext
Raw Normal View History

2019-06-27 03:19:50 -06:00
#!/bin/sh -e
# To prevent the need for users to fork the mesa package to add
# libglvnd support, the below code checks for its availability
# and enables it if present. ie: install glvnd, rebuild mesa.
pkg-config --exists libglvnd || glvnd_enabled=false
2019-06-27 12:36:01 -06:00
meson \
2019-06-27 03:19:50 -06:00
--prefix=/usr \
2019-06-27 03:25:10 -06:00
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
2019-06-27 12:36:01 -06:00
--buildtype=release \
2021-07-27 23:10:01 -06:00
-Dglx-read-only-text=true \
2021-07-08 00:50:41 -06:00
-Dplatforms=wayland \
-Dglx=disabled \
-Degl=enabled \
-Dvalgrind=false \
-Dzstd=disabled \
-Dglvnd="${glvnd_enabled:-true}" \
-Dvulkan-drivers='' \
2019-06-27 12:36:01 -06:00
. output
ninja -C output
2019-10-07 15:16:49 -06:00
ninja -C output install