summaryrefslogtreecommitdiff
path: root/package/glib-networking/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-09-30 02:16:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-09-30 02:17:01 +0200
commitd549f5fc7b200673d47b0592c63ed1db8aa6f431 (patch)
tree333ade356c539c590e1f4f4a1dab7faf8e886a84 /package/glib-networking/Makefile
parent04ea987e9e012c6209bfab4810e18ebf02cfe213 (diff)
glib-networking: new package
Diffstat (limited to 'package/glib-networking/Makefile')
-rw-r--r--package/glib-networking/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/glib-networking/Makefile b/package/glib-networking/Makefile
new file mode 100644
index 000000000..29108145e
--- /dev/null
+++ b/package/glib-networking/Makefile
@@ -0,0 +1,38 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= glib-networking
+PKG_VERSION:= 2.80.1
+PKG_RELEASE:= 1
+PKG_HASH:= 35ca3d6ca638493765a7dc11c5f46b816dbc407ec939c1f69682960b6cfb76c9
+PKG_DESCR:= low-level core library for networking
+PKG_SECTION:= libs/misc
+PKG_DEPENDS:= glib
+PKG_BUILDDEP:= glib
+PKG_SITES:= https://gitlab.gnome.org/GNOME/glib-networking/-/archive/2.80.1/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,GLIB_NETWORKING,glib-networking,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
+
+MESON_FLAGS+= -Dlibproxy=disabled \
+ -Dgnome_proxy=disabled \
+ -Dgnutls=disabled \
+ -Dopenssl=enabled
+
+glib-networking-install:
+ $(INSTALL_DIR) $(IDIR_GLIB_NETWORKING)/usr/lib/gio/modules
+ $(CP) $(WRKINST)/usr/lib/gio/modules/*.so \
+ $(IDIR_GLIB_NETWORKING)/usr/lib/gio/modules
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk