]> git.armaanb.net Git - asd-repo.git/blobdiff - junk/harfbuzz-icu/build
Switch browser to Chromium
[asd-repo.git] / junk / harfbuzz-icu / build
diff --git a/junk/harfbuzz-icu/build b/junk/harfbuzz-icu/build
new file mode 100755 (executable)
index 0000000..1cf8e03
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+# Will store the built package's files to
+# allow us to cherry-pick the ICU related files.
+mkdir -p tmp
+export DESTDIR="$PWD/tmp"
+
+meson \
+    --prefix=/usr \
+    -Dglib=enabled \
+    -Dicu=enabled \
+    -Dicu_builtin=false \
+    -Dbenchmark=disabled \
+    -Dcairo=disabled \
+    -Ddocs=disabled \
+    . output
+
+ninja -C output
+ninja -C output install
+
+install -Dt "$1/usr/lib"              tmp/usr/lib/libharfbuzz-icu*
+install -Dt "$1/usr/lib/pkgconfig"    tmp/usr/lib/pkgconfig/harfbuzz-icu.pc
+install -Dt "$1/usr/include/harfbuzz" tmp/usr/include/harfbuzz/hb-icu.h