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

50 lines
1.1 KiB
Text

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tofi
pkgver=0.9.1
pkgrel=2
pkgdesc="Tiny dynamic menu for Wayland"
url="https://github.com/philj56/tofi"
arch="all"
license="MIT"
makedepends="
cairo-dev
freetype-dev
harfbuzz-dev
libxkbcommon-dev
meson
musl-fts-dev
pango-dev
scdoc
wayland-dev
wayland-protocols
musl-dev>=1.2.4_git20230717-r5
"
subpackages="
$pkgname-doc
$pkgname-bash-completion
"
source="https://github.com/philj56/tofi/archive/v$pkgver/tofi-$pkgver.tar.gz
strtol-fix.patch
"
build() {
LDFLAGS="$LDFLAGS -lfts" abuild-meson . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
# It's just standard MIT license.
rm -rf "$pkgdir"/usr/share/licenses
}
sha512sums="
a14ab5ecf2c6e1ecb0ec3366c436140aa422995d464de513e81e454df0f303fc9661b534a3f40df4f14897629cd0cc299bb449482b676fbf254002731ac02231 tofi-0.9.1.tar.gz
4dc707b90d5f27f97a84601fe6c618c7ba5803d94a565b14c6f7a9c1ac44e7065d5df1cb8537a704d41ce6479e126fc668d6ddabb8d97401d54eb1d17ad7d31d strtol-fix.patch
"