volk: initial commit, version 1.3.275.0

This commit is contained in:
Tim Biermann 2024-01-21 10:35:33 +01:00
parent 1096a84347
commit b18f4b4369
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 40 additions and 0 deletions

12
volk/.footprint Normal file
View File

@ -0,0 +1,12 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/volk.c
-rw-r--r-- root/root usr/include/volk.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/volk/
-rw-r--r-- root/root usr/lib/cmake/volk/volkConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/volk/volkConfigVersion.cmake
-rw-r--r-- root/root usr/lib/cmake/volk/volkTargets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/volk/volkTargets.cmake
-rw-r--r-- root/root usr/lib/libvolk.a

5
volk/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/YZJ4G6ciXwx6F27ahnuOFvw2frMqbueUrTzwj2InMwhnCYYp/Lv8pU71JoLmN4+OSyatiAshYYRfdC8nrbQlgA=
SHA256 (Pkgfile) = 9c72088f0d61348ec14c5e471b3f363efbba424250abda9aed3c67a2b8588377
SHA256 (.footprint) = 2c4b2bc639912aa3e4f799b7b7789202e301305257904d3c093e67d3f5a068fe
SHA256 (volk-1.3.275.0.tar.gz) = b68d24e139190e49e5eafd72894f6e85c80472b8745bddc6ef91d6bf339df813

23
volk/Pkgfile Normal file
View File

@ -0,0 +1,23 @@
# Description: Meta loader for Vulkan API
# URL: https://github.com/zeux/volk
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: vulkan-loader
name=volk
version=1.3.275.0
_version=vulkan-sdk-$version
release=1
source=(https://github.com/zeux/volk/archive/$_version/$name-$version.tar.gz)
build() {
cmake -S volk-$_version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D VOLK_INSTALL=True \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}