diff --git a/srcpkgs/qt6-websockets/patches/test.patch b/srcpkgs/qt6-websockets/patches/test.patch new file mode 100644 index 00000000000..68b5bc57e40 --- /dev/null +++ b/srcpkgs/qt6-websockets/patches/test.patch @@ -0,0 +1,11 @@ +--- a/tests/auto/cmake/CMakeLists.txt 2023-10-03 20:26:29.000000000 +0200 ++++ - 2023-10-13 22:27:12.100304684 +0200 +@@ -13,7 +13,7 @@ + project(websockets_cmake_tests) + enable_testing() + +-set(required_packages Core WebSockets) ++set(required_packages Core) + + # Setup the test when called as a completely standalone project. + if(TARGET Qt6::Core) diff --git a/srcpkgs/qt6-websockets/template b/srcpkgs/qt6-websockets/template index 5566e639115..176315c2877 100644 --- a/srcpkgs/qt6-websockets/template +++ b/srcpkgs/qt6-websockets/template @@ -1,6 +1,6 @@ # Template file for 'qt6-websockets' pkgname=qt6-websockets -version=6.5.2 +version=6.6.0 revision=1 build_style=cmake hostmakedepends="perl qt6-base qt6-declarative-host-tools" @@ -12,10 +12,12 @@ maintainer="John " license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0" homepage="https://qt.io/" distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebsockets-everywhere-src-${version}.tar.xz" -checksum=204bd7b0dffb54c934abc6cf0eb5e3016f11b3c9721a67b4875a6b21bb8b5c76 +checksum=2e05b15c0c6e82c484cf3a4a39a3e3e484a6c8f72bc31ee5cf615d52d07df30e -pre_check() { - export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" +do_check() { + cd build + export QML2_IMPORT_PATH="$wrksrc/build/lib${XBPS_TARGET_WORDSIZE}/qt6/qml" + ctest -E "module_includes" } post_install() {