solarus: move to multiple outputs
motivation: Let solarus-quest-editor require only required bits
This commit is contained in:
parent
9950899236
commit
9f930f68c0
@ -1,26 +1,34 @@
|
|||||||
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit,
|
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit
|
||||||
SDL2, SDL2_image, SDL2_ttf, physfs,
|
, SDL2, SDL2_image, SDL2_ttf, physfs, glm
|
||||||
openal, libmodplug, libvorbis,
|
, openal, libmodplug, libvorbis
|
||||||
qtbase, qttools }:
|
, qtbase, qttools }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "solarus";
|
pname = "solarus";
|
||||||
version = "1.6.2";
|
version = "1.6.4";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "solarus-games";
|
owner = "solarus-games";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0d0xfjbmamz84aajxfc0fwrj8862xxbxz6n4xnc05r1m4g7gba77";
|
sha256 = "sbdlf+R9OskDQ5U5rqUX2gF8l/fj0sDJv6BL7H1I1Ng=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake luajit SDL2
|
outputs = [ "out" "lib" "dev" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake qttools ];
|
||||||
|
buildInputs = [ luajit SDL2
|
||||||
SDL2_image SDL2_ttf physfs
|
SDL2_image SDL2_ttf physfs
|
||||||
openal libmodplug libvorbis
|
openal libmodplug libvorbis
|
||||||
qtbase qttools ];
|
qtbase glm ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
mkdir $lib/
|
||||||
|
mv $out/lib $lib
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Zelda-like ARPG game engine";
|
description = "A Zelda-like ARPG game engine";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user