diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-01-28 22:28:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-28 22:28:54 +0100 |
commit | 327dc97d8708c65bde5e41e210c335df4e18c3bb (patch) | |
tree | fbbe7895e9cf77945d3fed5dd2c61e26f3700f65 /pkgs/games | |
parent | 6bc23142b4f727585379e720e0acd383b2446df6 (diff) | |
parent | ca66dbc21fe533574d0af12aadba6f219cfa9572 (diff) |
Merge pull request #208644 from anoadragon453/anoa/runescape_xdg
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/runescape-launcher/default.nix | 64 |
1 files changed, 49 insertions, 15 deletions
diff --git a/pkgs/games/runescape-launcher/default.nix b/pkgs/games/runescape-launcher/default.nix index 9fd89c062e46..44a5b95974ed 100644 --- a/pkgs/games/runescape-launcher/default.nix +++ b/pkgs/games/runescape-launcher/default.nix @@ -1,8 +1,28 @@ -{ stdenv, lib, buildFHSUserEnv, dpkg, glibc, gcc-unwrapped, autoPatchelfHook, fetchurl, wrapGAppsHook -, gnome2, xorg -, libSM, libXxf86vm, libX11, glib, pango, cairo, gtk2-x11, zlib, openssl_1_1 +{ stdenv +, lib +, autoPatchelfHook +, buildFHSUserEnv +, cairo +, dpkg +, fetchurl +, gcc-unwrapped +, glib +, glibc +, gnome2 +, gtk2-x11 +, libGL , libpulseaudio -, SDL2, xorg_sys_opengl, libGL +, libSM +, libXxf86vm +, libX11 +, openssl_1_1 +, pango +, SDL2 +, wrapGAppsHook +, xdg-utils +, xorg +, xorg_sys_opengl +, zlib }: let @@ -19,30 +39,31 @@ let nativeBuildInputs = [ autoPatchelfHook - wrapGAppsHook dpkg + wrapGAppsHook ]; buildInputs = [ - glibc + cairo gcc-unwrapped + glib + glibc + gtk2-x11 libSM libXxf86vm libX11 - glib + openssl_1_1 pango - cairo - gtk2-x11 zlib - openssl_1_1 ]; runtimeDependencies = [ - libpulseaudio libGL + libpulseaudio SDL2 - xorg_sys_opengl openssl_1_1 + xdg-utils # The launcher uses `xdg-open` to open HTTP URLs in the user's browser + xorg_sys_opengl zlib ]; @@ -95,11 +116,24 @@ in name = "RuneScape"; targetPkgs = pkgs: [ runescape - dpkg glibc gcc-unwrapped - libSM libXxf86vm libX11 glib pango cairo gtk2-x11 zlib openssl_1_1 + cairo + dpkg + gcc-unwrapped + glib + glibc + gtk2-x11 + libGL libpulseaudio + libSM + libXxf86vm + libX11 + openssl_1_1 + pango + SDL2 + xdg-utils xorg.libX11 - SDL2 xorg_sys_opengl libGL + xorg_sys_opengl + zlib ]; multiPkgs = pkgs: [ libGL ]; runScript = "runescape-launcher"; |