SDL_gpu: drop (#390204)
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
SDL2,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
libGLU,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "SDL_gpu";
|
||||
version = "0-unstable-2022-06-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grimfang4";
|
||||
repo = "sdl-gpu";
|
||||
rev = "e8ee3522ba0dbe72ca387d978e5f49a9f31e7ba0";
|
||||
hash = "sha256-z1ZuHh9hvno2h+kCKfe+uWa/S6/OLZWWgLZ0zs9HetQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
SDL2
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
libGLU
|
||||
];
|
||||
|
||||
# error: incompatible function pointer types assigning to 'GPU_Image *(*)(GPU_Renderer *, SDL_Surface *, GPU_Rect *)'...
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString (
|
||||
stdenv.cc.isClang && lib.versionAtLeast stdenv.cc.version "16"
|
||||
) "-Wno-error=incompatible-function-pointer-types";
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "SDL_gpu_BUILD_DEMOS" false)
|
||||
(lib.cmakeBool "SDL_gpu_BUILD_TOOLS" false)
|
||||
(lib.cmakeBool "SDL_gpu_BUILD_VIDEO_TEST" false)
|
||||
(lib.cmakeBool "SDL_gpu_BUILD_TESTS" false)
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
description = "Library for high-performance, modern 2D graphics with SDL written in C";
|
||||
homepage = "https://grimfang4.github.io/sdl-gpu";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = lib.teams.sdl.members ++ (with lib.maintainers; [ ]);
|
||||
inherit (SDL2.meta) platforms;
|
||||
};
|
||||
})
|
||||
@@ -1363,6 +1363,7 @@ mapAliases {
|
||||
### S ###
|
||||
|
||||
SDL_classic = SDL1; # Added 2024-09-03
|
||||
SDL_gpu = throw "'SDL_gpu' has been removed due to lack of upstream maintenance and known users"; # Added 2025-03-15
|
||||
s2n = throw "'s2n' has been renamed to/replaced by 's2n-tls'"; # Converted to throw 2024-10-17
|
||||
sandboxfs = throw "'sandboxfs' has been removed due to being unmaintained, consider using linux namespaces for sandboxing instead"; # Added 2024-06-06
|
||||
sane-backends-git = throw "'sane-backends-git' has been renamed to/replaced by 'sane-backends'"; # Converted to throw 2024-10-17
|
||||
|
||||
Reference in New Issue
Block a user