38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'qt6-scxml'
|
|
pkgname=qt6-scxml
|
|
version=6.4.0
|
|
revision=1
|
|
build_style=cmake
|
|
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"
|
|
checksum=d40773a5e6594829aca99ccc73aba3559f93301ea081ffb78668a9b616d97664
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args="-DQT_FORCE_BUILD_TOOLS=true"
|
|
hostmakedepends+=" qt6-scxml-devel"
|
|
fi
|
|
|
|
pre_check() {
|
|
export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml"
|
|
}
|
|
|
|
qt6-scxml-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/metatypes
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/qt6/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.prl"
|
|
vmove usr/share/qt6/modules
|
|
}
|
|
}
|