Clip masks complete

This commit is contained in:
2026-08-31 16:45:25 -05:00
parent b75eebfd49
commit 260a037314
8 changed files with 135 additions and 11 deletions

View File

@@ -14,8 +14,8 @@
rmluiSrc = pkgs.fetchFromGitHub {
owner = "mikke89";
repo = "RmlUi";
rev = "9c74c4fadc2ad7f1496239e560bab19ca2fe5072";
hash = "sha256-YZz41ViE3+a0VPypnbJ1Orlf5Hyxd65se5yzyHIY7ZI=";
tag = "6.3";
hash = "sha256-ZoK6H3ldrgHjCoMgDg+6XAD+ZaCwLuUgPq0fK+GdlCs=";
};
rmluiCmakeFlags = [
@@ -27,13 +27,23 @@
rmlui = pkgs.stdenv.mkDerivation {
pname = "rmlui";
version = "master";
version = "6.3";
src = rmluiSrc;
nativeBuildInputs = [ pkgs.cmake pkgs.pkg-config ];
buildInputs = [ pkgs.freetype ];
cmakeFlags = rmluiCmakeFlags ++ [ "-DBUILD_SHARED_LIBS=ON" ];
};
raylibPatched = pkgs.raylib.overrideAttrs (old: {
postPatch = (old.postPatch or "") + ''
substituteInPlace src/platforms/rcore_desktop_glfw.c \
--replace-fail \
'glfwSetJoystickCallback(NULL);' \
'glfwWindowHint(GLFW_STENCIL_BITS, 8);
glfwSetJoystickCallback(NULL);'
'';
});
nativeBuildTools = with pkgs; [
cmake
pkg-config
@@ -41,7 +51,7 @@
];
nativeRuntimeDeps = with pkgs; [
raylib
raylibPatched
libGL
libX11
libXcursor
@@ -79,6 +89,8 @@
--prefix LD_LIBRARY_PATH : "${pkgs.lib.makeLibraryPath nativeRuntimeDeps}"
'';
};
packages.raylibPatched = raylibPatched;
}
);
}