monado-vulkan-layers: init at 0-unstable-2024-02-21
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> Co-authored-by: PassiveLemon <lemonl3mn@protonmail.com>
This commit is contained in:
parent
c809c4941c
commit
dcebda8c15
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index d9a1b56..9a07e69 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -41,6 +41,7 @@ generate_vulkan_api_layer_manifest_at_install(
|
||||||
|
RELATIVE_LAYER_DIR ${LAYER_INSTALLDIR}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/vulkan/implicit_layer.d
|
||||||
|
COMPONENT vulkan_layer
|
||||||
|
+ ABSOLUTE_LAYER_PATH
|
||||||
|
)
|
||||||
|
|
||||||
|
set(CPACK_COMPONENT_vulkan_layer_DISPLAY_NAME "Timeline Semaphore Vulkan Implicit Layer")
|
44
pkgs/by-name/mo/monado-vulkan-layers/package.nix
Normal file
44
pkgs/by-name/mo/monado-vulkan-layers/package.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitLab,
|
||||||
|
cmake,
|
||||||
|
vulkan-headers,
|
||||||
|
vulkan-loader,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "monado-vulkan-layers";
|
||||||
|
version = "0-unstable-2024-02-21";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "gitlab.freedesktop.org";
|
||||||
|
owner = "monado";
|
||||||
|
repo = "utilities/vulkan-layers";
|
||||||
|
rev = "ae43cdcbd25c56e3481bbc8a0ce2bfcebba9f7c2";
|
||||||
|
sha256 = "sha256-QabYVKcenW+LQ+QSjUoQOLOQAVHdjE0YXd+1WsdzNPc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
vulkan-headers
|
||||||
|
vulkan-loader
|
||||||
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./absolute-layer-path.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Vulkan Layers for Monado";
|
||||||
|
homepage = "https://gitlab.freedesktop.org/monado/utilities/vulkan-layers";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.boost;
|
||||||
|
maintainers = with maintainers; [
|
||||||
|
Scrumplex
|
||||||
|
passivelemon
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user