New package: vulkan-loader-1.0.65.1

Closes: #7630 [via git-merge-pr]
This commit is contained in:
Arvin Ignaci 2017-11-20 12:13:25 -05:00 committed by Michael Aldridge
parent f983d429e7
commit 92a9d05404
4 changed files with 63 additions and 0 deletions

View File

@ -3034,3 +3034,11 @@ libqmobipocket.so.2 libqmobipocket-17.04.3_1
libgloox.so.17 gloox-1.0.20_1
libgsmsd.so.8 gammu-smsd-1.39.0_1
libGammu.so.8 gammu-1.39.0_1
libvulkan.so.1 vulkan-loader-1.0.57.0_1
libVkLayer_core_validation.so vulkan-validation-layers-1.0.57.0_1
libVkLayer_device_profile_api.so vulkan-validation-layers-1.0.57.0_1
libVkLayer_object_tracker.so vulkan-validation-layers-1.0.57.0_1
libVkLayer_parameter_validation.so vulkan-validation-layers-1.0.57.0_1
libVkLayer_threading.so vulkan-validation-layers-1.0.57.0_1
libVkLayer_unique_objects.so vulkan-validation-layers-1.0.57.0_1
libVkLayer_utils.so vulkan-validation-layers-1.0.57.0_1

View File

@ -0,0 +1,51 @@
# Template file for 'vulkan-loader'
pkgname=vulkan-loader
_pkgname=Vulkan-LoaderAndValidationLayers
version=1.0.65.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTS=Off"
wrksrc=${_pkgname}-sdk-${version}
hostmakedepends="git python3 bison pkg-config"
makedepends="libxcb-devel libxkbcommon-devel libwayland-egl wayland-devel
libXrandr-devel"
short_desc="Vulkan Installable Client Driver (ICD) loader"
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"
checksum=aafb3ae34a653c737e49e48742a9dba6327a83f7f2620434a77184a0b87ffa22
nocross="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/1962"
nopie=yes
pre_configure() {
./update_external_sources.sh
}
do_install() {
for file in build/loader/libvulkan.*; do
vinstall ${file} 755 /usr/lib
done
vbin build/demos/vulkaninfo
vinstall include/vulkan/vk_icd.h 644 /usr/include/vulkan
vlicense LICENSE.txt
}
vulkan-validation-layers_package() {
short_desc="Vulkan validation layers"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
cd build
for file in layers/*.so; do
vinstall ${file} 755 /usr/lib
done
for file in layers/*.json; do
vinstall ${file} 644 /etc/vulkan/explicit_layer.d
done
}
}

View File

@ -0,0 +1,3 @@
_pkgname=Vulkan-LoaderAndValidationLayers
site="https://github.com/KhronosGroup/${_pkgname}/releases"
pattern="/releases/tag/sdk-\K\d.\d.\d+.\d(?=)"

View File

@ -0,0 +1 @@
vulkan-loader