mgba: 0.9.3 -> 0.10.0
Now with lua scripting engine!
This commit is contained in:
parent
ae24d583ae
commit
875ba8ecdb
2 changed files with 23 additions and 11 deletions
|
@ -3,12 +3,14 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, SDL2
|
, SDL2
|
||||||
, cmake
|
, cmake
|
||||||
, libepoxy
|
, copyDesktopItems
|
||||||
, ffmpeg_4
|
, ffmpeg
|
||||||
, imagemagick
|
, imagemagick
|
||||||
, libedit
|
, libedit
|
||||||
, libelf
|
, libelf
|
||||||
|
, libepoxy
|
||||||
, libzip
|
, libzip
|
||||||
|
, lua
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, minizip
|
, minizip
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -18,31 +20,33 @@
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mgba";
|
pname = "mgba";
|
||||||
version = "0.9.3";
|
version = "0.10.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mgba-emu";
|
owner = "mgba-emu";
|
||||||
repo = "mgba";
|
repo = "mgba";
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-0ZtoyyoD+YjplJlPFpZgIg5119j/6X8ZaSZP+UpX5K0=";
|
hash = "sha256-2thc2v3aD8t1PrREZIjzRuYfP7b3BA7uFb6R95zxsZI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
copyDesktopItems
|
||||||
pkg-config
|
pkg-config
|
||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL2
|
SDL2
|
||||||
libepoxy
|
ffmpeg
|
||||||
ffmpeg_4
|
|
||||||
imagemagick
|
imagemagick
|
||||||
libedit
|
libedit
|
||||||
libelf
|
libelf
|
||||||
|
libepoxy
|
||||||
libzip
|
libzip
|
||||||
|
lua
|
||||||
minizip
|
minizip
|
||||||
qtbase
|
qtbase
|
||||||
qtmultimedia
|
qtmultimedia
|
||||||
|
@ -79,9 +83,9 @@ stdenv.mkDerivation rec {
|
||||||
runners, and a modern feature set for emulators that older emulators may
|
runners, and a modern feature set for emulators that older emulators may
|
||||||
not support.
|
not support.
|
||||||
'';
|
'';
|
||||||
|
changelog = "https://github.com/mgba-emu/mgba/blob/${finalAttrs.version}/CHANGES";
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
maintainers = with maintainers; [ MP2E AndersonTorres ];
|
maintainers = with maintainers; [ MP2E AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
# TODO: use desktopItem functions
|
|
||||||
|
|
|
@ -1580,7 +1580,15 @@ with pkgs;
|
||||||
|
|
||||||
melonDS = libsForQt5.callPackage ../applications/emulators/melonDS { };
|
melonDS = libsForQt5.callPackage ../applications/emulators/melonDS { };
|
||||||
|
|
||||||
mgba = libsForQt5.callPackage ../applications/emulators/mgba { };
|
mgba = callPackage ../applications/emulators/mgba {
|
||||||
|
ffmpeg = ffmpeg_4;
|
||||||
|
lua = lua5_4;
|
||||||
|
inherit (libsForQt5)
|
||||||
|
qtbase
|
||||||
|
qtmultimedia
|
||||||
|
qttools
|
||||||
|
wrapQtAppsHook;
|
||||||
|
};
|
||||||
|
|
||||||
mupen64plus = callPackage ../applications/emulators/mupen64plus { };
|
mupen64plus = callPackage ../applications/emulators/mupen64plus { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue