gamemode - 1.8.1

This commit is contained in:
Евгений Храмов 2024-08-23 12:41:32 +03:00
parent cfe8d57ae0
commit efbeb40e3e

50
gamemode/alr.sh Normal file

@ -0,0 +1,50 @@
name='gamemode'
version='1.8.1'
release='1'
desc='A daemon/lib combo that allows games to request a set of optimisations be temporarily applied to the host OS'
homepage='https://github.com/FeralInteractive/gamemode'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
architectures=('amd64')
license=('BSD-3-Clause')
provides=('gamemode')
conflicts=('gamemode' 'gamemode-bin' 'gamemode-git')
deps=(
'glibc'
'dbus-libs'
'inih'
'systemd-libs'
'polkit'
)
deps_arch=(
'glibc'
'libdbus-1.so'
'libinih'
'libsystemd.so'
'polkit'
)
build_deps=(
'git'
'meson'
'appstream'
'dbus-devel'
'inih-devel'
)
sources=("git+https://github.com/FeralInteractive/gamemode.git#tag=v${version}")
checksums=('SKIP')
build() {
cd ${srcdir}
meson gamemode build --libexecdir /usr/lib/gamemode -Dwith-examples=false
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "${pkgdir}"
install-license gamemode/LICENSE.txt ./gamemode/LICENSE
}