29 lines
980 B
Bash
29 lines
980 B
Bash
|
# Template file for 'qt6-3d'
|
||
|
pkgname=qt6-3d
|
||
|
version=6.1.0
|
||
|
revision=1
|
||
|
wrksrc="qt3d-everywhere-src-${version}"
|
||
|
build_style=cmake
|
||
|
configure_args="-DQT_HOST_PATH=/usr"
|
||
|
hostmakedepends="perl qt6-declarative-devel"
|
||
|
makedepends="qt6-declarative-devel qt6-shadertools-devel libassimp-devel
|
||
|
libatomic-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=af48f674883de91a5bcb11caefda0e130b9c8c65dce474c47550dc2fdd3a5660
|
||
|
|
||
|
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"
|
||
|
}
|
||
|
}
|