summaryrefslogtreecommitdiff
path: root/Ports/glib/package.sh
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2021-08-11 19:37:44 +0200
committerLinus Groh <mail@linusgroh.de>2021-08-14 22:32:00 +0100
commitdf176ca2d9310fc5e00503e9e51d911e1fdcf51d (patch)
tree56ce7b278b83ed655cfe80f4635fbc8a988c9bbc /Ports/glib/package.sh
parentcb10c62327d3cde9d98605db3c471a294b0a03a3 (diff)
downloadserenity-df176ca2d9310fc5e00503e9e51d911e1fdcf51d.zip
Ports: Add glib version 2.69.0
Diffstat (limited to 'Ports/glib/package.sh')
-rwxr-xr-xPorts/glib/package.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/Ports/glib/package.sh b/Ports/glib/package.sh
new file mode 100755
index 0000000000..cbfe7de9e2
--- /dev/null
+++ b/Ports/glib/package.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=glib
+version=2.69.0
+depends="libiconv libffi zlib gettext"
+useconfigure=true
+configopts="--cross-file ../cross_file-$SERENITY_ARCH.txt"
+files="https://gitlab.gnome.org/GNOME/glib/-/archive/2.69.0/glib-${version}.tar.gz glib-${version}.tar.gz 35af83aedf34b96f1e99ed9c995c50960509f504750fb4def2440a9406b00a95"
+auth_type=sha256
+
+configure() {
+ run meson _build $configopts
+}
+
+build() {
+ run ninja -C _build
+}
+
+install() {
+ run meson install -C _build --destdir $SERENITY_BUILD_DIR/Root
+}