diff options
author | Zach van Rijn <me@zv.io> | 2022-05-28 05:36:25 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:57 -0500 |
commit | 89a6f3b1e6ba7a5ee6276fbb17e928f016bed313 (patch) | |
tree | fcb5b4cb76f6a72292c96001f5e8a21353da25ee /user/libsoup3/APKBUILD | |
parent | fa8e3f0da3ae5680c56230072fc844f212544982 (diff) | |
download | packages-89a6f3b1e6ba7a5ee6276fbb17e928f016bed313.tar.gz packages-89a6f3b1e6ba7a5ee6276fbb17e928f016bed313.tar.bz2 packages-89a6f3b1e6ba7a5ee6276fbb17e928f016bed313.tar.xz packages-89a6f3b1e6ba7a5ee6276fbb17e928f016bed313.zip |
user/libsoup3: new package.
Diffstat (limited to 'user/libsoup3/APKBUILD')
-rw-r--r-- | user/libsoup3/APKBUILD | 31 |
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" |