Merge pull request #214031 from sersorrel/xivlauncher-gstreamer

xivlauncher: include GStreamer in closure

authored by

Lily Foster and committed by
GitHub
5a1dc8ac 826b063f

+7 -3
+7 -3
pkgs/games/xivlauncher/default.nix
··· 1 - { lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages, SDL2, libsecret, glib, gnutls, aria2, steam-run 2 - , copyDesktopItems, makeDesktopItem 3 , useSteamRun ? true }: 4 5 let ··· 17 fetchSubmodules = true; 18 }; 19 20 - nativeBuildInputs = [ copyDesktopItems ]; 21 22 projectFile = "src/XIVLauncher.Core/XIVLauncher.Core.csproj"; 23 nugetDeps = ./deps.nix; # File generated with `nix-build -A xivlauncher.passthru.fetch-deps` ··· 40 postFixup = lib.optionalString useSteamRun '' 41 substituteInPlace $out/bin/XIVLauncher.Core \ 42 --replace 'exec' 'exec ${steam-run}/bin/steam-run' 43 ''; 44 45 executables = [ "XIVLauncher.Core" ];
··· 1 + { lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages, SDL2, libsecret, glib, gnutls, aria2, steam-run, gst_all_1 2 + , copyDesktopItems, makeDesktopItem, makeWrapper 3 , useSteamRun ? true }: 4 5 let ··· 17 fetchSubmodules = true; 18 }; 19 20 + nativeBuildInputs = [ copyDesktopItems makeWrapper ]; 21 + 22 + buildInputs = with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ]; 23 24 projectFile = "src/XIVLauncher.Core/XIVLauncher.Core.csproj"; 25 nugetDeps = ./deps.nix; # File generated with `nix-build -A xivlauncher.passthru.fetch-deps` ··· 42 postFixup = lib.optionalString useSteamRun '' 43 substituteInPlace $out/bin/XIVLauncher.Core \ 44 --replace 'exec' 'exec ${steam-run}/bin/steam-run' 45 + '' + '' 46 + wrapProgram $out/bin/XIVLauncher.Core --prefix GST_PLUGIN_SYSTEM_PATH_1_0 ":" "$GST_PLUGIN_SYSTEM_PATH_1_0" 47 ''; 48 49 executables = [ "XIVLauncher.Core" ];