diff --git a/srcpkgs/vulkan-loader-devel b/srcpkgs/vulkan-loader-devel new file mode 120000 index 00000000000..45054faf757 --- /dev/null +++ b/srcpkgs/vulkan-loader-devel @@ -0,0 +1 @@ +vulkan-loader \ No newline at end of file diff --git a/srcpkgs/vulkan-loader/template b/srcpkgs/vulkan-loader/template index d10cea051ed..749948c918b 100644 --- a/srcpkgs/vulkan-loader/template +++ b/srcpkgs/vulkan-loader/template @@ -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" + } +}