forked from mirrors/nixpkgs
add pkg: vbam, closes #8339
This commit is contained in:
parent
8dba95502d
commit
4ed0a4eaf8
59
pkgs/misc/emulators/vbam/default.nix
Normal file
59
pkgs/misc/emulators/vbam/default.nix
Normal file
|
@ -0,0 +1,59 @@
|
|||
{ 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='$out/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/;
|
||||
};
|
||||
}
|
|
@ -14710,6 +14710,10 @@ let
|
|||
|
||||
utf8proc = callPackage ../development/libraries/utf8proc { };
|
||||
|
||||
vbam = callPackage ../misc/emulators/vbam {
|
||||
inherit (xlibs) libpthreadstubs;
|
||||
};
|
||||
|
||||
vice = callPackage ../misc/emulators/vice {
|
||||
libX11 = xlibs.libX11;
|
||||
giflib = giflib_4_1;
|
||||
|
|
Loading…
Reference in a new issue