2017-09-10 14:52:13 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch
|
2015-09-12 21:21:45 +00:00
|
|
|
, pkgconfig, libtool, intltool
|
|
|
|
, libXmu
|
|
|
|
, lua
|
|
|
|
, agg, alsaLib, soundtouch, openal
|
2018-02-25 02:23:58 +00:00
|
|
|
, desktop-file-utils
|
2015-09-12 21:21:45 +00:00
|
|
|
, gtk2, gtkglext, libglade, pangox_compat
|
2018-02-24 12:59:47 +00:00
|
|
|
, libGLU, libpcap, SDL, zziplib }:
|
2015-09-12 21:21:45 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "desmume-${version}";
|
|
|
|
version = "0.9.11";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-02-28 12:07:42 +00:00
|
|
|
url = "mirror://sourceforge/project/desmume/desmume/${version}/${name}.tar.gz";
|
2015-09-12 21:21:45 +00:00
|
|
|
sha256 = "15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs";
|
|
|
|
};
|
|
|
|
|
2017-09-10 14:52:13 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "gcc6_fixes.patch";
|
|
|
|
url = "https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/desmume/debian/patches/gcc6_fixes.patch?revision=15925";
|
|
|
|
sha256 = "0j3fmxz0mfb3f4biks03pyz8f9hy958ks6qplisl60rzq9v9qpks";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2018-03-04 03:09:43 +00:00
|
|
|
CXXFLAGS = "-fpermissive";
|
|
|
|
|
2015-09-12 21:21:45 +00:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig libtool intltool libXmu lua agg alsaLib soundtouch
|
2018-02-25 02:23:58 +00:00
|
|
|
openal desktop-file-utils gtk2 gtkglext libglade pangox_compat
|
2018-02-24 12:59:47 +00:00
|
|
|
libGLU libpcap SDL zziplib ];
|
2015-09-12 21:21:45 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-glade" # Failing on compile step
|
|
|
|
"--enable-openal"
|
|
|
|
"--enable-glx"
|
|
|
|
"--enable-hud"
|
|
|
|
"--enable-wifi" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An open-source Nintendo DS emulator";
|
|
|
|
longDescription = ''
|
|
|
|
DeSmuME is a freeware emulator for the NDS roms & Nintendo DS
|
|
|
|
Lite games created by YopYop156. It supports many homebrew nds
|
|
|
|
rom demoes as well as a handful of Wireless Multiboot demo nds
|
|
|
|
roms. DeSmuME is also able to emulate nearly all of the
|
|
|
|
commercial nds rom titles which other DS Emulators aren't.
|
|
|
|
'';
|
|
|
|
homepage = http://www.desmume.com ;
|
|
|
|
license = licenses.gpl1Plus;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
2017-04-16 09:21:28 +00:00
|
|
|
# TODO: investigate glade
|