sameboy: 0.14 -> 0.14.1

This commit is contained in:
Jakub Kądziołka 2021-02-28 16:42:53 +01:00
parent ded029fd0d
commit 5a07a69000
No known key found for this signature in database
GPG key ID: E315A75846131564

View file

@ -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";