diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-07 21:18:07 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-07 21:18:07 +0300 |
commit | 053d6fc2dbb5a927aabe5ce0678bbc5ae99ea6fc (patch) | |
tree | 096057a39147ebf480008f9fe94a700c36f7fc3b | |
parent | d2b08e639332259f2d31c265d676580a09375e9f (diff) |
vulkan-scm added
-rw-r--r-- | metadata/categories.conf | 1 | ||||
-rw-r--r-- | packages/sys-libs/vulkan/vulkan-scm.exheres-0 | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/metadata/categories.conf b/metadata/categories.conf index 736b5af..4a15749 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -23,3 +23,4 @@ x11-libs x11-apps app-misc app-emulation +sys-libs diff --git a/packages/sys-libs/vulkan/vulkan-scm.exheres-0 b/packages/sys-libs/vulkan/vulkan-scm.exheres-0 new file mode 100644 index 0000000..ddeb355 --- /dev/null +++ b/packages/sys-libs/vulkan/vulkan-scm.exheres-0 @@ -0,0 +1,73 @@ +# Copyright 2017 Marc-Antoine Perennou <keruspe@exherbo.org> +# Distributed under the terms of the GNU General Public License v2 + + +SCM_EXTERNAL_REFS=" + submodules/googletest:googletest +" + +SCM_SECONDARY_REPOSITORIES=" + googletest +" + +SCM_googletest_REPOSITORY="https://github.com/google/googletest.git" + + +require github [ user=KhronosGroup pn=Vulkan-LoaderAndValidationLayers tag=sdk-${PV} ] \ + python [ blacklist=2 multibuild=false has_bin=false has_lib=false ] \ + cmake [ api=2 ] + +SUMMARY="Vulkan loader and validation layers" +DESCRIPTION=" +Vulkan is an Explicit API, enabling direct control over how GPUs actually work. No (or very little) +validation or error checking is done inside a Vulkan driver. Applications have full control and +responsibility. Any errors in how Vulkan is used often result in a crash. This project provides +standard validation layers that can be enabled to ease development by helping developers verify +their applications correctly use the Vulkan API. +" +HOMEPAGE="https://www.khronos.org/vulkan/" + +LICENCES="Apache-2.0" +SLOT="0" +PLATFORMS="~amd64" +MYOPTIONS="X wayland" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + X? ( + x11-libs/libxcb + x11-libs/libX11 + ) + wayland? ( sys-libs/wayland ) +" + +BUGS_TO="keruspe@exherbo.org" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DUSE_CCACHE:BOOL=FALSE + -DBUILD_ICD:BOOL=TRUE + -DBUILD_LOADER:BOOL=TRUE + -DBUILD_SHARED_LIBS:BOOL=TRUE + -DBUILD_VKJSON:BOOL=TRUE + # Those need glsl and spirv + -DBUILD_DEMOS:BOOL=FALSE + -DBUILD_GMOCK:BOOL=FALSE + -DBUILD_GTEST:BOOL=FALSE + -DBUILD_TESTS:BOOL=FALSE + -DBUILD_LAYERS:BOOL=FALSE + -DBUILD_WSI_MIR_SUPPORT:BOOL=FALSE +) +CMAKE_SRC_CONFIGURE_OPTION_BUILDS=( + "X WSI_XCB_SUPPORT" + "X WSI_XLIB_SUPPORT" + "wayland WSI_WAYLAND_SUPPORT" +) + +src_install() { + cmake_src_install + + keepdir /etc/vulkan/icd.d +} + |