Merge pull request #182214 from DeterminateSystems/libgme-merge

game-music-emu: merge in libgme

authored by Linus Heckemann and committed by GitHub df8b4cc4 310b9955

+22 -49
+11 -3
pkgs/applications/audio/game-music-emu/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake }: 2 3 stdenv.mkDerivation rec { 4 version = "0.6.3"; ··· 9 sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"; 10 }; 11 cmakeFlags = lib.optionals stdenv.isDarwin [ "-DENABLE_UBSAN=OFF" ]; 12 - nativeBuildInputs = [ cmake ]; 13 14 meta = with lib; { 15 homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home"; 16 description = "A collection of video game music file emulators"; 17 license = licenses.lgpl21Plus; 18 platforms = platforms.all; 19 - maintainers = with maintainers; [ luc65r ]; 20 }; 21 }
··· 1 + { lib, stdenv, fetchurl, cmake, removeReferencesTo }: 2 3 stdenv.mkDerivation rec { 4 version = "0.6.3"; ··· 9 sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"; 10 }; 11 cmakeFlags = lib.optionals stdenv.isDarwin [ "-DENABLE_UBSAN=OFF" ]; 12 + nativeBuildInputs = [ cmake removeReferencesTo ]; 13 + 14 + # It used to reference it, in the past, but thanks to the postFixup hook, now 15 + # it doesn't. 16 + disallowedReferences = [ stdenv.cc.cc ]; 17 + 18 + postFixup = lib.optionalString stdenv.isLinux '' 19 + remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)" 20 + ''; 21 22 meta = with lib; { 23 homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home"; 24 description = "A collection of video game music file emulators"; 25 license = licenses.lgpl21Plus; 26 platforms = platforms.all; 27 + maintainers = with maintainers; [ luc65r lheckemann ]; 28 }; 29 }
-34
pkgs/development/libraries/audio/libgme/default.nix
··· 1 - { lib, stdenv, fetchFromBitbucket, cmake, removeReferencesTo }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "libgme"; 5 - version = "0.6.3"; 6 - 7 - meta = with lib; { 8 - description = "A collection of video game music chip emulators"; 9 - homepage = "https://bitbucket.org/mpyne/game-music-emu/overview"; 10 - license = licenses.lgpl21; 11 - platforms = platforms.all; 12 - maintainers = with maintainers; [ lheckemann ]; 13 - }; 14 - 15 - src = fetchFromBitbucket { 16 - owner = "mpyne"; 17 - repo = "game-music-emu"; 18 - rev = version; 19 - sha256 = "100ahb4n4pvgcry9xzlf2fr4j57n5h9x7pvyhhxys4dcy8axqqsy"; 20 - }; 21 - 22 - nativeBuildInputs = [ cmake removeReferencesTo ]; 23 - 24 - # These checks fail on aarch64-darwin 25 - cmakeFlags = [ "-DENABLE_UBSAN=OFF" ]; 26 - 27 - # It used to reference it, in the past, but thanks to the postFixup hook, now 28 - # it doesn't. 29 - disallowedReferences = [ stdenv.cc.cc ]; 30 - 31 - postFixup = lib.optionalString stdenv.isLinux '' 32 - remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)" 33 - ''; 34 - }
···
+2 -2
pkgs/development/libraries/gstreamer/bad/default.nix
··· 78 , libGLU 79 , libGL 80 , libintl 81 - , libgme 82 , openssl 83 , x265 84 , libxml2 ··· 164 gnutls 165 libGL 166 libGLU 167 - libgme 168 openssl 169 libxml2 170 libintl
··· 78 , libGLU 79 , libGL 80 , libintl 81 + , game-music-emu 82 , openssl 83 , x265 84 , libxml2 ··· 164 gnutls 165 libGL 166 libGLU 167 + game-music-emu 168 openssl 169 libxml2 170 libintl
+3 -3
pkgs/games/srb2/default.nix
··· 8 , nasm 9 , libopenmpt 10 , p7zip 11 - , libgme 12 , libpng 13 , SDL2 14 , SDL2_mixer ··· 48 49 buildInputs = [ 50 curl 51 - libgme 52 libpng 53 libopenmpt 54 SDL2 ··· 58 59 cmakeFlags = [ 60 "-DSRB2_ASSET_DIRECTORY=/build/source/assets" 61 - "-DGME_INCLUDE_DIR=${libgme}/include" 62 "-DOPENMPT_INCLUDE_DIR=${libopenmpt.dev}/include" 63 "-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2" 64 "-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2"
··· 8 , nasm 9 , libopenmpt 10 , p7zip 11 + , game-music-emu 12 , libpng 13 , SDL2 14 , SDL2_mixer ··· 48 49 buildInputs = [ 50 curl 51 + game-music-emu 52 libpng 53 libopenmpt 54 SDL2 ··· 58 59 cmakeFlags = [ 60 "-DSRB2_ASSET_DIRECTORY=/build/source/assets" 61 + "-DGME_INCLUDE_DIR=${game-music-emu}/include" 62 "-DOPENMPT_INCLUDE_DIR=${libopenmpt.dev}/include" 63 "-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2" 64 "-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2"
+3 -3
pkgs/games/srb2kart/default.nix
··· 7 , curl 8 , nasm 9 , unzip 10 - , libgme 11 , libpng 12 , SDL2 13 , SDL2_mixer ··· 42 43 buildInputs = [ 44 curl 45 - libgme 46 libpng 47 SDL2 48 SDL2_mixer ··· 51 52 cmakeFlags = [ 53 #"-DSRB2_ASSET_DIRECTORY=/build/source/assets" 54 - "-DGME_INCLUDE_DIR=${libgme}/include" 55 "-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2" 56 "-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2" 57 ];
··· 7 , curl 8 , nasm 9 , unzip 10 + , game-music-emu 11 , libpng 12 , SDL2 13 , SDL2_mixer ··· 42 43 buildInputs = [ 44 curl 45 + game-music-emu 46 libpng 47 SDL2 48 SDL2_mixer ··· 51 52 cmakeFlags = [ 53 #"-DSRB2_ASSET_DIRECTORY=/build/source/assets" 54 + "-DGME_INCLUDE_DIR=${game-music-emu}/include" 55 "-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2" 56 "-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2" 57 ];
+2 -2
pkgs/games/zandronum/default.nix
··· 1 { stdenv, lib, fetchhg, cmake, pkg-config, makeWrapper, callPackage 2 - , soundfont-fluid, SDL, libGL, glew, bzip2, zlib, libjpeg, fluidsynth, openssl, gtk2, python3, libgme 3 , serverOnly ? false 4 }: 5 ··· 29 30 # I have no idea why would SDL and libjpeg be needed for the server part! 31 # But they are. 32 - buildInputs = [ openssl bzip2 zlib SDL libjpeg sqlite libgme ] 33 ++ lib.optionals (!serverOnly) [ libGL glew fmod fluidsynth gtk2 ]; 34 35 nativeBuildInputs = [ cmake pkg-config makeWrapper python3 ];
··· 1 { stdenv, lib, fetchhg, cmake, pkg-config, makeWrapper, callPackage 2 + , soundfont-fluid, SDL, libGL, glew, bzip2, zlib, libjpeg, fluidsynth, openssl, gtk2, python3, game-music-emu 3 , serverOnly ? false 4 }: 5 ··· 29 30 # I have no idea why would SDL and libjpeg be needed for the server part! 31 # But they are. 32 + buildInputs = [ openssl bzip2 zlib SDL libjpeg sqlite game-music-emu ] 33 ++ lib.optionals (!serverOnly) [ libGL glew fmod fluidsynth gtk2 ]; 34 35 nativeBuildInputs = [ cmake pkg-config makeWrapper python3 ];
+1
pkgs/top-level/aliases.nix
··· 717 liberation_ttf_v2_from_source = throw "'liberation_ttf_v2_from_source' has been renamed to/replaced by 'liberation_ttf_v2'"; # Converted to throw 2022-02-22 718 liberationsansnarrow = throw "'liberationsansnarrow' has been renamed to/replaced by 'liberation-sans-narrow'"; # Converted to throw 2022-02-22 719 libgksu = throw "libgksu has been removed"; # Added 2022-01-16 720 libgnome_keyring = throw "'libgnome_keyring' has been renamed to/replaced by 'libgnome-keyring'"; # Converted to throw 2022-02-22 721 libgnome_keyring3 = throw "'libgnome_keyring3' has been renamed to/replaced by 'libgnome-keyring3'"; # Converted to throw 2022-02-22 722 libgpgerror = libgpg-error; # Added 2021-09-04
··· 717 liberation_ttf_v2_from_source = throw "'liberation_ttf_v2_from_source' has been renamed to/replaced by 'liberation_ttf_v2'"; # Converted to throw 2022-02-22 718 liberationsansnarrow = throw "'liberationsansnarrow' has been renamed to/replaced by 'liberation-sans-narrow'"; # Converted to throw 2022-02-22 719 libgksu = throw "libgksu has been removed"; # Added 2022-01-16 720 + libgme = game-music-emu; # Added 2022-07-20 721 libgnome_keyring = throw "'libgnome_keyring' has been renamed to/replaced by 'libgnome-keyring'"; # Converted to throw 2022-02-22 722 libgnome_keyring3 = throw "'libgnome_keyring3' has been renamed to/replaced by 'libgnome-keyring3'"; # Converted to throw 2022-02-22 723 libgpgerror = libgpg-error; # Added 2021-09-04
-2
pkgs/top-level/all-packages.nix
··· 21151 21152 lambda-mod-zsh-theme = callPackage ../shells/zsh/lambda-mod-zsh-theme { }; 21153 21154 - libgme = callPackage ../development/libraries/audio/libgme { }; 21155 - 21156 librdf_raptor = callPackage ../development/libraries/librdf/raptor.nix { }; 21157 21158 librdf_raptor2 = callPackage ../development/libraries/librdf/raptor2.nix { };
··· 21151 21152 lambda-mod-zsh-theme = callPackage ../shells/zsh/lambda-mod-zsh-theme { }; 21153 21154 librdf_raptor = callPackage ../development/libraries/librdf/raptor.nix { }; 21155 21156 librdf_raptor2 = callPackage ../development/libraries/librdf/raptor2.nix { };