[arch-commits] Commit in lib32-libsoup/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Sun Aug 22 23:23:22 UTC 2021
Date: Sunday, August 22, 2021 @ 23:23:22
Author: heftig
Revision: 1004237
2.74.0-1
Modified:
lib32-libsoup/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++++++++++-------
1 file changed, 23 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-22 20:09:12 UTC (rev 1004236)
+++ PKGBUILD 2021-08-22 23:23:22 UTC (rev 1004237)
@@ -3,7 +3,7 @@
# Contributor: josephgbr <rafael.f.f1 at gmail.com>
pkgname=lib32-libsoup
-pkgver=2.72.0
+pkgver=2.74.0
pkgrel=1
pkgdesc='HTTP client/server library for GNOME'
arch=(x86_64)
@@ -24,8 +24,12 @@
meson
samba
)
+checkdepends=(
+ apache
+ php-apache
+)
optdepends=('samba: Windows Domain SSO')
-_tag=ae1632c176c60b7fe832024c0a958f4079767c44
+_tag=590611dac35a02ff16a556f97de9eea249e75d06
source=(git+https://gitlab.gnome.org/GNOME/libsoup.git#tag=${_tag})
sha256sums=(SKIP)
@@ -36,21 +40,33 @@
}
build() {
- export CC='clang -m32'
- export CXX='clang++ -m32'
- export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
arch-meson libsoup build \
--libdir=/usr/lib32 \
-D introspection=disabled \
-D sysprof=disabled \
- -D tests=false \
-D vapi=disabled
meson compile -C build
}
+check() {
+ # SSL test flaky
+ # https://gitlab.gnome.org/GNOME/libsoup/-/issues/188
+ meson test -C build --print-errorlogs || :
+}
+
package() {
- DESTDIR="${pkgdir}" meson install -C build
+ depends+=(
+ libgssapi_krb5.so
+ libg{lib,object,io}-2.0.so
+ libpsl.so
+ )
+ provides+=(libsoup{,-gnome}-2.4.so)
+
+ meson install -C build --destdir "${pkgdir}"
rm -rf "${pkgdir}"/usr/{include,share}
}
More information about the arch-commits
mailing list