aports/testing/gamemode/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

40 lines
939 B
Text

# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
pkgname=gamemode
pkgver=1.8.2
pkgrel=0
pkgdesc="Optimise Linux system performance on demand"
url="https://github.com/FeralInteractive/gamemode"
arch="all"
license="BSD-3-Clause"
makedepends="
cmake
dbus-dev
elogind-dev
inih-dev
linux-headers
meson
samurai
"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/FeralInteractive/gamemode/archive/$pkgver.tar.gz"
build() {
abuild-meson \
-Dwith-examples=false \
-Dwith-sd-bus-provider=elogind \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
f0b7975d0ded5ccf4f37967cb5f310a60d50eca6bebcdec4909df35197a2b4174cd46ddc689dc9887414115ecac54a95edc2364938cbb484eabef847d662bd3b gamemode-1.8.2.tar.gz
"