Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{
|
|
mkDerivation,
|
|
lib,
|
|
fetchurl,
|
|
cmake,
|
|
pkg-config,
|
|
qtbase,
|
|
qt5,
|
|
libGLU,
|
|
libGL,
|
|
libglut ? null,
|
|
openal ? null,
|
|
SDL2 ? null,
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "yabause";
|
|
version = "0.9.15";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.tuxfamily.org/yabause/releases/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "1cn2rjjb7d9pkr4g5bqz55vd4pzyb7hg94cfmixjkzzkw0zw8d23";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
qtbase
|
|
qt5.qtmultimedia
|
|
libGLU
|
|
libGL
|
|
libglut
|
|
openal
|
|
SDL2
|
|
];
|
|
|
|
patches = [
|
|
./linkage-rwx-linux-elf.patch
|
|
# Fixes derived from
|
|
# https://github.com/Yabause/yabause/commit/06a816c032c6f7fd79ced6e594dd4b33571a0e73
|
|
./0001-Fixes-for-Qt-5.11-upgrade.patch
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DYAB_NETWORK=ON"
|
|
"-DYAB_OPTIMIZED_DMA=ON"
|
|
"-DYAB_PORTS=qt"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Open-source Sega Saturn emulator";
|
|
mainProgram = "yabause";
|
|
homepage = "https://yabause.org/";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|