aports/testing/gamemode/APKBUILD
Díaz Urbaneja Víctor Diego Alejandro (Sodomon) 29cf499737 testing/gamemode: upgrade to 1.8.2
2025-02-05 22:55:58 +00:00

40 lines
952 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 --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
f0b7975d0ded5ccf4f37967cb5f310a60d50eca6bebcdec4909df35197a2b4174cd46ddc689dc9887414115ecac54a95edc2364938cbb484eabef847d662bd3b gamemode-1.8.2.tar.gz
"