mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
gamescope: 3.16.2 -> 3.16.3 (#395381)
This commit is contained in:
@@ -48,19 +48,18 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gamescope";
|
||||
version = "3.16.2";
|
||||
version = "3.16.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ValveSoftware";
|
||||
repo = "gamescope";
|
||||
tag = finalAttrs.version;
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-vKl2wYAt051+1IaCGB1ylGa83WTS+neqZwtQ/4MyCck=";
|
||||
hash = "sha256-4Pbyv+EAgwjabVJ4oW3jSmi0Rzpe+BxCN8mM5/beEco=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Make it look for data in the right place
|
||||
./scripts-path.patch
|
||||
./shaders-path.patch
|
||||
# patch relative gamescopereaper path with absolute
|
||||
./gamescopereaper.patch
|
||||
@@ -70,7 +69,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# so `placeholder "out"` ends up pointing to the wrong place
|
||||
postPatch = ''
|
||||
substituteInPlace src/reshade_effect_manager.cpp --replace-fail "@out@" "$out"
|
||||
substituteInPlace src/Script/Script.cpp --replace-fail "@out@" "$out"
|
||||
|
||||
# Patching shebangs in the main `libdisplay-info` build
|
||||
patchShebangs subprojects/libdisplay-info/tool/gen-search-table.py
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/src/Script/Script.cpp b/src/Script/Script.cpp
|
||||
index a104ee9..f7cfc8b 100644
|
||||
--- a/src/Script/Script.cpp
|
||||
+++ b/src/Script/Script.cpp
|
||||
@@ -130,7 +130,7 @@ namespace gamescope
|
||||
}
|
||||
else
|
||||
{
|
||||
- RunFolder( "/usr/share/gamescope/scripts", true );
|
||||
+ RunFolder( "@out@/share/gamescope/scripts", true );
|
||||
RunFolder( "/etc/gamescope/scripts", true );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user