2020-12-25 13:55:36 +00:00
|
|
|
{ stdenv, lib, fetchurl, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer
|
|
|
|
, SDL2_net , SDL2_gfx, zlib, physfs, curl, libxml2, libpng, pkg-config
|
|
|
|
, libGL, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "manaplus";
|
2021-08-08 23:34:03 +00:00
|
|
|
version = "2.1.3.17";
|
2020-12-25 13:55:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.evolonline.org/manaplus/download/${version}/manaplus-${version}.tar.xz";
|
2021-08-08 23:34:03 +00:00
|
|
|
sha256 = "sha256-6NFqxUjEAp7aiIScyTOFh2tT7PfuTCKH1vTgPpTm+j0=";
|
2020-12-25 13:55:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
SDL2 SDL2_image SDL2_ttf SDL2_mixer SDL2_net SDL2_gfx zlib
|
|
|
|
physfs curl libxml2 libpng libGL
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-sdl2" "--without-dyecmd" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
2024-06-24 18:47:55 +00:00
|
|
|
maintainers = [ ];
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Free OpenSource 2D MMORPG client";
|
2020-12-25 13:55:36 +00:00
|
|
|
homepage = "https://manaplus.org/";
|
|
|
|
license = lib.licenses.gpl2;
|
2023-03-04 12:14:45 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2020-12-25 13:55:36 +00:00
|
|
|
};
|
|
|
|
}
|