diff --git a/srcpkgs/qt6-charts/patches/no-cmake-test.patch b/srcpkgs/qt6-charts/patches/no-cmake-test.patch new file mode 100644 index 00000000000..6886282972c --- /dev/null +++ b/srcpkgs/qt6-charts/patches/no-cmake-test.patch @@ -0,0 +1,10 @@ +--- a/tests/auto/CMakeLists.txt ++++ b/tests/auto/CMakeLists.txt +@@ -23,7 +23,6 @@ add_subdirectory(qcategoryaxis) + add_subdirectory(qbarcategoryaxis) + add_subdirectory(qlegend) + add_subdirectory(qareaseries) +-add_subdirectory(cmake) + add_subdirectory(qcandlestickmodelmapper) + add_subdirectory(qcandlestickseries) + add_subdirectory(qcandlestickset) diff --git a/srcpkgs/qt6-charts/template b/srcpkgs/qt6-charts/template index 79cb8a22040..ed0a714a5df 100644 --- a/srcpkgs/qt6-charts/template +++ b/srcpkgs/qt6-charts/template @@ -1,10 +1,9 @@ # Template file for 'qt6-charts' pkgname=qt6-charts -version=6.3.0 +version=6.3.1 revision=1 wrksrc="qtcharts-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 - charts" @@ -12,7 +11,11 @@ maintainer="John " license="GPL-3.0-only" homepage="https://qt.io/" distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtcharts-everywhere-src-${version}.tar.xz" -checksum=672762c5f641ccc88a30aeedefb63f03c0f837649b334f46eea57592e87e36cd +checksum=f330cc2328729104d79b2088990ce0840f2da89d9d989360d4c352e797d27cf7 + +pre_check() { + export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" +} qt6-charts-devel_package() { depends="${sourcepkg}>=${version}_${revision}" @@ -20,8 +23,11 @@ qt6-charts-devel_package() { 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 } }