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

rmg: Fix licensing
This commit is contained in:
Cosima Neidahl 2024-01-29 00:37:42 +01:00 committed by GitHub
commit 80f0f3d80d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ];