3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/emulators/vbam/default.nix
Benno Fünfstück 1f7fe3dc07 vbam: fix location of etc in output
Shell variables are not expanded in cmakeFlags, so the etc files ended up in
`$out/'$out'/etc` instead of the expected `$out/etc`.
2017-03-03 12:27:49 +01:00

61 lines
990 B
Nix

{ stdenv
, cairo
, cmake
, fetchsvn
, ffmpeg
, gettext
, libpng
, libpthreadstubs
, libXdmcp
, libxshmfence
, mesa
, openal
, pkgconfig
, SDL
, wxGTK
, zip
, zlib
}:
stdenv.mkDerivation {
name = "VBAM-1507";
src = fetchsvn {
url = "svn://svn.code.sf.net/p/vbam/code/trunk";
rev = 1507;
sha256 = "0fqvgi5s0sacqr9yi7kv1klqlvfzr13sjq5ikipirz0jv50kjxa7";
};
buildInputs = [
cairo
cmake
ffmpeg
gettext
libpng
libpthreadstubs
libXdmcp
libxshmfence
mesa
openal
pkgconfig
SDL
wxGTK
zip
zlib
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE='Release'"
"-DENABLE_FFMPEG='true'"
#"-DENABLE_LINK='true'" currently broken :/
"-DSYSCONFDIR=etc"
];
meta = {
description = "A merge of the original Visual Boy Advance forks";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.lassulus ];
homepage = http://vba-m.com/;
platforms = stdenv.lib.platforms.linux;
};
}