summaryrefslogtreecommitdiff
path: root/repo/system/glib-networking/glib-networking.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-28 19:37:22 +0100
committerdavidovski <david@davidovski.xyz>2022-05-28 19:37:22 +0100
commit5170f5c85fe0e84fe8af55c6a024c7b6e844b0f1 (patch)
tree105f4e0fc05bac2fbdc03ab446987eaaa477988c /repo/system/glib-networking/glib-networking.xibuild
parent4615385d6c8203001962a7a31dd02cdb1a73544b (diff)
fixed packages
Diffstat (limited to 'repo/system/glib-networking/glib-networking.xibuild')
-rw-r--r--repo/system/glib-networking/glib-networking.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/system/glib-networking/glib-networking.xibuild b/repo/system/glib-networking/glib-networking.xibuild
new file mode 100644
index 0000000..88e7244
--- /dev/null
+++ b/repo/system/glib-networking/glib-networking.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="glib-networking"
+DESC="Networking support for GLib"
+
+MAKEDEPS="meson ninja "
+DEPS="glib cacerts gnutls gsettings-desktop-schemas intltool musl libproxy"
+
+PKG_VER=2.72.0
+SOURCE="https://download.gnome.org/sources/glib-networking/${PKG_VER%.*}/glib-networking-$PKG_VER.tar.xz"
+
+build () {
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr \
+ -Dopenssl=disabled \
+ -Dgnutls=enabled \
+ .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}