aboutsummaryrefslogtreecommitdiff
path: root/wayland/imv/build
diff options
context:
space:
mode:
Diffstat (limited to 'wayland/imv/build')
-rwxr-xr-xwayland/imv/build17
1 files changed, 17 insertions, 0 deletions
diff --git a/wayland/imv/build b/wayland/imv/build
new file mode 100755
index 00000000..3217d9ad
--- /dev/null
+++ b/wayland/imv/build
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+clsed '/^directory =/s/=.*/= inih/' subprojects/inih.wrap
+
+cl-meson \
+ -Dlibjpeg=enabled \
+ -Dlibpng=enabled \
+ -Dlibtiff=enabled \
+ -Dlibrsvg="$(cpt l -C librsvg enabled disabled)" \
+ -Dunicode=grapheme \
+ -Dwindows=wayland \
+ . output
+
+ninja -C output
+ninja -C output install