summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libsoup3/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/libsoup3/APKBUILD b/user/libsoup3/APKBUILD
new file mode 100644
index 000000000..6865d512c
--- /dev/null
+++ b/user/libsoup3/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Sheila Aman <sheila@vulpine.house>
+# Maintainer: Sheila Aman <sheila@vulpine.house>
+pkgname=libsoup3
+pkgver=3.0.4
+pkgrel=0
+pkgdesc="GObject-based HTTP library"
+url="https://wiki.gnome.org/Projects/libsoup"
+arch="all"
+options="!check" # HSTS tests fail because .localdomain names fail to resolve.
+license="LGPL-2.0+ AND LGPL-2.1+"
+depends=""
+makedepends="glib-dev libxml2-dev sqlite-dev libpsl-dev intltool vala-dev
+ gobject-introspection-dev glib-networking meson ninja krb5-dev cmake nghttp2-dev"
+subpackages="$pkgname-dev $pkgname-lang"
+source="https://download.gnome.org/sources/libsoup/${pkgver%.*}/libsoup-$pkgver.tar.xz"
+builddir="$srcdir/libsoup-$pkgver"
+
+build() {
+ meson -Dprefix=/usr build
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+sha512sums="4e6c226dfd8dd3fb2568affdbf88b8f0ad52903198c1dfc808c4cba1c0479442581953b5fb83166a3a198fb861618b62f165a4544b5daaed094bbeeff94a48ff libsoup-3.0.4.tar.xz"