Unverified Commit f7ee813c authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

fceux: 2.6.6-unstable-2024-01-19 -> 2.6.6-unstable-2024-06-09 (#348653)

parents 7e2eb464 34ab01c6
Loading
Loading
Loading
Loading
+75 −0
Original line number Diff line number Diff line
{ lib
, SDL2
, cmake
, fetchFromGitHub
, lua
, minizip
, pkg-config
, stdenv
, wrapQtAppsHook
, x264
{
  lib,
  SDL2,
  cmake,
  fetchFromGitHub,
  ffmpeg,
  libX11,
  libXdmcp,
  libxcb,
  lua5_1,
  minizip,
  pkg-config,
  qt5,
  qt6,
  stdenv,
  x264,
  # Configurable options
  ___qtVersion ? "5",
}:

let
  qtVersionDictionary = {
    "5" = qt5;
    "6" = qt6;
  };
  inherit (qtVersionDictionary.${___qtVersion}) qttools wrapQtAppsHook;
in
assert lib.elem ___qtVersion [
  "5"
  "6"
];
stdenv.mkDerivation (finalAttrs: {
  pname = "fceux";
  version = "2.6.6-unstable-2024-01-19";
  version = "2.6.6-unstable-2024-06-09";

  src = fetchFromGitHub {
    owner = "TASEmulators";
    repo = "fceux";
    rev = "2fce5ffe745bb89be471e450d9cd6284cd5614d9";
    hash = "sha256-5uUTw7ZkmBrGuntSQFNAp1Xz69ANmmIxNGd0/enPoW8=";
    rev = "f980ec2bc7dc962f6cd76b9ae3131f2eb902c9e7";
    hash = "sha256-baAjrTzRp61Lw1p5axKJ97PuFiuBNQewXrlN0s8o7us=";
  };

  nativeBuildInputs = [
@@ -29,18 +48,28 @@ stdenv.mkDerivation (finalAttrs: {

  buildInputs = [
    SDL2
    lua
    ffmpeg
    libX11
    libXdmcp
    libxcb
    lua5_1
    minizip
    qttools
    x264
  ];

  strictDeps = true;

  meta = {
    homepage = "http://www.fceux.com/";
    description = "Nintendo Entertainment System (NES) Emulator";
    mainProgram = "fceux";
    changelog = "https://github.com/TASEmulators/blob/fceux/${finalAttrs.src.rev}/changelog.txt";
    license = with lib.licenses; [ gpl2Plus ];
    maintainers = with lib.maintainers; [ AndersonTorres sbruder ];
    mainProgram = "fceux";
    maintainers = with lib.maintainers; [
      AndersonTorres
      sbruder
    ];
    platforms = lib.platforms.linux;
  };
})
+2 −1
Original line number Diff line number Diff line
@@ -2517,7 +2517,8 @@ with pkgs;
    inherit (darwin.apple_sdk_11_0.frameworks) AudioUnit Carbon Cocoa;
  };
  fceux = libsForQt5.callPackage ../applications/emulators/fceux { };
  fceux-qt5 = fceux.override { ___qtVersion = "5"; };
  fceux-qt6 = fceux.override { ___qtVersion = "6"; };
  firebird-emu = libsForQt5.callPackage ../applications/emulators/firebird-emu { };