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

35 lines
854 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
pkgname=razergenie
pkgver=1.3.0
pkgrel=0
pkgdesc="Configure and control your Razer devices"
url="https://github.com/z3ntu/RazerGenie"
arch="all"
license="GPL-3.0-or-later"
depends="openrazer"
makedepends="
libopenrazer-dev
meson
qt6-qtbase-dev
qt6-qttools-dev
"
source="https://github.com/z3ntu/RazerGenie/releases/download/v$pkgver/RazerGenie-$pkgver.tar.xz"
builddir="$srcdir/RazerGenie-$pkgver"
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="
c3b095d83b80387717cfbc02d060d563a0785bb44869fd328f0bcaf278f68e05eb7eeb12c506d3cac6a83a6edd2cdeca0b74669a23140e7ac7c787e5cac75c40 RazerGenie-1.3.0.tar.xz
"