2021-05-01 11:01:48 +02:00
|
|
|
# Template file for 'qt6-scxml'
|
|
|
|
pkgname=qt6-scxml
|
2021-06-07 17:53:56 +02:00
|
|
|
version=6.1.1
|
2021-05-01 11:01:48 +02:00
|
|
|
revision=1
|
|
|
|
wrksrc="qtscxml-everywhere-src-${version}"
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DQT_HOST_PATH=/usr"
|
|
|
|
hostmakedepends="perl qt6-declarative-devel"
|
|
|
|
makedepends="qt6-declarative-devel"
|
|
|
|
short_desc="Cross-platform application and UI framework - scxml"
|
|
|
|
maintainer="John <me@johnnynator.dev>"
|
|
|
|
license="LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only"
|
|
|
|
homepage="https://qt.io/"
|
|
|
|
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtscxml-everywhere-src-${version}.tar.xz"
|
2021-06-07 17:53:56 +02:00
|
|
|
checksum=ffeb650458bb60bb076ac3460588f77f7c841b4f4b1de706960b9b34984dc528
|
|
|
|
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
|
|
configure_args+=" -DQT_BUILD_TESTS=ON"
|
|
|
|
fi
|
2021-05-01 11:01:48 +02:00
|
|
|
|
|
|
|
qt6-scxml-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/qt6/mkspecs
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.prl"
|
|
|
|
}
|
|
|
|
}
|