From 5a07a6900072eac36954f8b2c324c407ba469b01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= Date: Sun, 28 Feb 2021 16:42:53 +0100 Subject: [PATCH] sameboy: 0.14 -> 0.14.1 --- pkgs/misc/emulators/sameboy/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/misc/emulators/sameboy/default.nix b/pkgs/misc/emulators/sameboy/default.nix index 1253bd346a6..6b209840169 100644 --- a/pkgs/misc/emulators/sameboy/default.nix +++ b/pkgs/misc/emulators/sameboy/default.nix @@ -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";