scorched3d: migrate to wxGTK32

This commit is contained in:
Weijia Wang 2022-10-14 05:28:40 +02:00
parent 86872d31b1
commit c548b9e83b

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libGLU, libGL, glew, pkg-config, openalSoft, freealut, wxGTK, libogg
{ lib, stdenv, fetchurl, libGLU, libGL, glew, pkg-config, openalSoft, freealut, wxGTK32, libogg
, freetype, libvorbis, fftwSinglePrec, SDL, SDL_net, expat, libjpeg, libpng }:
stdenv.mkDerivation rec {
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
[ libGLU libGL glew openalSoft freealut wxGTK libogg freetype libvorbis
[ libGLU libGL glew openalSoft freealut wxGTK32 libogg freetype libvorbis
SDL SDL_net expat libjpeg libpng fftwSinglePrec
];
@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/games-strategy/scorched3d/files/scorched3d-44-fix-c++14.patch?id=1bbcfc9ae3dfdfcbdd35151cb7b6050776215e4d";
sha256 = "1farmjxbc2wm4scsdbdnvh29fipnb6mp6z85hxz4bx6n9kbc8y7n";
})
(fetchurl {
url = "https://sources.debian.org/data/main/s/scorched3d/44%2Bdfsg-7/debian/patches/wx3.0-compat.patch";
sha256 = "sha256-Y5U5yYNT5iMqhdRaDMFtZ4K7aD+pugFZP0jLh7rdDp8=";
})
];
sourceRoot = "scorched";