git.iko.soy/typeable/nixpkgs
on master help sign in
add pkg: vbam, closes #8339
4ed0a4elassulus
pkgs/misc/emulators/vbam/default.nixnew file+59
@@ -0,0 +1,59 @@
1+{ stdenv
2+, cairo
3+, cmake
4+, fetchsvn
5+, ffmpeg
6+, gettext
7+, libpng
8+, libpthreadstubs
9+, libXdmcp
10+, libxshmfence
11+, mesa
12+, openal
13+, pkgconfig
14+, SDL
15+, wxGTK
16+, zip
17+, zlib
18+}:
19+
20+stdenv.mkDerivation {
21+ name = "VBAM-1507";
22+ src = fetchsvn {
23+ url = "svn://svn.code.sf.net/p/vbam/code/trunk";
24+ rev = 1507;
25+ sha256 = "0fqvgi5s0sacqr9yi7kv1klqlvfzr13sjq5ikipirz0jv50kjxa7";
26+ };
27+
28+ buildInputs = [
29+ cairo
30+ cmake
31+ ffmpeg
32+ gettext
33+ libpng
34+ libpthreadstubs
35+ libXdmcp
36+ libxshmfence
37+ mesa
38+ openal
39+ pkgconfig
40+ SDL
41+ wxGTK
42+ zip
43+ zlib
44+ ];
45+
46+ cmakeFlags = [
47+ "-DCMAKE_BUILD_TYPE='Release'"
48+ "-DENABLE_FFMPEG='true'"
49+ #"-DENABLE_LINK='true'" currently broken :/
50+ "-DSYSCONFDIR='$out/etc'"
51+ ];
52+
53+ meta = {
54+ description = "A merge of the original Visual Boy Advance forks";
55+ license = stdenv.lib.licenses.gpl2;
56+ maintainers = [ stdenv.lib.maintainers.lassulus ];
57+ homepage = http://vba-m.com/;
58+ };
59+}
pkgs/top-level/all-packages.nix+4
@@ -14710,6 +14710,10 @@ let
14710
14710
14711 utf8proc = callPackage ../development/libraries/utf8proc { };
14711 utf8proc = callPackage ../development/libraries/utf8proc { };
14712
14712
14713+ vbam = callPackage ../misc/emulators/vbam {
14714+ inherit (xlibs) libpthreadstubs;
14715+ };
14716+
14713 vice = callPackage ../misc/emulators/vice {
14717 vice = callPackage ../misc/emulators/vice {
14714 libX11 = xlibs.libX11;
14718 libX11 = xlibs.libX11;
14715 giflib = giflib_4_1;
14719 giflib = giflib_4_1;