[arch-commits] Commit in gamemode/repos/community-x86_64 (4 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Tue Aug 9 17:46:47 UTC 2022
Date: Tuesday, August 9, 2022 @ 17:46:47
Author: alucryd
Revision: 1264283
archrelease: copy trunk to community-x86_64
Added:
gamemode/repos/community-x86_64/PKGBUILD
(from rev 1264282, gamemode/trunk/PKGBUILD)
gamemode/repos/community-x86_64/gamemode.install
(from rev 1264282, gamemode/trunk/gamemode.install)
Deleted:
gamemode/repos/community-x86_64/PKGBUILD
gamemode/repos/community-x86_64/gamemode.install
------------------+
PKGBUILD | 112 ++++++++++++++++++++++++++---------------------------
gamemode.install | 42 +++++++++----------
2 files changed, 77 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-09 17:46:40 UTC (rev 1264282)
+++ PKGBUILD 2022-08-09 17:46:47 UTC (rev 1264283)
@@ -1,56 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Ysblokje <ysblokje at gmail.com>
-# Contributor: Mark Wagie <mark.wagie at tutanota.com>
-
-pkgname=gamemode
-pkgver=1.6.1
-pkgrel=2
-pkgdesc='A daemon/lib combo that allows games to request a set of optimisations be temporarily applied to the host OS'
-arch=(x86_64)
-url=https://github.com/FeralInteractive/gamemode
-license=(BSD)
-depends=(
- glibc
- libdbus-1.so
- libinih
- libsystemd.so
- polkit
-)
-makedepends=(
- git
- meson
-)
-checkdepends=(appstream)
-provides=(
- libgamemode.so
- libgamemodeauto.so
-)
-_tag=b11d2912e280acb87d9ad114d6c7cd8846c4ef02
-source=(git+https://github.com/FeralInteractive/gamemode.git#tag=${_tag})
-b2sums=(SKIP)
-
-pkgver() {
- cd gamemode
-
- git describe --tags
-}
-
-build() {
- arch-meson gamemode build \
- --libexecdir /usr/lib/gamemode \
- -Dwith-examples=false \
- -Dwith-pam-group=gamemode \
- -Dwith-systemd-user-unit-dir=/usr/lib/systemd/user
- meson compile -C build
-}
-
-check() {
- meson test -C build
-}
-
-package() {
- DESTDIR="${pkgdir}" meson install -C build
- install -Dm 644 gamemode/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/gamemode/
-}
-
-# vim: set ts=4 sw=4 tw=0 et :
Copied: gamemode/repos/community-x86_64/PKGBUILD (from rev 1264282, gamemode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-09 17:46:47 UTC (rev 1264283)
@@ -0,0 +1,56 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ysblokje <ysblokje at gmail.com>
+# Contributor: Mark Wagie <mark.wagie at tutanota.com>
+
+pkgname=gamemode
+pkgver=1.7
+pkgrel=1
+pkgdesc='A daemon/lib combo that allows games to request a set of optimisations be temporarily applied to the host OS'
+arch=(x86_64)
+url=https://github.com/FeralInteractive/gamemode
+license=(BSD)
+depends=(
+ glibc
+ libdbus-1.so
+ libinih
+ libsystemd.so
+ polkit
+)
+makedepends=(
+ git
+ meson
+)
+checkdepends=(appstream)
+provides=(
+ libgamemode.so
+ libgamemodeauto.so
+)
+_tag=4dc99dff76218718763a6b07fc1900fa6d1dafd9
+source=(git+https://github.com/FeralInteractive/gamemode.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd gamemode
+ git describe --tags
+}
+
+build() {
+ export CFLAGS+=' -Wno-implicit-function-declaration'
+ arch-meson gamemode build \
+ --libexecdir /usr/lib/gamemode \
+ -Dwith-examples=false \
+ -Dwith-pam-group=gamemode \
+ -Dwith-systemd-user-unit-dir=/usr/lib/systemd/user
+ meson compile -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="${pkgdir}" meson install -C build
+ install -Dm 644 gamemode/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/gamemode/
+}
+
+# vim: set ts=4 sw=4 tw=0 et :
Deleted: gamemode.install
===================================================================
--- gamemode.install 2022-08-09 17:46:40 UTC (rev 1264282)
+++ gamemode.install 2022-08-09 17:46:47 UTC (rev 1264283)
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-pre_install() {
- if [ ! -f "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" ]; then
- echo "WARNING: CPUFreq scaling governor device file was not found at \"/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor\"."
- echo "This probably means that you have disabled processor scheduling features in your BIOS. See README.md (or GitHub issue #44) for more information."
- echo "This means GameMode's CPU governor control feature will not work (other features will still work)."
- fi
-}
-
-post_install() {
- echo 'enable & start the service with:'
- echo 'systemctl --user enable --now gamemoded'
-}
-
-post_upgrade() {
- echo 'restart the service with:'
- echo 'systemctl --user restart gamemoded'
-}
-
-# vim: ts=2 sw=2 et:
Copied: gamemode/repos/community-x86_64/gamemode.install (from rev 1264282, gamemode/trunk/gamemode.install)
===================================================================
--- gamemode.install (rev 0)
+++ gamemode.install 2022-08-09 17:46:47 UTC (rev 1264283)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+pre_install() {
+ if [ ! -f "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" ]; then
+ echo "WARNING: CPUFreq scaling governor device file was not found at \"/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor\"."
+ echo "This probably means that you have disabled processor scheduling features in your BIOS. See README.md (or GitHub issue #44) for more information."
+ echo "This means GameMode's CPU governor control feature will not work (other features will still work)."
+ fi
+}
+
+post_install() {
+ echo 'enable & start the service with:'
+ echo 'systemctl --user enable --now gamemoded'
+}
+
+post_upgrade() {
+ echo 'restart the service with:'
+ echo 'systemctl --user restart gamemoded'
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list