35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'qt6-quick3d'
|
|
pkgname=qt6-quick3d
|
|
version=6.1.1
|
|
revision=1
|
|
wrksrc="qtquick3d-everywhere-src-${version}"
|
|
build_style=cmake
|
|
configure_args="-DQT_HOST_PATH=/usr "
|
|
hostmakedepends="perl qt6-base-devel qt6-declarative-devel qt6-shadertools-devel"
|
|
makedepends="qt6-base-devel qt6-declarative-devel qt6-shadertools-devel
|
|
libassimp-devel"
|
|
short_desc="Cross-platform application and UI framework - Quick3d"
|
|
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/qtquick3d-everywhere-src-${version}.tar.xz"
|
|
checksum=94b45ae9d08495d701cfb586f1f85b12a1a10f8c29865de0d427a2366ae4507c
|
|
|
|
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/qt6/mkspecs
|
|
vmove usr/lib/qt6/bin
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.prl"
|
|
}
|
|
}
|