mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
vulkan_headers: drop in favour of sys-libs/vulkan
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
SUMMARY="Header files for Vulkan graphics API"
|
||||
DESCRIPTION="vulkan_headers™ (Vulkan graphics API) is a low-level \
|
||||
cross-platform 3D graphics and compute API. Vulkan is an explicit API, \
|
||||
enabling direct control over how GPUs actually work. As such, Vulkan \
|
||||
supports systems that have multiple GPUs, each running with a different \
|
||||
driver, or ICD (Installable Client Driver). Vulkan also supports multiple \
|
||||
global contexts (instances, in Vulkan terminology). The ICD loader is a \
|
||||
library that is placed between a Vulkan application and any number of \
|
||||
Vulkan drivers, in order to support multiple drivers and the instance-level \
|
||||
functionality that works across these drivers. Additionally, the loader \
|
||||
manages inserting Vulkan layer libraries, such as validation layers, between \
|
||||
an application and the drivers."
|
||||
HOMEPAGE="https://www.khronos.org/registry/vulkan/"
|
||||
COPYRIGHT="2015-2021 The Khronos Group Inc."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="33cb99194b5ab082beb00bda1e96311dfe2cb20b0037b6d4c8ae926a50f5a750"
|
||||
SOURCE_DIR="Vulkan-Headers-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
vulkan_headers$secondaryArchSuffix = $portVersion
|
||||
devel:vulkan_headers$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD ()
|
||||
{
|
||||
cmake -Bbuild \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$includeDir \
|
||||
-DCMAKE_INSTALL_DATADIR=$dataDir
|
||||
make -C build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
mkdir -p $docDir/vulkan
|
||||
cp LICENSE.txt README.md $docDir/vulkan
|
||||
}
|
||||
Reference in New Issue
Block a user