From 89a6f3b1e6ba7a5ee6276fbb17e928f016bed313 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Sat, 28 May 2022 05:36:25 -0500 Subject: user/libsoup3: new package. --- user/libsoup3/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/libsoup3/APKBUILD (limited to 'user/libsoup3') 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 +# Maintainer: Sheila Aman +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" -- cgit v1.2.3-70-g09d2