aboutsummaryrefslogtreecommitdiff
path: root/wayland/xwayland/build
diff options
context:
space:
mode:
Diffstat (limited to 'wayland/xwayland/build')
-rwxr-xr-xwayland/xwayland/build19
1 files changed, 19 insertions, 0 deletions
diff --git a/wayland/xwayland/build b/wayland/xwayland/build
new file mode 100755
index 00000000..dd8e094e
--- /dev/null
+++ b/wayland/xwayland/build
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+# I don't know why these build systems add these "optional" dependencies, then
+# don't let you disable them when your system has it.
+clsed "/libbsd\_dep/s/'libbsd'/'libnothankyou'/" meson.build
+
+cl-meson \
+ -Ddefault_font_path=/usr/share/fonts \
+ -Dsha1=libcrypto \
+ -Dinput_thread=true \
+ -Ddri3=true \
+ -Dxdmcp=false \
+ -Dsecure-rpc=false \
+ . output
+
+ninja -C output
+ninja -C output install