New package: gamemode-1.6.1

This commit is contained in:
toluschr 2020-05-25 19:49:29 +02:00 committed by Echo
parent ec6e74f74c
commit 41635fa4ea
5 changed files with 53 additions and 0 deletions

View File

@ -3597,6 +3597,8 @@ libgnuradio-nrsc5-1.0.0git.so.0.0.0 gnuradio-nrsc5-1.0.0_1
libvkd3d-utils.so.1 vkd3d-1.1_1
libvkd3d-shader.so.1 vkd3d-1.3_1
libvkd3d.so.1 vkd3d-1.1_1
libgamemode.so.0 libgamemode-1.6.1_1
libgamemodeauto.so.0 libgamemode-1.6.1_1
libgaminggear.so.0 libgaminggear-0.15.1_1
libgaminggearfx.so.0 libgaminggear-0.15.1_1
libgaminggearwidget.so.0 libgaminggear-0.15.1_1

View File

@ -0,0 +1,10 @@
--- a/daemon/gamemode-context.c
+++ b/daemon/gamemode-context.c
@@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <sys/time.h>
#include <systemd/sd-daemon.h> /* TODO: Move usage to gamemode-dbus.c */
#include <unistd.h>
+#include <signal.h>
/**
* The GameModeClient encapsulates the remote connection, providing a list

39
srcpkgs/gamemode/template Normal file
View File

@ -0,0 +1,39 @@
# Template file for 'gamemode'
pkgname=gamemode
version=1.6.1
revision=1
build_style=meson
configure_args="-Dwith-sd-bus-provider=elogind"
hostmakedepends="pkg-config"
makedepends="inih-devel dbus-devel elogind-devel"
depends="lib${pkgname}>=${version}_${revision}"
short_desc="Optimise Linux system performance on demand"
maintainer="Kenneth Dodrill <hello@kennydodrill.com>"
license="BSD-3-Clause"
homepage="https://github.com/FeralInteractive/gamemode"
distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
checksum=4377b88b5147ebf8d3f9a7a1f94c6d00f1e9624cd171d5af942ce9766be3747f
post_install() {
vsconf example/gamemode.ini
vlicense LICENSE.txt
vdoc README.md
}
libgamemode_package() {
short_desc+=" - shared libraries"
pkg_install() {
# For compatibility reasons, all shlibs should go in libgamemode
vmove "usr/lib/*.so*"
}
}
libgamemode-devel_package() {
short_desc+=" - development files"
depends="lib${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove usr/include
}
}

1
srcpkgs/libgamemode Symbolic link
View File

@ -0,0 +1 @@
gamemode

1
srcpkgs/libgamemode-devel Symbolic link
View File

@ -0,0 +1 @@
gamemode