qt6-shadertools: update to 6.4.2.

This commit is contained in:
Đoàn Trần Công Danh 2023-02-18 09:39:28 +07:00
parent 87801f4cf9
commit deb1da93ca
3 changed files with 20 additions and 6 deletions

View File

@ -2043,7 +2043,7 @@ libQt6QmlModels.so.6 qt6-declarative-6.0.0_1
libQt6QuickLayouts.so.6 qt6-declarative-6.1.0_1
libQt6QuickParticles.so.6 qt6-declarative-6.0.0_1
libQt6QmlCompiler.so.6 qt6-declarative-6.4.0_1
libQt6ShaderTools.so.6 qt6-shadertools-6.0.0_1
libQt6ShaderTools.so.6 libqt6shadertools-6.4.2_1
libQt6Quick3D.so.6 qt6-quick3d-6.0.0_1
libQt6Quick3DRuntimeRender.so.6 qt6-quick3d-6.0.0_1
libQt6Quick3DUtils.so.6 qt6-quick3d-6.0.0_1

1
srcpkgs/libqt6shadertools Symbolic link
View File

@ -0,0 +1 @@
qt6-shadertools

View File

@ -1,34 +1,47 @@
# Template file for 'qt6-shadertools'
pkgname=qt6-shadertools
version=6.4.0
version=6.4.2
revision=1
build_style=cmake
hostmakedepends="perl qt6-base-devel"
hostmakedepends="perl qt6-base"
makedepends="qt6-base-devel"
depends="libqt6shadertools>=${version}_${revision}"
short_desc="Cross-platform application and UI framework - shadertools"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtshadertools-everywhere-src-${version}.tar.xz"
checksum=dbd6a5f00e8178cd2fea7e84c4eef3818de5287d34e20a68383929c754ae3b90
checksum=fa65bff84d4e9c2cb4cbf6fb098207e0e23d863dbe675eb277034a29c226a217
if [ "$CROSS_BUILD" ]; then
configure_args="-DQT_FORCE_BUILD_TOOLS=true"
hostmakedepends+=" qt6-shadertools-devel"
hostmakedepends+=" qt6-shadertools"
fi
libqt6shadertools_package() {
short_desc+=" - libraries"
pkg_install() {
vmove "usr/lib/libQt6ShaderTools.so.*"
}
}
qt6-shadertools-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
short_desc+=" - development files"
pkg_install() {
local _f
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/metatypes
vmove usr/lib/pkgconfig
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
vmove usr/share/qt6/modules
for _f in ${DESTDIR}/usr/lib/cmake/*; do
case "$_f" in
*ToolsTools) ;;
*) vmove "usr/lib/cmake/${_f##*/}" ;;
esac
done
}
}