void-packages/srcpkgs/qt6-quicktimeline/template

30 lines
886 B
Bash

# Template file for 'qt6-quicktimeline'
pkgname=qt6-quicktimeline
version=6.5.2
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=c945ae905dc1542967c7f9bea826022235bc179c2ed59142c029336c03f015ba
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args="-DQT_BUILD_TESTS=ON"
fi
pre_check() {
export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml"
}
post_install() {
rm -rf ${DESTDIR}/usr/tests
}
do_check() {
: # ignores QML2_IMPORT_PATH somewhere, misses test data in cwd
}