2018-07-11 01:39:21 +02:00
|
|
|
# Template file for 'Vulkan-Tools'
|
|
|
|
pkgname=Vulkan-Tools
|
2018-11-26 20:49:40 +01:00
|
|
|
version=1.1.92.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
|
2018-12-07 15:07:52 +01:00
|
|
|
wayland-devel libXrandr-devel"
|
2018-07-11 01:39:21 +02:00
|
|
|
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-11-26 20:49:40 +01:00
|
|
|
checksum=a6f33646f2f5c2474625eb18569e4c621d6d952d465fd05f9ab4a9ece76ba979
|
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
|