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-10-19 00:04:01 +02:00
version=1.1.85.0
2018-08-07 04:33:01 +02:00
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-10-19 00:04:01 +02:00
checksum=b526bc394a5ca1a8ae7dd2ae357c5034f41cc476aa52a95a8b2f019853bf4664
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