diff --git a/srcpkgs/qt6-scxml-tools b/srcpkgs/qt6-scxml-tools new file mode 120000 index 00000000000..cd3032d5ed0 --- /dev/null +++ b/srcpkgs/qt6-scxml-tools @@ -0,0 +1 @@ +qt6-scxml \ No newline at end of file diff --git a/srcpkgs/qt6-scxml/template b/srcpkgs/qt6-scxml/template index 89eee1b06d0..0e53ba7cf50 100644 --- a/srcpkgs/qt6-scxml/template +++ b/srcpkgs/qt6-scxml/template @@ -1,28 +1,42 @@ # Template file for 'qt6-scxml' pkgname=qt6-scxml -version=6.4.0 +version=6.4.2 revision=1 build_style=cmake -hostmakedepends="perl qt6-declarative-devel" +hostmakedepends="perl qt6-declarative-host-tools" makedepends="qt6-declarative-devel" short_desc="Cross-platform application and UI framework - scxml" maintainer="John " 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 +checksum=13b0d43459394bed2481967a1feff02b63228a82c1136a62941c0eb83ef54e7f +subpackages="qt6-scxml-tools qt6-scxml-devel" if [ "$CROSS_BUILD" ]; then configure_args="-DQT_FORCE_BUILD_TOOLS=true" - hostmakedepends+=" qt6-scxml-devel" + hostmakedepends+=" qt6-scxml-tools" fi pre_check() { export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" } -qt6-scxml-devel_package() { +post_install() { + rm -rf ${DESTDIR}/usr/tests +} + +qt6-scxml-tools_package() { depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - Tools" + pkg_install() { + vmove usr/lib/qt6/libexec + vmove "usr/lib/cmake/*Tools" + } +} + +qt6-scxml-devel_package() { + depends="qt6-scxml-tools>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include