Update rules

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-11-27 20:49:34 +03:00 committed by GitHub
parent aee983e8f0
commit f1dc2a4b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
debian/rules vendored
View File

@ -290,6 +290,16 @@ override_dh_install:
debian/mesa-opencl-icd-git/usr/lib/${DEB_HOST_MULTIARCH}/
endif
# Copy spirv2dxil and its dependencies on architectures that support WSL/Dozen (dzn)
ifneq (,$(filter $(DEB_HOST_ARCH), $(WSL_ARCHS)))
install -m755 -d debian/mesa-vulkan-drivers/usr/bin
mv debian/tmp/usr/bin/spirv2dxil \
debian/mesa-vulkan-drivers/usr/bin
install -m755 -d debian/mesa-vulkan-drivers/usr/lib/${DEB_HOST_MULTIARCH}/
mv debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/libspirv_to_dxil.* \
debian/mesa-vulkan-drivers/usr/lib/${DEB_HOST_MULTIARCH}/
endif
dh_install -a
# Install bug control and script: