LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gamemode.spec of Package gamemode (Project home:Fenix2412)

# spec file for package gamemode
# -- Copyright omitted --

Name: gamemode
Version: 1.0
Release: 1
License: BSD-3-Clause
Group: System/Management
Summary: Governor adjustment tool
Url: https://github.com/FeralInteractive/gamemode/tree/1.0
Source0: gamemode-1.0.tar.xz
BuildRequires: meson
BuildRequires: pkg-config
BuildRequires: systemd-devel
Requires: polkit
Requires: systemd
BuildRoot: %{_tmppath}/%{name}-%{version}-build

A library that automatically changes your CPU governor to performance when used by games or preloaded when launching them.

%setup -q -n %{name}-%{version}

meson --prefix=/usr build -Dwith-systemd-user-unit-dir=/usr/lib/systemd/system
cd build

cd build
DESTDIR=%buildroot ninja install