Skip to content

Commit cd79715

Browse files
authored
gamescope: 3.16.4 -> 3.16.7 (#406993)
2 parents 25df838 + 529ce40 commit cd79715

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

pkgs/by-name/ga/gamescope/package.nix

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
buildPackages,
44
edid-decode,
55
fetchFromGitHub,
6+
fetchpatch,
67
meson,
78
pkg-config,
89
ninja,
@@ -48,21 +49,34 @@ let
4849
in
4950
stdenv.mkDerivation (finalAttrs: {
5051
pname = "gamescope";
51-
version = "3.16.4";
52+
version = "3.16.7";
5253

5354
src = fetchFromGitHub {
5455
owner = "ValveSoftware";
5556
repo = "gamescope";
5657
tag = finalAttrs.version;
5758
fetchSubmodules = true;
58-
hash = "sha256-2AxqvZA1eZaJFKMfRljCIcP0M2nMngw0FQiXsfBW7IA=";
59+
hash = "sha256-q0yTOyu47tQXorFfnmRa4wrt0KRnyelLDmfcg4iwPfs=";
5960
};
6061

6162
patches = [
6263
# Make it look for data in the right place
6364
./shaders-path.patch
6465
# patch relative gamescopereaper path with absolute
6566
./gamescopereaper.patch
67+
68+
# Revert change to always use vendored stb/glm libraries
69+
# Upstream discussion: https://github.com/ValveSoftware/gamescope/pull/1751
70+
(fetchpatch {
71+
url = "https://github.com/ValveSoftware/gamescope/commit/baae74c4b13676fa76a8b200f21ac78f55079734.patch";
72+
revert = true;
73+
hash = "sha256-XpbyLQ4R9KgBR3hlrgPzmM7Zxr2jm4Q10zGjyhh/Qxw=";
74+
})
75+
(fetchpatch {
76+
url = "https://github.com/ValveSoftware/gamescope/commit/72bae179ba2ebbbc91ed07c7f66e7e4964a4cd9e.patch";
77+
revert = true;
78+
hash = "sha256-aglfGvEuycNyPlaFYxqqvPAgFpWns3xZ3B2GiAefxtg=";
79+
})
6680
];
6781

6882
# We can't substitute the patch itself because substituteAll is itself a derivation,

0 commit comments

Comments
 (0)