vulkan-loader: split -devel

This commit is contained in:
classabbyamp 2024-05-27 00:37:11 -04:00
parent c78df67a02
commit b040122856
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 11 additions and 1 deletions

1
srcpkgs/vulkan-loader-devel Symbolic link
View File

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

View File

@ -1,7 +1,7 @@
# Template file for 'vulkan-loader'
pkgname=vulkan-loader
version=1.3.261.1
revision=1
revision=2
build_style=cmake
configure_args="-Wno-dev -DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr
-DBUILD_TESTS=OFF"
@ -14,3 +14,12 @@ license="Apache-2.0"
homepage="https://www.khronos.org/vulkan/"
distfiles="https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-${version}.tar.gz"
checksum=f85f0ea57b63750d4ddaf6c8649df781c4777006daa3cd772b01e7b5ed02f3f2
vulkan-loader-devel_package() {
depends="${sourcepkg}>=${version}_${revision} Vulkan-Headers"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}