Merge pull request #15172 from kurtbahartr/master

Initial package release for gamemode
This commit is contained in:
Kamil ATLI
2024-10-21 18:29:21 +03:00
committed by GitHub
4 changed files with 86 additions and 0 deletions
+18
View File
@@ -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*")
+4
View File
@@ -0,0 +1,4 @@
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("groupadd -f gamemode")
+57
View File
@@ -0,0 +1,57 @@
<PISI>
<Source>
<Name>gamemode</Name>
<Homepage>https://github.com/FeralInteractive/gamemode</Homepage>
<Packager>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Packager>
<License>BSD</License>
<Summary>A Daemon/Library combo for Linux that allows games to request a set of optimizations to be temporarily applied.</Summary>
<Description>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.</Description>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>git</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>libinih-devel</Dependency>
<Dependency>elogind-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="e864c51ab7f17594c7cfe7620cb23dd42c983a63" type="targz">https://github.com/FeralInteractive/gamemode/archive/1.8.2.tar.gz</Archive>
</Source>
<Package>
<Name>gamemode</Name>
<RuntimeDependencies>
<Dependency>bash</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libinih</Dependency>
<Dependency>polkit</Dependency>
<Dependency>elogind</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/security/limits.d</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="config">/usr/share/dbus-1/services</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man/man1</Path>
<Path fileType="man">/usr/share/man/man8</Path>
<Path fileType="info">/usr/share/metainfo</Path>
<Path fileType="config">/usr/share/polkit-1/rules.d</Path>
<Path fileType="config">/usr/share/polkit-1/actions</Path>
</Files>
<Provides>
<COMAR script="postInstall.py">System.Package</COMAR>
</Provides>
</Package>
<History>
<Update release="1">
<Date>2024-10-21</Date>
<Version>1.8.2</Version>
<Comment>Initial Pisi Linux packaging</Comment>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Update>
</History>
</PISI>
+7
View File
@@ -0,0 +1,7 @@
<PISI>
<Source>
<Name>gamemode</Name>
<Summary xml:lang="tr">Linux için oyunların geçici olarak birtakım optimizasyonlar uygulama isteğinde bulunmalarına izin veren bir Daemon/Kütüphane kombosu.</Summary>
<Description xml:lang="tr">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.</Description>
</Source>
</PISI>