2023-08-27 17:47:53 +02:00
|
|
|
# Description: Network-related giomodules for glib
|
2020-06-21 20:21:42 +10:00
|
|
|
# URL: https://git.gnome.org/browse/glib-networking/
|
2023-08-27 17:47:53 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2023-03-23 11:38:54 +01:00
|
|
|
# Depends on: gnutls gsettings-desktop-schemas
|
2018-04-02 15:54:20 +10:00
|
|
|
|
|
|
|
name=glib-networking
|
2024-03-01 21:09:33 +01:00
|
|
|
version=2.78.1
|
2019-10-15 19:25:13 +11:00
|
|
|
release=1
|
2018-04-02 20:08:01 +10:00
|
|
|
source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
|
2018-04-02 15:54:20 +10:00
|
|
|
|
|
|
|
build() {
|
2023-08-27 17:47:53 +02:00
|
|
|
meson setup $name-$version build \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D libproxy=disabled
|
2018-04-02 15:54:20 +10:00
|
|
|
|
2023-08-27 17:47:53 +02:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2018-04-02 20:08:01 +10:00
|
|
|
|
2023-08-27 17:47:53 +02:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/locale
|
2018-04-02 15:54:20 +10:00
|
|
|
}
|