Merge pull request #270411 from thiagokokada/fix-retroarch-licenses

libretro: fix meta.license attribute

authored by Thiago Kenji Okada and committed by GitHub bcc23ba4 4716d207

+32 -16
+32 -16
pkgs/applications/emulators/retroarch/cores.nix
··· 390 390 preBuild = "cd svn-current/trunk"; 391 391 meta = { 392 392 description = "Port of Final Burn Alpha ~2012 to libretro"; 393 - license = "Non-commercial"; 393 + # Non-commercial clause 394 + license = lib.licenses.unfreeRedistributable; 394 395 }; 395 396 }; 396 397 ··· 400 401 preBuild = "cd src/burner/libretro"; 401 402 meta = { 402 403 description = "Port of FBNeo to libretro"; 403 - license = "Non-commercial"; 404 + # Non-commercial clause 405 + license = lib.licenses.unfreeRedistributable; 404 406 }; 405 407 }; 406 408 ··· 430 432 makefile = "Makefile"; 431 433 meta = { 432 434 description = "FMSX libretro port"; 433 - license = "Non-commercial"; 435 + # Non-commercial clause 436 + license = lib.licenses.unfreeRedistributable; 434 437 }; 435 438 }; 436 439 ··· 463 466 core = "genesis-plus-gx"; 464 467 meta = { 465 468 description = "Enhanced Genesis Plus libretro port"; 466 - license = "Non-commercial"; 469 + # Non-commercial clause 470 + license = lib.licenses.unfreeRedistributable; 467 471 }; 468 472 }; 469 473 ··· 524 528 makeFlags = lib.optional (!stdenv.hostPlatform.isx86) "IS_X86=0"; 525 529 meta = { 526 530 description = "Port of MAME ~2000 to libretro, compatible with MAME 0.37b5 sets"; 527 - license = "MAME"; 531 + # MAME license, non-commercial clause 532 + license = lib.licenses.unfreeRedistributable; 528 533 }; 529 534 }; 530 535 ··· 533 538 makefile = "Makefile"; 534 539 meta = { 535 540 description = "Port of MAME ~2003 to libretro, compatible with MAME 0.78 sets"; 536 - license = "MAME"; 541 + # MAME license, non-commercial clause 542 + license = lib.licenses.unfreeRedistributable; 537 543 }; 538 544 }; 539 545 ··· 542 548 makefile = "Makefile"; 543 549 meta = { 544 550 description = "Port of MAME ~2003+ to libretro, compatible with MAME 0.78 sets"; 545 - license = "MAME"; 551 + # MAME license, non-commercial clause 552 + license = lib.licenses.unfreeRedistributable; 546 553 }; 547 554 }; 548 555 ··· 552 559 makeFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ "PTR64=1" "ARM_ENABLED=1" "X86_SH2DRC=0" "FORCE_DRC_C_BACKEND=1" ]; 553 560 meta = { 554 561 description = "Port of MAME ~2010 to libretro, compatible with MAME 0.139 sets"; 555 - license = "MAME"; 562 + # MAME license, non-commercial clause 563 + license = lib.licenses.unfreeRedistributable; 556 564 }; 557 565 }; 558 566 ··· 566 574 enableParallelBuilding = false; 567 575 meta = { 568 576 description = "Port of MAME ~2015 to libretro, compatible with MAME 0.160 sets"; 569 - license = "MAME"; 577 + # MAME license, non-commercial clause 578 + license = lib.licenses.unfreeRedistributable; 570 579 }; 571 580 }; 572 581 ··· 708 717 makeFlags = [ "CC_PREFIX=${stdenv.cc.targetPrefix}" ]; 709 718 meta = { 710 719 description = "Opera is a port of 4DO/libfreedo to libretro"; 711 - license = "Non-commercial"; 720 + # Non-commercial clause 721 + license = lib.licenses.unfreeRedistributable; 712 722 }; 713 723 }; 714 724 ··· 782 792 dontConfigure = true; 783 793 meta = { 784 794 description = "Fast MegaDrive/MegaCD/32X emulator"; 785 - license = "MAME"; 795 + # Non-commercial clause 796 + license = lib.licenses.unfreeRedistributable; 786 797 }; 787 798 }; 788 799 ··· 901 912 preBuild = "cd libretro"; 902 913 meta = { 903 914 description = "Port of SNES9x git to libretro"; 904 - license = "Non-commercial"; 915 + # Non-commercial clause 916 + license = lib.licenses.unfreeRedistributable; 905 917 }; 906 918 }; 907 919 ··· 910 922 makefile = "Makefile"; 911 923 meta = { 912 924 description = "Optimized port/rewrite of SNES9x 1.39 to Libretro"; 913 - license = "Non-commercial"; 925 + # Non-commercial clause 926 + license = lib.licenses.unfreeRedistributable; 914 927 }; 915 928 }; 916 929 ··· 919 932 makefile = "Makefile"; 920 933 meta = { 921 934 description = "Optimized port/rewrite of SNES9x 1.43 to Libretro"; 922 - license = "Non-commercial"; 935 + # Non-commercial clause 936 + license = lib.licenses.unfreeRedistributable; 923 937 }; 924 938 }; 925 939 ··· 930 944 makeFlags = [ "USE_BLARGG_APU=1" ]; 931 945 meta = { 932 946 description = "Optimized port/rewrite of SNES9x 1.43 to Libretro, with Blargg's APU"; 933 - license = "Non-commercial"; 947 + # Non-commercial clause 948 + license = lib.licenses.unfreeRedistributable; 934 949 }; 935 950 }; 936 951 ··· 938 953 core = "snes9x2010"; 939 954 meta = { 940 955 description = "Optimized port/rewrite of SNES9x 1.52+ to Libretro"; 941 - license = "Non-commercial"; 956 + # Non-commercial clause 957 + license = lib.licenses.unfreeRedistributable; 942 958 }; 943 959 }; 944 960