fceux: 2.6.6-unstable-2024-06-09 -> 2.6.6-unstable-2025-01-20

This commit is contained in:
emaryn 2025-04-13 04:24:18 +08:00
parent c154df9f54
commit 6d54045c1b

View file

@ -1,5 +1,6 @@
{ {
lib, lib,
stdenv,
SDL2, SDL2,
cmake, cmake,
fetchFromGitHub, fetchFromGitHub,
@ -12,7 +13,6 @@
pkg-config, pkg-config,
qt5, qt5,
qt6, qt6,
stdenv,
x264, x264,
# Configurable options # Configurable options
___qtVersion ? "5", ___qtVersion ? "5",
@ -31,13 +31,13 @@ assert lib.elem ___qtVersion [
]; ];
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "fceux"; pname = "fceux";
version = "2.6.6-unstable-2024-06-09"; version = "2.6.6-unstable-2025-01-20";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TASEmulators"; owner = "TASEmulators";
repo = "fceux"; repo = "fceux";
rev = "f980ec2bc7dc962f6cd76b9ae3131f2eb902c9e7"; rev = "2b8f6e76271341616920bb7e0c54ee48570783d3";
hash = "sha256-baAjrTzRp61Lw1p5axKJ97PuFiuBNQewXrlN0s8o7us="; hash = "sha256-2QDiAk2HO9oQ1gNvc7QFZSCbWkCDYW5OJWT8f4bmXyg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -60,15 +60,19 @@ stdenv.mkDerivation (finalAttrs: {
strictDeps = true; strictDeps = true;
postInstall = ''
substituteInPlace $out/share/applications/fceux.desktop \
--replace-fail "/usr/bin/" "" \
--replace-fail "/usr/share/pixmaps/" ""
'';
meta = { meta = {
homepage = "http://www.fceux.com/"; homepage = "http://www.fceux.com";
description = "Nintendo Entertainment System (NES) Emulator"; description = "Nintendo Entertainment System (NES) Emulator";
changelog = "https://github.com/TASEmulators/blob/fceux/${finalAttrs.src.rev}/changelog.txt"; changelog = "https://github.com/TASEmulators/fceux/blob/${finalAttrs.src.rev}/changelog.txt";
license = with lib.licenses; [ gpl2Plus ]; license = with lib.licenses; [ gpl2Plus ];
mainProgram = "fceux"; mainProgram = "fceux";
maintainers = with lib.maintainers; [ maintainers = with lib.maintainers; [ sbruder ];
sbruder
];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
}; };
}) })