mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
prboom: remove
PrBoom has not seen a release since 2008 and is essentially superseded by PrBoom+
This commit is contained in:
parent
ded34c9cb0
commit
dbf443827d
@ -1,35 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_net
|
||||
, libGLU ? null
|
||||
, libGL ? null
|
||||
, useOpenGL ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||
}:
|
||||
|
||||
assert useOpenGL -> libGL != null && libGLU != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "prboom";
|
||||
version = "2.5.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/prboom/prboom-${version}.tar.gz";
|
||||
sha256 = "1bjb04q8dk232956k30qlpq6q0hxb904yh1nflr87jcc1x3iqv12";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL SDL_mixer SDL_net ]
|
||||
++ lib.optionals useOpenGL [ libGL libGLU ];
|
||||
|
||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
|
||||
configureFlags = [
|
||||
(lib.enableFeature useOpenGL "gl")
|
||||
(lib.enableFeature doCheck "sdltest")
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"--disable-cpu-opt"
|
||||
"--without-x"
|
||||
"ac_cv_type_uid_t=yes"
|
||||
"ac_cv_type_gid_t=yes"
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
mv $out/games/ $out/bin
|
||||
'';
|
||||
}
|
@ -1030,6 +1030,7 @@ mapAliases ({
|
||||
pinentry_gtk2 = pinentry-gtk2; # Added 2019-10-14
|
||||
pinentry_qt = pinentry-qt; # Added 2019-10-14
|
||||
pinentry_qt5 = pinentry-qt; # Added 2020-02-11
|
||||
prboom = throw "prboom was removed because it was abandoned by upstream, use prboom-plus instead"; # Added 2022-04-24
|
||||
privateer = throw "privateer was removed because it was broken"; # Added 2021-05-18
|
||||
processing3 = processing; # Added 2019-08-16
|
||||
procps-ng = throw "'procps-ng' has been renamed to/replaced by 'procps'"; # Converted to throw 2022-02-22
|
||||
|
@ -31859,8 +31859,6 @@ with pkgs;
|
||||
|
||||
powermanga = callPackage ../games/powermanga { };
|
||||
|
||||
prboom = callPackage ../games/prboom { };
|
||||
|
||||
prboom-plus = callPackage ../games/prboom-plus { };
|
||||
|
||||
pysolfc = python3Packages.callPackage ../games/pysolfc { };
|
||||
|
Loading…
Reference in New Issue
Block a user