New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New package: gamemode-1.6 #22291
New package: gamemode-1.6 #22291
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,10 @@ | ||||||||||
--- daemon/gamemode-context.c | ||||||||||
+++ daemon/gamemode-context.c | ||||||||||
Comment on lines
+1
to
+2
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
@@ -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> | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Has this patch been upstreamed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, apparently not |
||||||||||
|
||||||||||
/** | ||||||||||
* The GameModeClient encapsulates the remote connection, providing a list |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,39 @@ | ||||||
# Template file for 'gamemode' | ||||||
pkgname=gamemode | ||||||
version=1.6 | ||||||
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="toluschr <toluschr@protonmail.com>" | ||||||
license="BSD-3-Clause" | ||||||
homepage="https://github.com/FeralInteractive/gamemode" | ||||||
distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz" | ||||||
checksum=2d4e733c834f14d076a5062d1ecb5e32f5178014e0634c1a8e3abab21fa9a496 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
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 | ||||||
} | ||||||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gamemode |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gamemode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been added already