diff --git a/game/misc/gamemode/actions.py b/game/misc/gamemode/actions.py new file mode 100644 index 0000000000..7a68aa354a --- /dev/null +++ b/game/misc/gamemode/actions.py @@ -0,0 +1,18 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import pisitools +from pisi.actionsapi import mesontools + +def setup(): + mesontools.configure("-Dwith-examples=false -Dwith-sd-bus-provider=elogind -Dwith-systemd-user-unit=false -Dwith-systemd-group=false") + +def build(): + mesontools.build() + +def install(): + mesontools.install() + pisitools.dodoc("LICENSE*", "README*", "CHANGELOG*") diff --git a/game/misc/gamemode/comar/postInstall.py b/game/misc/gamemode/comar/postInstall.py new file mode 100644 index 0000000000..73fad1c3b5 --- /dev/null +++ b/game/misc/gamemode/comar/postInstall.py @@ -0,0 +1,4 @@ +import os + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system("groupadd -f gamemode") diff --git a/game/misc/gamemode/pspec.xml b/game/misc/gamemode/pspec.xml new file mode 100644 index 0000000000..a2d73cabdd --- /dev/null +++ b/game/misc/gamemode/pspec.xml @@ -0,0 +1,57 @@ + + + gamemode + https://github.com/FeralInteractive/gamemode + + Bedirhan Kurt + bedirhan.kurt@outlook.com + + BSD + A Daemon/Library combo for Linux that allows games to request a set of optimizations to be temporarily applied. + GameMode is a daemon/lib combo for Linux that allows games to request a set of optimizations to be temporarily applied to the host OS and/or a game process. It was designed primarily as a stop-gap solution to problems with the Intel and AMD CPU powersave and ondemand governors, but is now a host to a range of optimization features and configurations. Read more at the homepage for details. + + meson + git + dbus-devel + libinih-devel + elogind-devel + + https://github.com/FeralInteractive/gamemode/archive/1.8.2.tar.gz + + + gamemode + + bash + libgcc + libinih + polkit + elogind + + + /etc/security/limits.d + /usr/bin + /usr/include + /usr/lib + /usr/libexec + /usr/share/dbus-1/services + /usr/share/doc + /usr/share/man/man1 + /usr/share/man/man8 + /usr/share/metainfo + /usr/share/polkit-1/rules.d + /usr/share/polkit-1/actions + + + System.Package + + + + + 2024-10-21 + 1.8.2 + Initial Pisi Linux packaging + Bedirhan Kurt + bedirhan.kurt@outlook.com + + + diff --git a/game/misc/gamemode/translations.xml b/game/misc/gamemode/translations.xml new file mode 100644 index 0000000000..bdb6543f48 --- /dev/null +++ b/game/misc/gamemode/translations.xml @@ -0,0 +1,7 @@ + + + gamemode + Linux için oyunların geçici olarak birtakım optimizasyonlar uygulama isteğinde bulunmalarına izin veren bir Daemon/Kütüphane kombosu. + GameMode, Linux için oyunların anamakine İS'sine ve(ya) bir oyun işlemine geçici olarak birtakım optimizasyonlar uygulama isteğinde bulunmalarına izin veren bir daemon/kütüphane kombosudur. Öncelikli olarak Intel ve AMD işlemcilerinde yer alan güç-tasarrufu ve isteğe-bağlı modlarında olan sorunlara geçici bir çözüm olarak tasarlanmıştı, ama şimdi bir dizi iyileştirme özelliklerine ve ayarlamalarına ev sahipliği yapmakta. Detaylar için ana sayfada (İngilizce) daha fazlasını okuyun. + +