mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 23:57:22 +02:00
doc/examples: remove 'ninja' as explicit dep (#4)
as it's already required by meson. Also use the default unit file path (/usr/lib/systemd/user/) for packaged versions. /etc/systemd/user is intended for manually installed services. arch-meson is just a Meson wrapper with correct arch packaging prefixes set.
This commit is contained in:
parent
9e2188c94e
commit
66e805c481
@ -18,7 +18,7 @@ GameMode depends on `meson` for building and `systemd` for internal communicatio
|
||||
# Ubuntu
|
||||
apt install meson libsystemd-dev pkg-config ninja-build
|
||||
# Arch
|
||||
pacman -S meson systemd ninja
|
||||
pacman -S meson systemd
|
||||
# Fedora
|
||||
dnf install meson systemd-devel pkg-config
|
||||
|
||||
|
@ -7,7 +7,7 @@ arch=('x86_64')
|
||||
url="https://github.com/FeralInteractive/gamemode.git"
|
||||
license=('MIT')
|
||||
depends=('systemd' 'polkit')
|
||||
makedepends=('meson' 'ninja' 'pkg-config')
|
||||
makedepends=('meson' 'pkg-config')
|
||||
provides=('gamemode')
|
||||
source=("git+https://github.com/FeralInteractive/gamemode.git")
|
||||
sha256sums=('SKIP')
|
||||
@ -19,7 +19,7 @@ pkgver() {
|
||||
|
||||
build() {
|
||||
cd gamemode
|
||||
meson --prefix=/usr build -Dwithsystemd-user-unit-dir=/etc/systemd/user
|
||||
arch-meson build
|
||||
cd build
|
||||
ninja
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user