ports/opt (3.7): volk: initial commit, version 1.3.275.0
commit b18f4b43698179e15a1abb6cabb2bdf72a0f8060 Author: Tim Biermann <tbier@posteo.de> Date: Sun Jan 21 10:35:33 2024 +0100 volk: initial commit, version 1.3.275.0 diff --git a/volk/.footprint b/volk/.footprint new file mode 100644 index 000000000..6e27c076e --- /dev/null +++ b/volk/.footprint @@ -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 diff --git a/volk/.signature b/volk/.signature new file mode 100644 index 000000000..c5ae975aa --- /dev/null +++ b/volk/.signature @@ -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 diff --git a/volk/Pkgfile b/volk/Pkgfile new file mode 100644 index 000000000..7299cffa3 --- /dev/null +++ b/volk/Pkgfile @@ -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 +}
participants (1)
-
crux@crux.nu