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