void-packages/srcpkgs/Vulkan-Tools/template

25 lines
904 B
Bash
Raw Normal View History

2018-07-11 01:39:21 +02:00
# Template file for 'Vulkan-Tools'
pkgname=Vulkan-Tools
2018-08-07 04:33:01 +02:00
version=1.1.82.0
revision=1
2018-07-11 01:39:21 +02:00
wrksrc="${pkgname}-sdk-${version}"
build_style=cmake
2018-08-05 02:58:02 +02:00
configure_args="-DGLSLANG_INSTALL_DIR=/usr -DBUILD_CUBE=$(vopt_if cube ON OFF)
2018-08-04 23:28:11 +02:00
-DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr"
2018-08-05 02:58:02 +02:00
hostmakedepends="python3 pkg-config $(vopt_if cube glslang)"
2018-07-11 01:39:21 +02:00
makedepends="Vulkan-Headers vulkan-loader libxcb-devel libxkbcommon-devel
wayland-devel libwayland-egl 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/sdk-${version}.tar.gz"
2018-08-07 04:33:01 +02:00
checksum=22e5e5dfd47535e1664458ee59706abcaace96575d1a3d7fa9ae779a9e83b89c
2018-08-04 23:28:11 +02:00
2018-08-05 02:58:02 +02:00
build_options="cube"
desc_option_cube="Build cube vulkan demo"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="cube"
2018-08-04 23:28:11 +02:00
fi