mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-13 20:35:40 +02:00
feat: Steamify carries the patched gamescope's recipe and patch, no download of a separate repository
Sync git.upriser.nl mirror / sync (push) Skipped
Sync git.upriser.nl mirror / sync (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KkpbsMw4rQyBsxDG6ebHK2
This commit is contained in:
1 parent
03f9e87cf2
commit
5b5181f33e
5 files changed
+149
-19
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ one per merged pull request.
|
|||||||
|
|
||||||
## 2.11.2 - 2026-10-13
|
## 2.11.2 - 2026-10-13
|
||||||
|
|
||||||
- **feat: the SteamOS conversion is offered on NVIDIA PCs again (GTX 16 / RTX 20 series or newer: Turing and later, the cards NVIDIA's open kernel driver supports): it builds and installs a patched gamescope from [steamify-gamescope-nvidia](https://github.com/theupriser/steamify-gamescope-nvidia) (GBM-allocated scan-out buffers, NVIDIA's corrupted gaming-mode picture, gamescope#2309; a few minutes to build) and sets `gamescope_drm_gbm_scanout=1` for the session (`lib/gamescope-nvidia.sh`). It replaces "Gaming on NVIDIA", which is not offered any more (the kernel parameters, early modules, suspend memory and the 32-bit libraries come with the conversion on a supported card; a PC that had "Gaming on NVIDIA" on has it turned off when the conversion is turned on). Tested on an RTX 5080 (driver 615.78.08): Steam's gaming UI is clean with it and shows artifacts without. The package is pinned to one gamescope release: updating it is not automatic yet**
|
- **feat: the SteamOS conversion is offered on NVIDIA PCs again (GTX 16 / RTX 20 series or newer: Turing and later, the cards NVIDIA's open kernel driver supports): it builds and installs a patched gamescope from the recipe and patch Steamify carries (`patches/`, prepared in [steamify-gamescope-nvidia](https://github.com/theupriser/steamify-gamescope-nvidia); gamescope 3.16.31, so a Steamify release builds the version it was tested with) (GBM-allocated scan-out buffers, NVIDIA's corrupted gaming-mode picture, gamescope#2309; a few minutes to build) and sets `gamescope_drm_gbm_scanout=1` for the session (`lib/gamescope-nvidia.sh`). It replaces "Gaming on NVIDIA", which is not offered any more (the kernel parameters, early modules, suspend memory and the 32-bit libraries come with the conversion on a supported card; a PC that had "Gaming on NVIDIA" on has it turned off when the conversion is turned on). Tested on an RTX 5080 (driver 615.78.08): Steam's gaming UI is clean with it and shows artifacts without. The package is pinned to one gamescope release: updating it is not automatic yet**
|
||||||
|
|
||||||
- **feat: "Gaming on NVIDIA" also keeps video memory over suspend (`NVreg_PreserveVideoMemoryAllocations=1` in `/etc/modprobe.d/90-steamify-nvidia.conf`, the initramfs is rebuilt), enables `nvidia-suspend`/`nvidia-resume`/`nvidia-hibernate`, and installs `lib32-nvidia-utils` and `lib32-libxkbcommon` (32-bit games, the 32-bit MangoHud preload) on a supported card; off removes only what Steamify added. Untested on hardware yet**
|
- **feat: "Gaming on NVIDIA" also keeps video memory over suspend (`NVreg_PreserveVideoMemoryAllocations=1` in `/etc/modprobe.d/90-steamify-nvidia.conf`, the initramfs is rebuilt), enables `nvidia-suspend`/`nvidia-resume`/`nvidia-hibernate`, and installs `lib32-nvidia-utils` and `lib32-libxkbcommon` (32-bit games, the 32-bit MangoHud preload) on a supported card; off removes only what Steamify added. Untested on hardware yet**
|
||||||
|
|
||||||
|
|||||||
+9
-6
@@ -240,10 +240,13 @@ the Plasma desktop session, smooth and clean.
|
|||||||
|
|
||||||
Since 2.11.2 there is a second way: gamescope with GBM-allocated scan-out buffers (`lib/gamescope-nvidia.sh`). On an RTX 5080
|
Since 2.11.2 there is a second way: gamescope with GBM-allocated scan-out buffers (`lib/gamescope-nvidia.sh`). On an RTX 5080
|
||||||
(driver 615.78.08, 3440x1440@175) Steam's gaming UI in gamescope's DRM session is clean with it and shows artifacts everywhere
|
(driver 615.78.08, 3440x1440@175) Steam's gaming UI in gamescope's DRM session is clean with it and shows artifacts everywhere
|
||||||
without. The patch is nine commits of [farnoy/gamescope](https://github.com/farnoy/gamescope) (`nvidia-gbm-wayland`), kept in
|
without. The patch is nine commits of [farnoy/gamescope](https://github.com/farnoy/gamescope) (`nvidia-gbm-wayland`), carried in
|
||||||
[steamify-gamescope-nvidia](https://github.com/theupriser/steamify-gamescope-nvidia) with its PKGBUILD; `gsn_install_package` clones
|
`patches/` (`gamescope-gbm-scanout.patch` and the recipe `gamescope-nvidia.PKGBUILD`, kept in sync with
|
||||||
that repository, builds the package as the user (`makepkg -sf`) and installs it with `pacman -U --ask 4` (the package provides and
|
[steamify-gamescope-nvidia](https://github.com/theupriser/steamify-gamescope-nvidia), where new gamescope versions are
|
||||||
conflicts with `gamescope`). It is opt-in inside gamescope: `gamescope_drm_gbm_scanout=1` in
|
prepared). `gsn_install_package` writes both into a temporary folder, builds the package there as the user (`makepkg -sf`: it
|
||||||
|
downloads Valve's gamescope at the PKGBUILD's `pkgver`, the version the patch was tested with, and its submodules; no checksums) and
|
||||||
|
installs it with `pacman -U --ask 4` (the package provides and conflicts with `gamescope`). A Steamify release therefore always
|
||||||
|
builds the gamescope version it was tested with. It is opt-in inside gamescope: `gamescope_drm_gbm_scanout=1` in
|
||||||
`~/.config/gamescope-session/environment` and `~/.config/environment.d/99-steamify-gamescope-nvidia.conf`. The SteamOS conversion
|
`~/.config/gamescope-session/environment` and `~/.config/environment.d/99-steamify-gamescope-nvidia.conf`. The SteamOS conversion
|
||||||
(`gaming_enable`) does this on every NVIDIA PC (`nvidia_present`: PCI vendor 0x10de, display class, its driver providing
|
(`gaming_enable`) does this on every NVIDIA PC (`nvidia_present`: PCI vendor 0x10de, display class, its driver providing
|
||||||
`nvidia_drm`), together with what "Gaming on NVIDIA" set up (on a supported card, `nvidia_supported`: GTX 16 / RTX 20 series or
|
`nvidia_drm`), together with what "Gaming on NVIDIA" set up (on a supported card, `nvidia_supported`: GTX 16 / RTX 20 series or
|
||||||
@@ -251,8 +254,8 @@ newer, Turing and later): the kernel parameters, the early modules, suspend memo
|
|||||||
`nvidia_extras_enable`). So the SteamOS conversion is the one gaming option on NVIDIA now, and "Gaming on NVIDIA" (below) is not
|
`nvidia_extras_enable`). So the SteamOS conversion is the one gaming option on NVIDIA now, and "Gaming on NVIDIA" (below) is not
|
||||||
offered any more (`nvidia_available`); a PC that had it on keeps it until the conversion is turned on, which turns it off
|
offered any more (`nvidia_available`); a PC that had it on keeps it until the conversion is turned on, which turns it off
|
||||||
(`nvidia_swap_out`). Turning the conversion off removes the setting and those settings, and keeps the packages. The package is
|
(`nvidia_swap_out`). Turning the conversion off removes the setting and those settings, and keeps the packages. The package is
|
||||||
pinned to the gamescope release the patch was made for (`UPSTREAM_VERSION` in that repository): pacman does not update it, and
|
pinned to the gamescope release in the PKGBUILD: pacman does not update it, a newer one comes with a newer Steamify
|
||||||
Steamify does not rebuild it yet. Tested on an RTX 5080 only.
|
(the bump is prepared in the repository above), and Steamify does not rebuild it by itself yet. Tested on an RTX 5080 only.
|
||||||
|
|
||||||
Before 2.11.2, with an NVIDIA GPU the SteamOS conversion (`gaming`, and its options `boot`, `single`, `glyphs`) wasn't offered, unless
|
Before 2.11.2, with an NVIDIA GPU the SteamOS conversion (`gaming`, and its options `boot`, `single`, `glyphs`) wasn't offered, unless
|
||||||
it was already on. `nvidia` ("Gaming on NVIDIA", `lib/nvidia.sh`) took its place (both would start Steam at login): it installs `steam` when missing (recorded in state `nvidia`, removed again only then) and enables the user
|
it was already on. `nvidia` ("Gaming on NVIDIA", `lib/nvidia.sh`) took its place (both would start Steam at login): it installs `steam` when missing (recorded in state `nvidia`, removed again only then) and enables the user
|
||||||
|
|||||||
+13
-11
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# gamescope's own gaming mode on NVIDIA: a patched gamescope that allocates its scan-out buffers with GBM, which cures
|
# gamescope's own gaming mode on NVIDIA: a patched gamescope that allocates its scan-out buffers with GBM, which cures
|
||||||
# the corrupted picture (https://github.com/ValveSoftware/gamescope/issues/2309). The patch and the build recipe live in
|
# the corrupted picture (https://github.com/ValveSoftware/gamescope/issues/2309). The patch and the build recipe are in
|
||||||
# https://github.com/theupriser/steamify-gamescope-nvidia; the package `steamify-gamescope-nvidia` is built here, on the PC,
|
# patches/ (kept in sync with https://github.com/theupriser/steamify-gamescope-nvidia, where new gamescope versions are
|
||||||
# and replaces `gamescope` (it provides it). The patch is opt-in: gamescope reads `gamescope_drm_gbm_scanout=1` from its
|
# prepared); the package `steamify-gamescope-nvidia` is built here, on the PC, and replaces `gamescope` (it provides it). The patch is opt-in: gamescope reads `gamescope_drm_gbm_scanout=1` from its
|
||||||
# environment, which is set for the gaming session (gamescope-session's environment file, and environment.d).
|
# environment, which is set for the gaming session (gamescope-session's environment file, and environment.d).
|
||||||
# Used by the SteamOS conversion (`gaming_enable`/`gaming_disable`) on every NVIDIA PC (`nvidia_present`); the kernel
|
# Used by the SteamOS conversion (`gaming_enable`/`gaming_disable`) on every NVIDIA PC (`nvidia_present`); the kernel
|
||||||
# parameters and the rest of lib/nvidia.sh's setup only on a supported card (`nvidia_supported`): GTX 16 / RTX 20 series or
|
# parameters and the rest of lib/nvidia.sh's setup only on a supported card (`nvidia_supported`): GTX 16 / RTX 20 series or
|
||||||
@@ -10,7 +10,6 @@
|
|||||||
# Sourced by steamify.sh; not meant to be run on its own.
|
# Sourced by steamify.sh; not meant to be run on its own.
|
||||||
|
|
||||||
GSN_PKG=steamify-gamescope-nvidia
|
GSN_PKG=steamify-gamescope-nvidia
|
||||||
GSN_REPO=${GSN_REPO:-https://github.com/theupriser/steamify-gamescope-nvidia.git}
|
|
||||||
GSN_ENV_LINE='gamescope_drm_gbm_scanout=1'
|
GSN_ENV_LINE='gamescope_drm_gbm_scanout=1'
|
||||||
GSN_ENV_D="${GSN_ENV_D:-$HOME/.config/environment.d/99-steamify-gamescope-nvidia.conf}"
|
GSN_ENV_D="${GSN_ENV_D:-$HOME/.config/environment.d/99-steamify-gamescope-nvidia.conf}"
|
||||||
GSN_SESSION_ENV="${GSN_SESSION_ENV:-$HOME/.config/gamescope-session/environment}"
|
GSN_SESSION_ENV="${GSN_SESSION_ENV:-$HOME/.config/gamescope-session/environment}"
|
||||||
@@ -22,22 +21,25 @@ gsn_env_set() { [[ -f "$GSN_ENV_D" ]] && grep -qsx "$GSN_ENV_LINE" "$GSN_SESSION
|
|||||||
gsn_status() { gsn_package_installed && gsn_env_set; }
|
gsn_status() { gsn_package_installed && gsn_env_set; }
|
||||||
|
|
||||||
gsn_install_package() {
|
gsn_install_package() {
|
||||||
# Builds the package from the repo (makepkg runs as the user, never as root) and installs it. The build needs a few
|
# Builds the package from the recipe and patch Steamify carries (patches/, so a Steamify release builds exactly the
|
||||||
# minutes: gamescope compiles from source. --ask 4 lets pacman replace the stock gamescope it conflicts with.
|
# gamescope version it was tested with) and installs it. makepkg runs as the user, never as root, and downloads
|
||||||
|
# gamescope's sources (Valve's repository at the PKGBUILD's pkgver, and its submodules). The build needs a few minutes:
|
||||||
|
# gamescope compiles from source. --ask 4 lets pacman replace the stock gamescope it conflicts with.
|
||||||
gsn_package_installed && return 0
|
gsn_package_installed && return 0
|
||||||
info "Building the patched gamescope for NVIDIA (a few minutes)..."
|
info "Building the patched gamescope for NVIDIA (a few minutes)..."
|
||||||
sudo pacman -S --needed --noconfirm base-devel git || { err "Installing the build tools failed."; return 1; }
|
sudo pacman -S --needed --noconfirm base-devel git || { err "Installing the build tools failed."; return 1; }
|
||||||
local dir pkg
|
local dir pkg
|
||||||
dir="$(mktemp -d)" || return 1
|
dir="$(mktemp -d)" || return 1
|
||||||
if ! git clone --depth 1 "$GSN_REPO" "$dir/src"; then
|
patch_file gamescope-nvidia.PKGBUILD > "$dir/PKGBUILD" &&
|
||||||
err "Couldn't download $GSN_REPO."
|
patch_file gamescope-gbm-scanout.patch > "$dir/gamescope-gbm-scanout.patch" || {
|
||||||
|
err "Couldn't write the build files."
|
||||||
rm -rf "$dir"; return 1
|
rm -rf "$dir"; return 1
|
||||||
fi
|
}
|
||||||
if ! (cd "$dir/src" && makepkg -sf --noconfirm --nocheck); then
|
if ! (cd "$dir" && makepkg -sf --noconfirm --nocheck); then
|
||||||
err "Building the patched gamescope failed (see above). The stock gamescope stays."
|
err "Building the patched gamescope failed (see above). The stock gamescope stays."
|
||||||
rm -rf "$dir"; return 1
|
rm -rf "$dir"; return 1
|
||||||
fi
|
fi
|
||||||
pkg="$(ls "$dir"/src/"$GSN_PKG"-*.pkg.tar.* 2>/dev/null | grep -v -- '-debug-' | head -1)"
|
pkg="$(ls "$dir"/"$GSN_PKG"-*.pkg.tar.* 2>/dev/null | grep -v -- '-debug-' | head -1)"
|
||||||
if [[ -z "$pkg" ]] || ! sudo pacman -U --noconfirm --ask 4 "$pkg"; then
|
if [[ -z "$pkg" ]] || ! sudo pacman -U --noconfirm --ask 4 "$pkg"; then
|
||||||
err "Installing the patched gamescope failed. The stock gamescope stays."
|
err "Installing the patched gamescope failed. The stock gamescope stays."
|
||||||
rm -rf "$dir"; return 1
|
rm -rf "$dir"; return 1
|
||||||
|
|||||||
+2
-1
@@ -16,4 +16,5 @@ read and reviewed on their own. `lib/*.sh` reads them with `patch_file
|
|||||||
| `steamify-os-release.sh`, `steamify-os-release.hook` | `lib/login-manager.sh` (SteamOS conversion) | What Steam's System settings show besides the OS name (which stays CachyOS's): `VERSION_ID=steamos-X.Y`, `VERSION_CODENAME=steam-machine`, `VARIANT`/`VARIANT_ID` Steamify with its version, in `/etc/os-release`; the pacman hook runs it again after cachyos-hooks (`fill SCRIPT=... VERSION=... STEAMOS=...`) |
|
| `steamify-os-release.sh`, `steamify-os-release.hook` | `lib/login-manager.sh` (SteamOS conversion) | What Steam's System settings show besides the OS name (which stays CachyOS's): `VERSION_ID=steamos-X.Y`, `VERSION_CODENAME=steam-machine`, `VARIANT`/`VARIANT_ID` Steamify with its version, in `/etc/os-release`; the pacman hook runs it again after cachyos-hooks (`fill SCRIPT=... VERSION=... STEAMOS=...`) |
|
||||||
| `steamify-nvidia-initramfs.sh`, `steamify-nvidia-initramfs.hook` | `lib/nvidia.sh` (SteamOS conversion, NVIDIA fix) | The pacman hook (before the initramfs is built, after DKMS) and its script: the NVIDIA modules go into the initramfs only while every installed kernel has them, decided again at every kernel or driver change (`fill SCRIPT=...`) |
|
| `steamify-nvidia-initramfs.sh`, `steamify-nvidia-initramfs.hook` | `lib/nvidia.sh` (SteamOS conversion, NVIDIA fix) | The pacman hook (before the initramfs is built, after DKMS) and its script: the NVIDIA modules go into the initramfs only while every installed kernel has them, decided again at every kernel or driver change (`fill SCRIPT=...`) |
|
||||||
| `cros-ec-cec-single-port.patch` | `lib/cec.sh` (HDMI-CEC) | Makes Valve's Steam Machine CEC driver find amdgpu's HDMI port |
|
| `cros-ec-cec-single-port.patch` | `lib/cec.sh` (HDMI-CEC) | Makes Valve's Steam Machine CEC driver find amdgpu's HDMI port |
|
||||||
| `gamescope-gbm-scanout.patch` | `lib/nvidia.sh` (gamescope on NVIDIA) | gamescope 3.16.31 patch: scan-out buffers allocated with GBM (opt-in, `gamescope_drm_gbm_scanout=1`), which cures the corrupted picture on NVIDIA; from farnoy/gamescope, see the header of the file |
|
| `gamescope-gbm-scanout.patch` | `lib/gamescope-nvidia.sh` (gamescope on NVIDIA) | gamescope 3.16.31 patch: scan-out buffers allocated with GBM (opt-in, `gamescope_drm_gbm_scanout=1`), which cures the corrupted picture on NVIDIA; from farnoy/gamescope, see the header of the file |
|
||||||
|
| `gamescope-nvidia.PKGBUILD` | `lib/gamescope-nvidia.sh` (gamescope on NVIDIA) | The recipe for the patched gamescope package (`steamify-gamescope-nvidia`, provides and conflicts with `gamescope`): Valve's gamescope at `pkgver` plus `gamescope-gbm-scanout.patch`; written with the patch to a temporary folder and built with `makepkg` |
|
||||||
@@ -0,0 +1,124 @@
|
|||||||
|
# Maintainer: theupriser
|
||||||
|
# Based on Arch Linux's gamescope PKGBUILD (Maxime Gauduin, Giancarlo Razzolini, Sven-Hendrik Haase and contributors).
|
||||||
|
#
|
||||||
|
# gamescope with GBM-allocated scan-out buffers for NVIDIA (opt-in: gamescope_drm_gbm_scanout=1).
|
||||||
|
# The patch is gamescope-gbm-scanout.patch (next to this file; see its header for where it comes from). pkgver is the gamescope
|
||||||
|
# release the patch was made for and tested with. Kept in sync with https://github.com/theupriser/steamify-gamescope-nvidia;
|
||||||
|
# Steamify (lib/gamescope-nvidia.sh) writes both files into a temporary folder and runs makepkg there.
|
||||||
|
|
||||||
|
pkgname=steamify-gamescope-nvidia
|
||||||
|
_srcname=gamescope
|
||||||
|
pkgver=3.16.31
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='SteamOS session compositing window manager, with GBM scan-out for NVIDIA (opt-in: gamescope_drm_gbm_scanout=1)'
|
||||||
|
arch=(x86_64)
|
||||||
|
url=https://github.com/theupriser/steamify-gamescope-nvidia
|
||||||
|
license=(
|
||||||
|
BSD-2-Clause
|
||||||
|
BSD-3-Clause
|
||||||
|
LicenseRef-Reshade
|
||||||
|
)
|
||||||
|
provides=("gamescope=$pkgver")
|
||||||
|
conflicts=(gamescope gamescope-nvidia-gbm)
|
||||||
|
replaces=(gamescope-nvidia-gbm)
|
||||||
|
depends=(
|
||||||
|
glibc
|
||||||
|
mesa
|
||||||
|
libstdc++
|
||||||
|
libgcc
|
||||||
|
lcms2
|
||||||
|
libavif
|
||||||
|
libcap.so
|
||||||
|
libdecor
|
||||||
|
libdrm
|
||||||
|
libei
|
||||||
|
libinput
|
||||||
|
libpipewire-0.3.so
|
||||||
|
libx11
|
||||||
|
libxcb
|
||||||
|
libxcomposite
|
||||||
|
libxcursor
|
||||||
|
libxdamage
|
||||||
|
libxext
|
||||||
|
libxfixes
|
||||||
|
libxi
|
||||||
|
libxkbcommon.so
|
||||||
|
libxmu
|
||||||
|
libxrender
|
||||||
|
libxres
|
||||||
|
libxtst
|
||||||
|
libxxf86vm
|
||||||
|
luajit
|
||||||
|
pixman
|
||||||
|
sdl2
|
||||||
|
seatd
|
||||||
|
systemd-libs
|
||||||
|
vulkan-icd-loader
|
||||||
|
wayland
|
||||||
|
xcb-util-errors
|
||||||
|
xcb-util-wm
|
||||||
|
xorg-server-xwayland
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
benchmark
|
||||||
|
cmake
|
||||||
|
git
|
||||||
|
glslang
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
vulkan-headers
|
||||||
|
wayland-protocols
|
||||||
|
catch2
|
||||||
|
)
|
||||||
|
source=(
|
||||||
|
gamescope::git+https://github.com/ValveSoftware/gamescope.git#commit=${pkgver}
|
||||||
|
gamescope-gbm-scanout.patch
|
||||||
|
git+https://gitlab.freedesktop.org/emersion/libdisplay-info.git
|
||||||
|
git+https://gitlab.freedesktop.org/emersion/libliftoff.git
|
||||||
|
git+https://github.com/ValveSoftware/openvr.git
|
||||||
|
git+https://github.com/Joshua-Ashton/reshade.git
|
||||||
|
git+https://github.com/KhronosGroup/SPIRV-Headers.git
|
||||||
|
git+https://github.com/Joshua-Ashton/vkroots.git
|
||||||
|
git+https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||||
|
)
|
||||||
|
b2sums=('SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd gamescope
|
||||||
|
|
||||||
|
# GBM scan-out for NVIDIA. If it no longer applies to this gamescope version, stop here: the build must not
|
||||||
|
# silently produce an unpatched gamescope under this package's name.
|
||||||
|
git apply --check ../gamescope-gbm-scanout.patch || { echo "gbm patch does not apply to gamescope ${pkgver}" >&2; return 1; }
|
||||||
|
git apply ../gamescope-gbm-scanout.patch
|
||||||
|
|
||||||
|
meson subprojects download
|
||||||
|
|
||||||
|
for submodule in src/reshade subprojects/{libdisplay-info,libliftoff,openvr,vkroots,wlroots} thirdparty/SPIRV-Headers; do
|
||||||
|
git submodule init ${submodule}
|
||||||
|
git config submodule.${submodule}.url ../${submodule##*/}
|
||||||
|
done
|
||||||
|
git -c protocol.file.allow=always submodule update
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
arch-meson gamescope build \
|
||||||
|
-Dforce_fallback_for=glm,stb,libdisplay-info,libliftoff,vkroots \
|
||||||
|
-Dpipewire=enabled
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="${pkgdir}" meson install -C build \
|
||||||
|
--skip-subprojects
|
||||||
|
install -Dm 644 gamescope/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
||||||
Reference in new issue
Block a user