aports/community/gnome-secrets/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

57 lines
1.4 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Krassy Boykinov <kboykinov@teamcentrixx.com>
pkgname=gnome-secrets
pkgver=9.6
pkgrel=0
pkgdesc="password manager for GNOME"
url="https://gitlab.gnome.org/World/secrets"
arch="noarch"
license="GPL-3.0-only"
depends="
libadwaita
py3-keepass>=4.0.7
py3-otp>=2.4.0
py3-validators
py3-zxcvbn
python3
"
makedepends="
desktop-file-utils
gobject-introspection-dev
gtk4.0-dev
libadwaita-dev
libpwquality-dev
meson
"
checkdepends="
appstream-glib
desktop-file-utils
py3-gobject3
py3-pytest
"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/secrets/-/archive/${pkgver/_/.}/secrets-${pkgver/_/.}.tar.bz2
pydeps.patch
"
builddir="$srcdir/secrets-${pkgver/_/.}"
provides="gnome-passwordsafe=$pkgver-r$pkgrel"
replaces="gnome-passwordsafe"
options="!check" # the testsuite is not finding it's own compilation result
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
e60049f5858c6494936548ffb45b1b608d15d357c33f209ce1a60f630c467f70374e071f5389aaa71bb28b65131611c938ec3a1f73837846a033c02ca9913e6f secrets-9.6.tar.bz2
7628f345299eb9b47fdfc6ba6b559c47620a1520b9980bf4827beb230e180429245e6327eeb8a719a56c0f602259383e9ad36c62d073ca2443e4fe402af870d5 pydeps.patch
"