diff options
Diffstat (limited to 'graphics/vulkan-sdk/vulkan-sdk.SlackBuild')
-rw-r--r-- | graphics/vulkan-sdk/vulkan-sdk.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/vulkan-sdk/vulkan-sdk.SlackBuild b/graphics/vulkan-sdk/vulkan-sdk.SlackBuild index bb9cdeeea70d..998834158707 100644 --- a/graphics/vulkan-sdk/vulkan-sdk.SlackBuild +++ b/graphics/vulkan-sdk/vulkan-sdk.SlackBuild @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vulkan-sdk -VERSION=${VERSION:-1.2.131.1} +VERSION=${VERSION:-1.2.131.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -98,10 +98,12 @@ cd $PRGNAM-$VERSION mv SPIRV-Headers-$SPIRV_HEADERS_VERSION spirv-headers ) -tar xvf $CWD/Vulkan-Headers-sdk-$VERSION.tar.gz +OLDVERSION=${OLDVERSION:-1.2.131.1} + +tar xvf $CWD/Vulkan-Headers-sdk-$OLDVERSION.tar.gz tar xvf $CWD/Vulkan-Loader-sdk-$VERSION.tar.gz tar xvf $CWD/Vulkan-ValidationLayers-sdk-$VERSION.tar.gz -tar xvf $CWD/Vulkan-Tools-sdk-$VERSION.tar.gz +tar xvf $CWD/Vulkan-Tools-sdk-$OLDVERSION.tar.gz chown -R root:root . find -L . \ @@ -117,7 +119,7 @@ cmake_build \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_SKIP_RPATH=TRUE -chdir Vulkan-Headers-sdk-$VERSION +chdir Vulkan-Headers-sdk-$OLDVERSION # Require an older cmake version. sed -i 's/3.10.2/3.5.2/' CMakeLists.txt @@ -171,7 +173,7 @@ cmake_build \ -DGLSLANG_INSTALL_DIR=$PKG/usr \ -DVULKAN_HEADERS_INSTALL_DIR=$PKG/usr -chdir Vulkan-Tools-sdk-$VERSION +chdir Vulkan-Tools-sdk-$OLDVERSION # Require an older cmake version. sed -i 's/3.10.2/3.5.2/' CMakeLists.txt |