2018-04-02 07:54:55 +02:00
|
|
|
# Description: HTTP library implementation in C.
|
|
|
|
# URL: https://wiki.gnome.org/action/show/Projects/libsoup
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2018-09-08 17:24:20 +02:00
|
|
|
# Depends on: glib-networking libpsl libxml2
|
2019-03-14 13:46:43 +01:00
|
|
|
# Optional: vala krb5
|
2018-04-02 07:54:55 +02:00
|
|
|
|
|
|
|
name=libsoup
|
2023-04-29 21:07:48 +02:00
|
|
|
version=2.74.3
|
2021-08-24 14:07:35 +02:00
|
|
|
release=1
|
2018-04-02 07:54:55 +02:00
|
|
|
source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2020-11-07 10:31:22 +01:00
|
|
|
meson setup build $name-$version \
|
|
|
|
--prefix=/usr \
|
2021-09-01 18:55:11 +02:00
|
|
|
--buildtype=plain \
|
2022-05-31 22:08:52 +02:00
|
|
|
--wrap-mode nodownload \
|
2021-09-01 18:55:11 +02:00
|
|
|
-D b_pie=true
|
|
|
|
#--auto-features disabled \
|
2020-11-07 10:31:22 +01:00
|
|
|
|
|
|
|
sed -i 's|-R/usr/lib||g' build/build.ninja
|
|
|
|
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
2019-03-14 13:46:43 +01:00
|
|
|
DESTDIR=$PKG meson install -C build
|
2018-04-02 07:54:55 +02:00
|
|
|
|
2019-03-14 13:46:43 +01:00
|
|
|
rm -r $PKG/usr/share/locale
|
2018-04-02 07:54:55 +02:00
|
|
|
}
|