diff options
Diffstat (limited to 'graphics/vulkan-sdk/vulkan-sdk.SlackBuild')
-rw-r--r-- | graphics/vulkan-sdk/vulkan-sdk.SlackBuild | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/vulkan-sdk/vulkan-sdk.SlackBuild b/graphics/vulkan-sdk/vulkan-sdk.SlackBuild index 5d5d742ae8bbb..86909bc79fa6c 100644 --- a/graphics/vulkan-sdk/vulkan-sdk.SlackBuild +++ b/graphics/vulkan-sdk/vulkan-sdk.SlackBuild @@ -25,8 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vulkan-sdk -VERSION=${VERSION:-1.2.154.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.2.162.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -141,16 +141,11 @@ chdir Vulkan-ValidationLayers-sdk-$VERSION # Require an older cmake version. sed -i 's/3.10.2/3.5.2/' CMakeLists.txt -# Disable hardcoded errors -patch -p1 < $CWD/vulkan-validationlayers-cmake.patch - -# Install into the vulkan directory to avoid conflicts -patch -p1 < $CWD/vulkan-validationlayers-support.patch - cmake_build \ -DCMAKE_INSTALL_DATADIR=share \ -DBUILD_LAYER_SUPPORT_FILES=ON \ -DBUILD_TESTS=OFF \ + -DBUILD_WERROR=OFF \ -DBUILD_WSI_XCB_SUPPORT=ON \ -DBUILD_WSI_XLIB_SUPPORT=ON \ -DBUILD_WSI_WAYLAND_SUPPORT=OFF \ @@ -170,9 +165,6 @@ chdir VulkanTools-sdk-$VERSION python3 ./amalgamate.py ) -# Update the include path -patch -p1 < $CWD/vulkantools-support.patch - # Require an older cmake version. find . -type f -name CMakeLists.txt | xargs grep -l '3\.10\.2' | xargs sed -i 's/3.10.2/3.5.2/' @@ -193,13 +185,14 @@ cmake_build \ chdir gfxreconstruct-sdk-$VERSION -# Disable hardcoded errors -sed -i '/-Werror/d' CMakeLists.txt +# Require an older cmake version. +sed -i 's/3.10.2/3.5.2/' CMakeLists.txt # cmake 3.5.2 does not have FILTER for the list command sed -i '/generate_target_source_files(/d' cmake/CodeStyle.cmake cmake_build \ + -DBUILD_WERROR=OFF \ -DVULKAN_HEADER=/usr/include/vulkan cd -- "$SRC" |