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

47 lines
1.1 KiB
Text

# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Andrew Hills <ahills@ednos.net>
# Contributor: Jean-Louis Fuchs <safe.pen2857@rhizoome.ch>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=girara
pkgver=0.4.5
pkgrel=3
pkgdesc="GTK user interface that focuses on simplicity and minimalism"
url="https://pwmt.org/projects/girara/"
arch="all"
license="Zlib"
makedepends="
check-dev
doxygen
gtk+3.0-dev
json-glib-dev
libnotify-dev
meson
ncurses
"
checkdepends="xvfb-run"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://pwmt.org/projects/girara/download/girara-$pkgver.tar.xz"
build() {
abuild-meson \
-Ddefault_library=shared \
build .
ninja -C build
}
check() {
xvfb-run -a meson test --print-errorlogs -C build
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C build
local _docdir="$pkgdir"/usr/share/doc/$pkgname/
mkdir -p "$_docdir"
cp -r build/doc/html/* "$_docdir"
}
sha512sums="
86cdb87c919e871746e9b1a118867a8af39ac60f42b084c599159aa1c5f59f0d9eb493d22a79d2d4561497c14fc6e5a531aef805f4785050990eaa91b5fd5521 girara-0.4.5.tar.xz
"