vulkan-loader: update to 1.1.77.0
Removed validation layers subpackage to reflect upstream changes.
This commit is contained in:
parent
7e82440f17
commit
b389e76038
2 changed files with 11 additions and 41 deletions
|
@ -1,51 +1,21 @@
|
||||||
# Template file for 'vulkan-loader'
|
# Template file for 'vulkan-loader'
|
||||||
pkgname=vulkan-loader
|
pkgname=vulkan-loader
|
||||||
_pkgname=Vulkan-LoaderAndValidationLayers
|
_pkgname=Vulkan-Loader
|
||||||
version=1.1.70.0
|
version=1.1.77.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTS=Off"
|
configure_args="-DBUILD_TESTS=Off"
|
||||||
wrksrc=${_pkgname}-sdk-${version}
|
wrksrc="${_pkgname}-sdk-${version}"
|
||||||
hostmakedepends="git python3 bison pkg-config"
|
hostmakedepends="python3 pkg-config"
|
||||||
makedepends="libxcb-devel libxkbcommon-devel libwayland-egl wayland-devel
|
makedepends="Vulkan-Headers libxcb-devel libxkbcommon-devel wayland-devel
|
||||||
libXrandr-devel"
|
libwayland-egl libXrandr-devel"
|
||||||
short_desc="Vulkan Installable Client Driver (ICD) loader"
|
short_desc="Vulkan Installable Client Driver (ICD) loader"
|
||||||
maintainer="Arvin Ignaci <arvin.ignaci@gmail.com>"
|
maintainer="Arvin Ignaci <arvin.ignaci@gmail.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://www.khronos.org/vulkan/"
|
homepage="https://www.khronos.org/vulkan/"
|
||||||
distfiles="https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${version}.tar.gz"
|
distfiles="https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${version}.tar.gz"
|
||||||
checksum=bd30ffe25a0723775ea8427d65e96bbad6f5130674ac6577ec639b54ce811397
|
checksum=4d80cd2f56e55812b685fcc90c72ef9fc3d4def7e7aae1330934a9c5cb32e8fd
|
||||||
|
|
||||||
nocross="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/1962"
|
if [ "$CROSS_BUILD" ]; then
|
||||||
nopie=yes
|
configure_args+=" -DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr"
|
||||||
|
fi
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
_pkgname=Vulkan-LoaderAndValidationLayers
|
_pkgname=Vulkan-Loader
|
||||||
site="https://github.com/KhronosGroup/${_pkgname}/releases"
|
site="https://github.com/KhronosGroup/${_pkgname}/releases"
|
||||||
pattern="/releases/tag/sdk-\K\d.\d.\d+.\d(?=)"
|
pattern="/releases/tag/sdk-\K\d.\d.\d+.\d(?=)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue