mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
sameboy: 0.14 -> 0.14.1
This commit is contained in:
parent
ded029fd0d
commit
5a07a69000
1 changed files with 3 additions and 10 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sameboy";
|
||||
version = "0.14";
|
||||
version = "0.14.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LIJI32";
|
||||
repo = "SameBoy";
|
||||
rev = "v${version}";
|
||||
sha256 = "1faggrp0hka0dy97n4skdcxj1fcv8dy072fpbpiw7144x0byy5mn";
|
||||
sha256 = "0h42cixbf0m2qiwrqzygh0x166h9ikxa5dzi3jbqld2dygk932n7";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -18,22 +18,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [
|
||||
"CONF=release"
|
||||
"CAN_INSTALL=true"
|
||||
"FREEDESKTOP=true"
|
||||
"PREFIX=$(out)"
|
||||
"DATA_DIR=$(out)/share/sameboy/"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "-Werror " ""
|
||||
substituteInPlace OpenDialog/gtk.c \
|
||||
--replace '"libgtk-3.so"' '"${gtk3}/lib/libgtk-3.so"'
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://sameboy.github.io";
|
||||
description = "Game Boy, Game Boy Color, and Super Game Boy emulator";
|
||||
|
|
Loading…
Reference in a new issue