28 lines
689 B
Plaintext
28 lines
689 B
Plaintext
# Description: HTTP library implementation in C.
|
|
# URL: https://wiki.gnome.org/action/show/Projects/libsoup
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: glib-networking libpsl libxml2
|
|
# Optional: vala krb5
|
|
|
|
name=libsoup
|
|
version=2.74.0
|
|
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 \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
#--wrap-mode nodownload \
|
|
#--auto-features disabled \
|
|
|
|
sed -i 's|-R/usr/lib||g' build/build.ninja
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
}
|