25 lines
881 B
Bash
25 lines
881 B
Bash
# Template file for 'Vulkan-Tools'
|
|
pkgname=Vulkan-Tools
|
|
version=1.1.121
|
|
revision=1
|
|
wrksrc="${pkgname}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DGLSLANG_INSTALL_DIR=/usr -DBUILD_CUBE=$(vopt_if cube ON OFF)
|
|
-DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="python3 pkg-config $(vopt_if cube glslang)"
|
|
makedepends="Vulkan-Headers vulkan-loader libxcb-devel libxkbcommon-devel
|
|
wayland-devel libXrandr-devel"
|
|
short_desc="Official Vulkan tools and utilities"
|
|
maintainer="Arvin Ignaci <arvin.ignaci@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://www.khronos.org/vulkan/"
|
|
distfiles="https://github.com/KhronosGroup/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=f28229077fbf8c898c1049f3421b14afb441fb3a25f24d5d6e90ae6c2a36c574
|
|
|
|
build_options="cube"
|
|
desc_option_cube="Build cube vulkan demo"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="cube"
|
|
fi
|