]> git.armaanb.net Git - asd-repo.git/blobdiff - junk/pango/build
pango, openjpeg: move to junk
[asd-repo.git] / junk / pango / build
diff --git a/junk/pango/build b/junk/pango/build
new file mode 100755 (executable)
index 0000000..6bf0c55
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+sed -i \
+    -e "/subdir('tests')/d" \
+    -e "/subdir('examples')/d" \
+    meson.build
+
+patch -p1 < no-fribidi.patch
+
+# Don't clone subprojects we don't even enable
+rm -rf subprojects
+
+meson \
+    --prefix=/usr \
+    -Dgtk_doc=false \
+    -Dinstall-tests=false \
+    -Dintrospection=disabled \
+    . build
+
+ninja -C build
+ninja -C build install