# Template file for 'qt6-quick3d' pkgname=qt6-quick3d version=6.4.0 revision=1 build_style=cmake hostmakedepends="perl qt6-base-devel qt6-declarative-devel qt6-shadertools-devel" makedepends="qt6-base-devel qt6-declarative-devel qt6-shadertools-devel qt6-quicktimeline libassimp-devel" short_desc="Cross-platform application and UI framework - Quick3d" maintainer="John " license="GPL-3.0-or-later" homepage="https://qt.io/" distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtquick3d-everywhere-src-${version}.tar.xz" checksum=f10a1660d4d4103f0749f258eddce4d4878fa7bbbc5e610a900bef28adf017ec if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt6-quick3d-devel" configure_args="-DQT_FORCE_BUILD_TOOLS=true" fi if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then # possibly a qt6-shadertools bug, actually broken="Shader baking failed: Cannot resolve expression type." fi qt6-quick3d-devel_package() { depends="${sourcepkg}>=${version}_${revision} qt6-base-devel" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/cmake vmove usr/lib/metatypes vmove usr/lib/pkgconfig vmove usr/lib/qt6/bin vmove usr/lib/qt6/mkspecs vmove "usr/lib/*.so" vmove "usr/lib/*.prl" vmove usr/share/qt6/modules } }