sdlmame: drop

There are no longer separate programs called SDLMAME or SDLMESS. Instead, the SDL capability is included in MAME and MESS, and the makefile will auto-detect if you are on a non-Windows system and run accordingly.
This commit is contained in:
gnidorah 2019-10-30 22:35:04 +03:00
parent f73694a64a
commit cf17479caa
3 changed files with 1 additions and 44 deletions

View file

@ -1,42 +0,0 @@
{ stdenv, fetchurl, alsaLib, qt48, SDL, fontconfig, freetype, SDL_ttf, xorg }:
stdenv.mkDerivation rec {
version = "0.151.u0-1";
pname = "sdlmame";
src = if stdenv.hostPlatform.system == "x86_64-linux"
then fetchurl {
url = "http://seblu.net/a/archive/packages/s/sdlmame/${pname}-${version}-x86_64.pkg.tar.xz";
sha256 = "1j9vjxhrhsskrlk5wr7al4wk2hh3983kcva42mqal09bmc8qg3m9";
}
else fetchurl {
url = "http://seblu.net/a/archive/packages/s/sdlmame/${pname}-${version}-i686.pkg.tar.xz";
sha256 = "1i38j9ml66pyxzm0zzf1fv4lb40f6w47cdgaw846q91pzakkkqn7";
};
buildPhase = ''
sed -i "s|/usr|$out|" bin/sdlmame
'';
installPhase = ''
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${stdenv.lib.makeLibraryPath [ alsaLib qt48 SDL fontconfig freetype SDL_ttf xorg.libX11 xorg.libXinerama stdenv.cc.cc ]}" \
share/sdlmame/sdlmame
mkdir -p "$out/bin"
cp -r bin/sdlmame "$out/bin"
cp -r share "$out"
'';
dontPatchELF = true;
dontStrip = true;
meta = with stdenv.lib; {
homepage = http://sdlmame.lngn.net;
description = "A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support";
license = "MAME";
maintainers = with maintainers; [ lovek323 ];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}

View file

@ -336,6 +336,7 @@ mapAliases ({
sapic = throw "deprecated 2019-1-19: sapic is bundled with 'tamarin-prover' now";
scim = sc-im; # added 2016-01-22
scollector = bosun; # added 2018-04-25
sdlmame = mame; # added 2019-10-30
shared_mime_info = shared-mime-info; # added 2018-02-25
skrooge2 = skrooge; # added 2017-02-18
skype = skypeforlinux; # added 2017-07-27

View file

@ -22739,8 +22739,6 @@ in
scrolls = callPackage ../games/scrolls { };
sdlmame = callPackage ../games/sdlmame { };
service-wrapper = callPackage ../os-specific/linux/service-wrapper { };
sgtpuzzles = callPackage (callPackage ../games/sgt-puzzles) { };