void-packages/srcpkgs/qt6-quicktimeline/template

30 lines
925 B
Bash

# Template file for 'qt6-quicktimeline'
pkgname=qt6-quicktimeline
version=6.7.2
revision=1
build_style=cmake
hostmakedepends="perl qt6-base qt6-declarative-host-tools"
makedepends="qt6-base-private-devel qt6-declarative-private-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=21eddea01cf095cede10362eea4fb8402ffd06868c88d50a757c8c1f6b0719eb
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
}