Commit 9141cb56 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

testing/qt6-qt3d: new aport

parent 297956a2
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qt3d
pkgver=6.1.0
pkgrel=0
pkgdesc="C++ and QML APIs for easy inclusion of 3D graphics"
url="https://qt.io"
arch="all"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
depends_dev="
qt6-qtbase-dev
qt6-qtdeclarative-dev
qt6-qtshadertools-dev
"
makedepends="$depends_dev
cmake
perl
"
subpackages="$pkgname-dev"
options="!check" # No tests
builddir="$srcdir/qt3d-everywhere-src-${pkgver/_/-}"
case $pkgver in
*_alpha*|*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qt3d-everywhere-src-${pkgver/_/-}.tar.xz"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINPUT_qt3d_assimp=system
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
dd4fe390cf4ba1a13fb99e39596c895ee809fa8926f72948d41e7357a40742fdccd08d98d782cc30d0cae2c54ee4b9fae92cb4eecb9004669c4422c2b03725eb qt3d-everywhere-src-6.1.0.tar.xz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment