void-packages/srcpkgs/qt6-quicktimeline/template

30 lines
909 B
Bash

# Template file for 'qt6-quicktimeline'
pkgname=qt6-quicktimeline
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="perl qt6-base qt6-declarative-host-tools"
makedepends="qt6-base-devel qt6-declarative-devel"
short_desc="Cross-platform application and UI framework - quicktimeline"
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/rc/-rc}/submodules/qtquicktimeline-everywhere-src-${version/rc/-rc}.tar.xz"
checksum=079e51d4572aed992731628b269f9c3f9c61a6c379bae6c354c949a6d89bb590
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args="-DQT_BUILD_TESTS=ON"
fi
pre_check() {
export QML2_IMPORT_PATH="$wrksrc/build/lib${XBPS_TARGET_WORDSIZE}/qt6/qml"
}
post_install() {
rm -rf ${DESTDIR}/usr/tests
}
do_check() {
: # ignores QML2_IMPORT_PATH somewhere, misses test data in cwd
}