void-packages/srcpkgs/vulkan-loader/template

26 lines
864 B
Bash

# Template file for 'vulkan-loader'
pkgname=vulkan-loader
version=1.3.261.1
revision=2
build_style=cmake
configure_args="-Wno-dev -DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr
-DBUILD_TESTS=OFF"
hostmakedepends="python3 pkg-config"
makedepends="Vulkan-Headers libxcb-devel libxkbcommon-devel wayland-devel
libXrandr-devel"
short_desc="Vulkan Installable Client Driver (ICD) loader"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://www.khronos.org/vulkan/"
distfiles="https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-${version}.tar.gz"
checksum=f85f0ea57b63750d4ddaf6c8649df781c4777006daa3cd772b01e7b5ed02f3f2
vulkan-loader-devel_package() {
depends="${sourcepkg}>=${version}_${revision} Vulkan-Headers"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}