voxelands: 1512.00 -> 1704.00
This commit is contained in:
parent
0ea1c7d282
commit
1ed49e3ea9
|
@ -1,13 +1,30 @@
|
||||||
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
|
{ stdenv
|
||||||
, libjpeg, libXxf86vm, libGLU, libGL, openal, libvorbis, xlibsWrapper, pkgconfig }:
|
, fetchFromGitLab
|
||||||
|
, bzip2
|
||||||
|
, cmake
|
||||||
|
, expat
|
||||||
|
, irrlicht
|
||||||
|
, libGL
|
||||||
|
, libGLU
|
||||||
|
, libXxf86vm
|
||||||
|
, libjpeg
|
||||||
|
, libpng
|
||||||
|
, libvorbis
|
||||||
|
, openal
|
||||||
|
, pkg-config
|
||||||
|
, sqlite
|
||||||
|
, xlibsWrapper
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "voxelands";
|
pname = "voxelands";
|
||||||
version = "1512.00";
|
version = "1704.00";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitLab {
|
||||||
url = "http://voxelands.com/downloads/${pname}-${version}-src.tar.bz2";
|
owner = pname;
|
||||||
sha256 = "0bims0y0nyviv2f2nxfj37s3258cjbfp9xd97najz0yylnk3qdfw";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0yj9z9nygpn0z63y739v72l3kg81wd71xgix5k045vfzhqsam5m0";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -16,16 +33,32 @@ stdenv.mkDerivation rec {
|
||||||
"-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG"
|
"-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake irrlicht libpng bzip2 libjpeg sqlite
|
bzip2
|
||||||
libXxf86vm libGLU libGL openal libvorbis xlibsWrapper pkgconfig
|
expat
|
||||||
|
irrlicht
|
||||||
|
libGL
|
||||||
|
libGLU
|
||||||
|
libXxf86vm
|
||||||
|
libjpeg
|
||||||
|
libpng
|
||||||
|
libvorbis
|
||||||
|
openal
|
||||||
|
sqlite
|
||||||
|
xlibsWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://voxelands.com/";
|
homepage = "https://voxelands.net/";
|
||||||
description = "Infinite-world block sandbox game based on Minetest";
|
description = "Infinite-world block sandbox game based on Minetest";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
|
broken = stdenv.isAarch64; # build fails with "libIrrlicht.so: undefined reference to `png_init_filter_functions_neon'"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue