aports/community/glib-networking/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

49 lines
1.2 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <kboykinov@teamcentrixx.com>
pkgname=glib-networking
pkgver=2.80.1
pkgrel=1
pkgdesc="Networking support for GLib"
url="https://gitlab.gnome.org/GNOME/glib-networking"
arch="all"
license="LGPL-2.0-or-later"
depends="ca-certificates gsettings-desktop-schemas"
makedepends="
bash
glib-dev
gnutls-dev
gsettings-desktop-schemas-dev
libgcrypt-dev
libproxy-dev
meson
p11-kit-dev
"
subpackages="$pkgname-dbg $pkgname-lang"
source="https://download.gnome.org/sources/glib-networking/${pkgver%.*}/glib-networking-$pkgver.tar.xz"
options="!check" # new p11-kit makes a few of these fail, run them next release
# secfixes:
# 2.64.3-r0:
# - CVE-2020-13645
build() {
abuild-meson \
-Db_lto=true \
-Dopenssl=disabled \
-Dgnutls=enabled \
. build
meson compile -C build
}
check() {
meson test --print-errorlogs -C build
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C build
rm -rf "$pkgdir"/usr/lib/systemd
}
sha512sums="
0f1b3807635fcae143ad1a89731a8f7e1b6f4b8f6cc2dd1b7b5eea3d77c796ee5a55ea330901bfd22927d07795f39450d30f0f1029595761e659f96a8415c263 glib-networking-2.80.1.tar.xz
"