genymotion: add more runtime dependencies

This commit is contained in:
Weijia Wang 2024-01-20 09:50:02 +01:00
parent 27e48d2c55
commit f51406554e

View File

@ -1,5 +1,6 @@
{ stdenv, lib, fetchurl, makeWrapper, which, zlib, libGL, glib, xorg, libxkbcommon { stdenv, lib, fetchurl, makeWrapper, which, zlib, libGL, glib, xorg, libxkbcommon
, xdg-utils, libXrender, fontconfig, freetype, systemd, libpulseaudio , xdg-utils, libXrender, fontconfig, freetype, systemd, libpulseaudio
, cairo, gdk-pixbuf, gtk3, pixman
# For glewinfo # For glewinfo
, libXmu, libXi, libXext }: , libXmu, libXi, libXext }:
@ -19,6 +20,10 @@ let
freetype freetype
systemd systemd
libpulseaudio libpulseaudio
cairo
gdk-pixbuf
gtk3
pixman
]; ];
libPath = lib.makeLibraryPath packages; libPath = lib.makeLibraryPath packages;
in in
@ -31,8 +36,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-CS1A9udt47bhgnYJqqkCG3z4XaPVHmz417VTsY2ccOA="; sha256 = "sha256-CS1A9udt47bhgnYJqqkCG3z4XaPVHmz417VTsY2ccOA=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper which xdg-utils ];
buildInputs = [ which xdg-utils ];
unpackPhase = '' unpackPhase = ''
mkdir -p phony-home $out/share/applications mkdir -p phony-home $out/share/applications
@ -73,6 +77,8 @@ stdenv.mkDerivation rec {
patchExecutable genymotion patchExecutable genymotion
patchExecutable player patchExecutable player
patchExecutable qemu/x86_64/bin/qemu-img
patchExecutable qemu/x86_64/bin/qemu-system-x86_64
patchTool adb patchTool adb
patchTool aapt patchTool aapt