void-packages/srcpkgs/qt6-quicktimeline/template
2021-10-03 15:25:01 +02:00

27 lines
936 B
Bash

# Template file for 'qt6-quicktimeline'
pkgname=qt6-quicktimeline
version=6.2.0
revision=1
wrksrc="qtquicktimeline-everywhere-src-${version/rc/-rc}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr "
hostmakedepends="perl qt6-base-devel qt6-declarative-devel"
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=67d644ad12df94e937bac3a1cb8a81a96213ec0102759a86c59ba7834ac90c8c
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DQT_BUILD_TESTS=ON"
fi
pre_check() {
export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml"
}
do_check() {
: # ignores QML2_IMPORT_PATH somewhere, misses test data in cwd
}