ecwolf: 1.3.3 -> 1.4.0
Release announcement: <https://maniacsvault.net/entry91> SDL and SDL_mixer had to be replaced with SDL2 and SDL2_mixer to get the new version of ECWolf to compile. Also, SDL2_net had to be added since ECWolf now has support for multiplayer (see <https://maniacsvault.net/ecwolf/multiplayer.php>). Closes #211388.
This commit is contained in:
parent
aeb8fd1296
commit
d0d65badfc
|
@ -1,18 +1,32 @@
|
|||
{ stdenv, lib, fetchFromBitbucket, makeDesktopItem, copyDesktopItems, cmake, pkg-config, zlib, bzip2, libjpeg, SDL, SDL_mixer, gtk2 }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromBitbucket
|
||||
, makeDesktopItem
|
||||
, copyDesktopItems
|
||||
, cmake
|
||||
, pkg-config
|
||||
, zlib
|
||||
, bzip2
|
||||
, libjpeg
|
||||
, SDL2
|
||||
, SDL2_net
|
||||
, SDL2_mixer
|
||||
, gtk2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ecwolf";
|
||||
version = "1.3.3";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "7RjWoABZkN5J7GpG7ie7F3rSrI3Kp3I8KRalZAE92pQ=";
|
||||
sha256 = "n1G1zvfE1l42fbJ7ZaMdV0QXn45PjMpaaZTDQAOBtYk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake copyDesktopItems pkg-config ];
|
||||
buildInputs = [ zlib bzip2 libjpeg SDL SDL_mixer gtk2 ];
|
||||
buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk2 ];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
|
@ -47,6 +61,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Enhanched SDL-based port of Wolfenstein 3D for various platforms";
|
||||
homepage = "https://maniacsvault.net/ecwolf/";
|
||||
license = licenses.gpl2Plus;
|
||||
|
|
Loading…
Reference in a new issue