3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #223208 from xfix/snes9x_1.62.1

snes9x: 1.62 -> 1.62.1
This commit is contained in:
Thiago Kenji Okada 2023-03-26 11:12:04 +01:00 committed by GitHub
commit 9eb4e29c3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,6 @@
, alsa-lib
, cmake
, fetchFromGitHub
, fetchpatch
, gtkmm3
, libepoxy
, libpng
@ -34,25 +33,16 @@ stdenv.mkDerivation rec {
"snes9x-gtk"
else
"snes9x";
version = "1.62";
version = "1.62.1";
src = fetchFromGitHub {
owner = "snes9xgit";
repo = "snes9x";
rev = version;
fetchSubmodules = true;
hash = "sha256-RcxFNmUbJp0rUugWOqQa3Sy/Hh18ZPOeDTxC0JY5GJQ=";
hash = "sha256-y/tNJmmgigMEqjBWLyqxM/GQ2jcu4YXZjP0AbIjoPLg=";
};
patches = [
# Fix cross-compilation, otherwise it fails to detect host compiler features
# Doesn't affect non CC builds
(fetchpatch {
url = "https://github.com/snes9xgit/snes9x/commit/f39ab408f4151c16d44e45470cc0736ffb2803f8.patch";
hash = "sha256-GMlHBsADEF+rycmEVgpWy220hZwld5D2e8fsYA7HblM=";
})
];
nativeBuildInputs = [
pkg-config
python3