Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #54356 from etu/update-lsi

linux-steam-integration: 0.7.2 -> 0.7.3

authored by

Silvan Mosberger and committed by
GitHub
2f925289 a66ef3aa

+14 -16
+14 -16
pkgs/games/linux-steam-integration/default.nix
··· 1 1 { stdenv, fetchFromGitHub, meson, ninja, pkgconfig, git, gtk, pkgs, gettext, 2 - gcc_multi, libressl }: 2 + gcc_multi, libressl, gnome3, steam }: 3 3 4 4 let 5 - version = "0.7.2"; 6 - steamBinPath = "${stdenv.lib.makeBinPath (with pkgs; [ steam ])}/steam"; 7 - zenityBinPath = "${stdenv.lib.makeBinPath (with pkgs; [ gnome3.zenity ])}/zenity"; 5 + version = "0.7.3"; 8 6 9 7 in stdenv.mkDerivation rec { 10 8 name = "linux-steam-integration-${version}"; 11 9 12 - nativeBuildInputs = [ meson ninja pkgconfig git gettext gcc_multi ]; 13 - buildInputs = [ gtk libressl ]; 14 - 15 10 src = fetchFromGitHub { 16 - owner = "solus-project"; 11 + owner = "clearlinux"; 17 12 repo = "linux-steam-integration"; 18 13 rev = "v${version}"; 19 - sha256 = "0yn71fvjqi63dxk04jsndb26pgipl0nla10sy94bi7q95pk3sdf6"; 14 + sha256 = "0brv3swx8h170ycxksb31sf5jvj85csfpx7gjlf6yrfz7jw2j6vp"; 20 15 fetchSubmodules = true; 21 16 }; 22 17 18 + nativeBuildInputs = [ meson ninja pkgconfig git gettext gcc_multi ]; 19 + buildInputs = [ gtk libressl ]; 20 + 23 21 # Patch lib paths (AUDIT_PATH and REDIRECT_PATH) in shim.c 24 22 # Patch path to lsi-steam in lsi-steam.desktop 25 23 # Patch path to zenity in lsi.c 26 24 postPatch = '' 27 - sed -i -e "s|/usr/|$out/|g" src/shim/shim.c 28 - sed -i -e "s|/usr/|$out/|g" data/lsi-steam.desktop 29 - sed -i -e "s|zenity|${zenityBinPath}|g" src/lsi/lsi.c 30 - sed -i -e "s|Name=Linux Steam Integration|Name=Linux Steam Integration Settings|" data/lsi-settings.desktop.in 31 - 25 + substituteInPlace src/shim/shim.c --replace "/usr/" $out 26 + substituteInPlace data/lsi-steam.desktop --replace "/usr/" $out 27 + substituteInPlace src/lsi/lsi.c --replace zenity ${gnome3.zenity}/bin/zenity 28 + substituteInPlace data/lsi-settings.desktop.in \ 29 + --replace "Name=Linux Steam Integration" "Name=Linux Steam Integration Settings" 32 30 ''; 33 31 34 32 configurePhase = '' ··· 36 34 meson build \ 37 35 -Dwith-shim=co-exist \ 38 36 -Dwith-frontend=true \ 39 - -Dwith-steam-binary=${steamBinPath} \ 37 + -Dwith-steam-binary=${steam}/bin/steam \ 40 38 -Dwith-new-libcxx-abi=true \ 41 39 -Dwith-libressl-mode=native \ 42 40 --prefix / \ ··· 74 72 various workarounds to get games working, and fixes long standing bugs in 75 73 both games and the client 76 74 ''; 77 - homepage = https://github.com/solus-project/linux-steam-integration; 75 + homepage = https://github.com/clearlinux/linux-steam-integration; 78 76 license = licenses.lgpl21; 79 77 maintainers = [ maintainers.etu ]; 80 78 platforms = [ "x86_64-linux" ];