void-packages/srcpkgs/qt6-3d/template

27 lines
923 B
Bash

# Template file for 'qt6-3d'
pkgname=qt6-3d
version=6.7.2
revision=1
build_style=cmake
hostmakedepends="perl qt6-declarative-host-tools"
makedepends="qt6-declarative-private-devel qt6-shadertools-devel libassimp-devel
qt6-base-private-devel"
short_desc="Cross-platform application and UI framework - 3d"
maintainer="John <me@johnnynator.dev>"
license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qt3d-everywhere-src-${version}.tar.xz"
checksum=8bc087d904973133186e58471845c5df376bbfdcfcf079fda287e1cda27c8adf
qt6-3d-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
}
}