libsoup: adopted port

This commit is contained in:
Tim Biermann 2023-08-27 17:36:27 +02:00
parent 10a333f853
commit a958ba2e28
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 15 additions and 14 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/ZwuPm6zX8bI4SOGLCnG0gGay1ZTrxhyauUE+9IZJC8DMVolcD0cOpusShQ5/ba/L2RJ8H1aqdjv3o8DgJb3Qww=
SHA256 (Pkgfile) = 0f317ef8c5543ce12966ddaa69e50d9bf1c014896d4a5c4df6c1a754b28040dc
RWSE3ohX2g5d/UG75B3C0JR6D6AFnuCdCg4CGkeVfavYix5Q1bI/ohByAp+VEh46MEXsiTxX7Cwe2chjFC9qyCG4pOD7P84UUAY=
SHA256 (Pkgfile) = 50f8f86ed5b28c05fd5b7f460de7b2e7999ef737f4326274c30b2c1db9c964ce
SHA256 (.footprint) = baa48ba3a1da8ebecd45e1b1e5eb3bbdb55ff252c9512e60fa6173a979a786f3
SHA256 (libsoup-2.74.3.tar.xz) = e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13

View File

@ -1,6 +1,6 @@
# Description: HTTP library implementation in C.
# Description: HTTP library implementation in C
# URL: https://wiki.gnome.org/action/show/Projects/libsoup
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: glib-networking libpsl libxml2
# Optional: vala krb5
@ -10,17 +10,18 @@ release=1
source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
meson setup build $name-$version \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_pie=true
#--auto-features disabled \
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
#--auto-features disabled \
sed -i 's|-R/usr/lib||g' build/build.ninja
sed -i 's|-R/usr/lib||g' build/build.ninja
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/share/locale
rm -r $PKG/usr/share/locale
}