Explorar o código

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.
grmat %!s(int64=7) %!d(string=hai) anos
pai
achega
66e805c481
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      README.md
  2. 2 2
      example/archlinux/gamemode-git/PKGBUILD

+ 1 - 1
README.md

@@ -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
 

+ 2 - 2
example/archlinux/gamemode-git/PKGBUILD

@@ -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
 }