summaryrefslogtreecommitdiff
path: root/user/libsoup/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-22 17:18:53 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-22 17:18:53 -0500
commit786c34fd42362c7f1ba793fc082211ba662d0b87 (patch)
treeb32ba4e81535b159913dcca2f56fa13dcea70400 /user/libsoup/APKBUILD
parentd2a2cd04079ce5cf261798267b8add0f504b9c8a (diff)
downloadpackages-786c34fd42362c7f1ba793fc082211ba662d0b87.tar.gz
packages-786c34fd42362c7f1ba793fc082211ba662d0b87.tar.bz2
packages-786c34fd42362c7f1ba793fc082211ba662d0b87.tar.xz
packages-786c34fd42362c7f1ba793fc082211ba662d0b87.zip
user/libsoup: upgrade to 2.66.0
Diffstat (limited to 'user/libsoup/APKBUILD')
-rw-r--r--user/libsoup/APKBUILD32
1 files changed, 13 insertions, 19 deletions
diff --git a/user/libsoup/APKBUILD b/user/libsoup/APKBUILD
index b69b2ea55..27dde65ad 100644
--- a/user/libsoup/APKBUILD
+++ b/user/libsoup/APKBUILD
@@ -1,38 +1,32 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libsoup
-pkgver=2.64.2
+pkgver=2.66.0
pkgrel=0
pkgdesc="GObject-based HTTP library"
url="https://wiki.gnome.org/Projects/libsoup"
arch="all"
-options="!check" # test suite requires poorly-configured apache-httpd
license="LGPL-2.0+ AND LGPL-2.1+"
makedepends="glib-dev libxml2-dev sqlite-dev libpsl-dev intltool vala-dev
- gobject-introspection-dev glib-networking"
-subpackages="$pkgname-dev $pkgname-doc"
-source="https://download.gnome.org/sources/libsoup/2.64/libsoup-$pkgver.tar.xz"
+ gobject-introspection-dev glib-networking meson ninja krb5-dev"
+subpackages="$pkgname-dev $pkgname-lang"
+source="https://download.gnome.org/sources/libsoup/${pkgver%.*}/libsoup-$pkgver.tar.xz"
build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
+ mkdir -p "$builddir"/build
+ cd "$builddir"/build
+ meson -Dprefix=/usr ..
+ ninja
}
check() {
- cd "$builddir"
- make check
+ cd "$builddir"/build
+ ninja test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" ninja install
}
-sha512sums="c001495be4e1eafd169b904431b22e961b52f5a3202f2e75b0657281cbfd91153148765bd95378bba3e85a66d7eaca428750641f20c07ca3232d1f9bdabdc90f libsoup-2.64.2.tar.xz"
+sha512sums="a79d4dafbf12a3345803b38859a398839e3e9e389552c90bab60b005ffa7e4ce2f43112e322ca10f134ab6e6c53568e058c82c370617e872539e1fafd82a1352 libsoup-2.66.0.tar.xz"