qt6_shadertools: bump version

This commit is contained in:
Gerasim Troeglazov
2023-05-14 11:50:31 +10:00
parent 36c42da19c
commit dbd3aef4a1

View File

@@ -3,13 +3,13 @@ DESCRIPTION="The Qt Shader Tools module builds on the SPIR-V Open Source Ecosyst
at the Khronos SPIR-V web site. For compiling into SPIR-V glslang is used, while translating \
and reflecting is done via SPIRV-Cross."
HOMEPAGE="https://qt.io/"
COPYRIGHT="2015-2022 The Qt Company Ltd."
COPYRIGHT="2015-2023 The Qt Company Ltd."
LICENSE="GNU LGPL v2.1
GNU LGPL v3
GNU FDL v1"
REVISION="2"
REVISION="1"
SOURCE_URI="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/submodules/qtshadertools-everywhere-src-$portVersion.tar.xz"
CHECKSUM_SHA256="dbd6a5f00e8178cd2fea7e84c4eef3818de5287d34e20a68383929c754ae3b90"
CHECKSUM_SHA256="86618d037f3071f1f7ac5eb7ab76ae4e6f51cfddded0a402bb9aa7f3f79f5775"
SOURCE_DIR="qtshadertools-everywhere-src-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -66,23 +66,29 @@ BUILD()
find -name cmake_install.cmake -exec sed -i "s|set(CMAKE_INSTALL_PREFIX.*|set(CMAKE_INSTALL_PREFIX \"$prefix\")|" {} \;
ninja -C build $jobArgs
ninja -v -C build $jobArgs
}
INSTALL()
{
ninja -C build install
prepareInstalledDevelLib libQt6ShaderTools
prepareInstalledDevelLib \
libQt6ShaderTools
# fix pkgconfig files
fixPkgconfig
sed -i "s|includedir=.*|includedir=$includeDir/Qt6|" \
$developLibDir/pkgconfig/*.pc
mkdir -p $binDir
ln -s -t $binDir $libDir/Qt6/qsb
cd $libDir
for i in lib*.so.6.*;do
ln -fs $i $(echo $i | cut -f1,2 -d.)
done
mkdir -p $binDir
ln -s -t $binDir $libDir/Qt6/qsb
packageEntries devel \
$developDir \
$libDir/cmake \