Unverified Commit 2cf2f3a3 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #307466 from lavafroth/patch-1

universal-android-debloater: link binary to to wayland and xkbcommon
parents 93909e9c a83c782c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@
, freetype
, lib
, libglvnd
, libxkbcommon
, wayland
, makeWrapper
, mold
, pkg-config
@@ -47,7 +49,7 @@ rustPlatform.buildRustPackage rec {

  postInstall = ''
    wrapProgram $out/bin/uad-ng \
      --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ fontconfig freetype libglvnd xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr ]} \
      --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ fontconfig freetype libglvnd libxkbcommon wayland xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr ]} \
      --suffix PATH : ${lib.makeBinPath [ android-tools ]}
  '';

@@ -57,7 +59,7 @@ rustPlatform.buildRustPackage rec {
    homepage = "https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation";
    license = licenses.gpl3Only;
    mainProgram = "uad-ng";
    maintainers = with maintainers; [ ];
    maintainers = with maintainers; [ lavafroth ];
    platforms = platforms.linux;
  };
}