aports/community/ghex/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

39 lines
882 B
Text

# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=ghex
pkgver=46.2
_pkgver=${pkgver%.*}
pkgrel=0
pkgdesc="A hex editor for GNOME"
url="https://wiki.gnome.org/Apps/Ghex"
arch="all"
license="GPL-2.0-or-later"
depends="dconf"
makedepends="
at-spi2-core-dev
desktop-file-utils
glib-dev
gtk4.0-dev
itstool
libadwaita-dev
meson
"
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/ghex/$_pkgver/ghex-$pkgver.tar.xz"
build() {
abuild-meson -Db_lto=true . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
4130d115c5f644582af03917a0b2eacdb6fd989709f3f5e6676b85c698f2989dc8bdd7f971a348d54836d2609c7bee935868933edaadcdd4fdfa19ba874dbbdc ghex-46.2.tar.xz
"