aports/community/glycin-loaders/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

52 lines
1.2 KiB
Text

# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=glycin-loaders
pkgver=1.2.1
pkgrel=0
pkgdesc="Sandboxed and extendable image decoding"
url="https://gitlab.gnome.org/sophie-h/glycin"
# s390x: libjxl (previously: https://github.com/nix-rust/nix/issues/1968)
arch="all !s390x"
license="MPL-2.0 OR LGPL-2.0-or-later"
depends="bubblewrap"
makedepends="
cargo
clang19-dev
cmake
gobject-introspection-dev
gtk4.0-dev
lcms2-dev
libheif-dev
libjxl-dev
librsvg-dev
libseccomp-dev
meson
vala
"
subpackages="$pkgname-dev"
source="https://gitlab.gnome.org/sophie-h/glycin/-/archive/$pkgver/glycin-$pkgver.tar.gz"
builddir="$srcdir/glycin-$pkgver"
# !check: tests hang
# net: cargo crates
options="!check net"
provides="glycin=$pkgver-r$pkgrel" # for backward compatibility
replaces="glycin" # for backward compatibility
build() {
abuild-meson \
-Dtest_skip_install=true \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
c4e98936d71dfa68ef13bc868c68d702e27a4b95199eba564f69025b45cd06b322ea7d37ff01fabd0d27b81c5cf41c7137a4e5d5e76b369df017de3a6aeacc5d glycin-1.2.1.tar.gz
"