Browse Source

numptyphysics: build against SDL1 for (broken) fullscreen support

see bug https://github.com/thp/numptyphysics/issues/34
master
Trolli Schmittlauch 4 months ago
parent
commit
93d0685492
  1. 2
      default.nix
  2. 10
      pkgs/numptyphysics/default.nix

2
default.nix

@ -17,5 +17,5 @@ rec {
lolcommits = pkgs.callPackage ./pkgs/lolcommits { mplayer = mplayerV4l; };
mplayerV4l = pkgs.mplayer.override { v4lSupport = true; };
vollkorn = pkgs.callPackage ./pkgs/vollkorn { };
numptyphysics = pkgs.callPackage ./pkgs/numptyphysics { SDL2 = pkgs.SDL2.override {openglSupport = true; }; };
numptyphysics = pkgs.callPackage ./pkgs/numptyphysics { };
}

10
pkgs/numptyphysics/default.nix

@ -1,9 +1,9 @@
{ stdenv
, fetchFromGitHub
, lib
, SDL2
, SDL2_image
, SDL2_ttf
, SDL
, SDL_image
, SDL_ttf
, libGL
, glib
, pkgconfig
@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
sha256 = "1g3pl5ghan7g173zgwz0jkm3swy2r00gng392w25fsj5lf1g1v5x";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ SDL2 SDL2_image SDL2_ttf glib libGL ];
buildInputs = [ SDL SDL_image SDL_ttf glib libGL ];
enableParallelBuilding = true;
installFlags = [ "DESTDIR=$(out)" "PREFIX=''" ];
makeFlags = [ "PLATFORM=sdl1" "V=1" "DESTDIR=$(out)" "PREFIX=''" ];
meta = {
maintainers = [ lib.maintainers.schmittlauch ];

Loading…
Cancel
Save