zdoom: drop (#506420)
This commit is contained in:
@@ -1,82 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
p7zip,
|
||||
cmake,
|
||||
SDL2,
|
||||
openal,
|
||||
fluidsynth,
|
||||
soundfont-fluid,
|
||||
bzip2,
|
||||
zlib,
|
||||
libjpeg,
|
||||
game-music-emu,
|
||||
libsndfile,
|
||||
mpg123,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zdoom";
|
||||
majorVersion = "2.8";
|
||||
version = "${majorVersion}.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://zdoom.org/files/zdoom/${majorVersion}/zdoom-${version}-src.7z";
|
||||
sha256 = "0453fqrh9l00xwphfxni5qkf9y134n3s1mr1dvi5cbkxcva7j8bq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
p7zip
|
||||
cmake
|
||||
];
|
||||
buildInputs = [
|
||||
SDL2
|
||||
openal
|
||||
fluidsynth
|
||||
bzip2
|
||||
zlib
|
||||
libjpeg
|
||||
game-music-emu
|
||||
libsndfile
|
||||
mpg123
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DFORCE_INTERNAL_GME=OFF"
|
||||
"-DGME_INCLUDE_DIR=${game-music-emu}/include"
|
||||
"-DGME_LIBRARIES=${game-music-emu}/lib/libgme.so"
|
||||
];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
env.NIX_CFLAGS_LINK = toString [
|
||||
"-lopenal"
|
||||
"-lfluidsynth"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i \
|
||||
-e "s@/usr/share/sounds/sf2/@${soundfont-fluid}/share/soundfonts/@g" \
|
||||
-e "s@FluidR3_GM.sf2@FluidR3_GM2-2.sf2@g" \
|
||||
src/sound/music_fluidsynth_mididevice.cpp
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 zdoom "$out/lib/zdoom/zdoom"
|
||||
for i in *.pk3; do
|
||||
install -Dm644 "$i" "$out/lib/zdoom/$i"
|
||||
done
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/lib/zdoom/zdoom $out/bin/zdoom
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://zdoom.org/";
|
||||
description = "Enhanced port of the official DOOM source code";
|
||||
# Doom source license, MAME license
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ lassulus ];
|
||||
};
|
||||
}
|
||||
@@ -2475,6 +2475,7 @@ mapAliases {
|
||||
zandronum-alpha-server = throw "'zandronum-alpha-server' has been removed as it was broken and the stable version has caught up"; # Added 2025-10-19
|
||||
zashboard = throw "'zashboard' has been removed because upstream repository source code has been deleted"; # Added 2025-12-29
|
||||
zbackup = throw "'zbackup' has been removed due to being unmaintained upstream"; # Added 2025-08-22
|
||||
zdoom = throw "'zdoom' has been removed as it was broken and unmaintained upstream. Consider using UZDoom instead."; # Added 2026-04-04
|
||||
zeal-qt5 = warnAlias "'zeal-qt5' has been removed from nixpkgs. Please use 'zeal' instead" zeal; # Added 2025-08-31
|
||||
zeal-qt6 = warnAlias "'zeal-qt6' has been renamed to 'zeal'" zeal; # Added 2025-08-31
|
||||
zeroadPackages.zeroad = throw "'zeroadPackages.zeroad' has been renamed to/replaced by 'zeroad'"; # Converted to throw 2025-10-27
|
||||
|
||||
Reference in New Issue
Block a user