Unverified Commit 80f0f3d8 authored by Cosima Neidahl's avatar Cosima Neidahl Committed by GitHub
Browse files

Merge pull request #282774 from OPNA2608/fix/rmg-licensing

rmg: Fix licensing
parents 6ef0a97e 0ac780fa
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@
, which
, xdg-user-dirs
, zlib
# Affects final license
, withAngrylionRdpPlus ? false
}:

let
@@ -77,6 +79,7 @@ stdenv.mkDerivation rec {
    # mupen64plus-input-gca is written in Rust, so we can't build it with
    # everything else.
    "-DNO_RUST=ON"
    "-DUSE_ANGRYLION=${lib.boolToString withAngrylionRdpPlus}"
  ];

  qtWrapperArgs = lib.optionals stdenv.isLinux [
@@ -90,7 +93,7 @@ stdenv.mkDerivation rec {
      Rosalie's Mupen GUI is a free and open-source mupen64plus front-end
      written in C++. It offers a simple-to-use user interface.
    '';
    license = licenses.gpl3;
    license = if withAngrylionRdpPlus then licenses.unfree else licenses.gpl3Only;
    platforms = platforms.linux;
    mainProgram = "RMG";
    maintainers = with maintainers; [ slam-bert ];