treewide: replace references to libgme with game-music-emu

This commit is contained in:
Linus Heckemann 2022-07-20 16:18:25 +02:00
parent bbd78d6030
commit 6983172974
4 changed files with 10 additions and 10 deletions

View file

@ -78,7 +78,7 @@
, libGLU
, libGL
, libintl
, libgme
, game-music-emu
, openssl
, x265
, libxml2
@ -166,7 +166,7 @@ stdenv.mkDerivation rec {
gnutls
libGL
libGLU
libgme
game-music-emu
openssl
libxml2
libintl

View file

@ -8,7 +8,7 @@
, nasm
, libopenmpt
, p7zip
, libgme
, game-music-emu
, libpng
, SDL2
, SDL2_mixer
@ -48,7 +48,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
curl
libgme
game-music-emu
libpng
libopenmpt
SDL2
@ -58,7 +58,7 @@ in stdenv.mkDerivation rec {
cmakeFlags = [
"-DSRB2_ASSET_DIRECTORY=/build/source/assets"
"-DGME_INCLUDE_DIR=${libgme}/include"
"-DGME_INCLUDE_DIR=${game-music-emu}/include"
"-DOPENMPT_INCLUDE_DIR=${libopenmpt.dev}/include"
"-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2"
"-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2"

View file

@ -7,7 +7,7 @@
, curl
, nasm
, unzip
, libgme
, game-music-emu
, libpng
, SDL2
, SDL2_mixer
@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
curl
libgme
game-music-emu
libpng
SDL2
SDL2_mixer
@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
cmakeFlags = [
#"-DSRB2_ASSET_DIRECTORY=/build/source/assets"
"-DGME_INCLUDE_DIR=${libgme}/include"
"-DGME_INCLUDE_DIR=${game-music-emu}/include"
"-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2"
"-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2"
];

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchhg, cmake, pkg-config, makeWrapper, callPackage
, soundfont-fluid, SDL, libGL, glew, bzip2, zlib, libjpeg, fluidsynth, openssl, gtk2, python3, libgme
, soundfont-fluid, SDL, libGL, glew, bzip2, zlib, libjpeg, fluidsynth, openssl, gtk2, python3, game-music-emu
, serverOnly ? false
}:
@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
# I have no idea why would SDL and libjpeg be needed for the server part!
# But they are.
buildInputs = [ openssl bzip2 zlib SDL libjpeg sqlite libgme ]
buildInputs = [ openssl bzip2 zlib SDL libjpeg sqlite game-music-emu ]
++ lib.optionals (!serverOnly) [ libGL glew fmod fluidsynth gtk2 ];
nativeBuildInputs = [ cmake pkg-config makeWrapper python3 ];