aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsoup/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-15 18:04:05 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-28 08:53:53 +0000
commitf1acd9476c060b33c8f08a571a5ee38bcf983bbc (patch)
tree5517e5f926d7dc1bad8a40c28cb33e4811c48f58 /community/libsoup/APKBUILD
parent8fb3ea758373f40a24a58165e3bac06d934e8673 (diff)
downloadaports-f1acd9476c060b33c8f08a571a5ee38bcf983bbc.tar.gz
aports-f1acd9476c060b33c8f08a571a5ee38bcf983bbc.tar.bz2
aports-f1acd9476c060b33c8f08a571a5ee38bcf983bbc.tar.xz
community/libsoup: upgrade to 2.66.2
Diffstat (limited to 'community/libsoup/APKBUILD')
-rw-r--r--community/libsoup/APKBUILD41
1 files changed, 20 insertions, 21 deletions
diff --git a/community/libsoup/APKBUILD b/community/libsoup/APKBUILD
index af1dc689b0..6893b3d079 100644
--- a/community/libsoup/APKBUILD
+++ b/community/libsoup/APKBUILD
@@ -1,17 +1,17 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libsoup
-pkgver=2.64.1
+pkgver=2.66.2
pkgrel=0
-pkgdesc="Gnome HTTP Library"
-url="http://live.gnome.org/LibSoup"
+pkgdesc="Gnome HTTP client/server Library"
+url="https://wiki.gnome.org/Projects/libsoup"
arch="all"
-options="!check" # Requires a running Apache HTTPd. not kidding...
+options="!check" # Wants to bind to ports, which doesn't work in our environment
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends="glib-networking"
-depends_dev="gnutls-dev sqlite-dev"
-makedepends="$depends_dev libgcrypt-dev libgpg-error-dev zlib-dev
- gobject-introspection-dev intltool vala libxml2-dev libpsl-dev"
+makedepends="libgcrypt-dev libgpg-error-dev zlib-dev meson gtk-doc
+ gobject-introspection-dev vala libxml2-dev libpsl-dev sqlite-dev"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
# secfixes:
@@ -19,23 +19,22 @@ source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgve
# - CVE-2017-2885
build() {
- cd "$builddir"
- DATADIRNAME=share ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-more-warnings \
- --disable-static \
- --disable-tls-check \
- --enable-introspection=yes \
- --localedir=/usr/share/locale
- make
+ -Dtls_check=false \
+ -Dgssapi=false \
+ -Ddoc=true \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="13d16457a443294020621df34205c570d25a6ff048ab68633cc504d70a8a1281a38dddb54110fd35a059bd69aebc3fd49b5ab0fc42abf4f4a19746a25050119d libsoup-2.64.1.tar.xz"
+sha512sums="1df443470239f23d22301e37e36f3d34963352ee0122f317cd15b19d90115831091bddcee27bc6f0d4994adcf4e5bd9c0395de2bd7f39ae305ba0edea7789092 libsoup-2.66.2.tar.xz"