diff --git a/srcpkgs/qt6-websockets/patches/no-cmake-test.patch b/srcpkgs/qt6-websockets/patches/no-cmake-test.patch new file mode 100644 index 00000000000..8829f9fab1d --- /dev/null +++ b/srcpkgs/qt6-websockets/patches/no-cmake-test.patch @@ -0,0 +1,7 @@ +--- a/tests/auto/CMakeLists.txt ++++ b/tests/auto/CMakeLists.txt +@@ -1,4 +1,3 @@ +-add_subdirectory(cmake) + add_subdirectory(websockets) + if(TARGET Qt::Quick) + add_subdirectory(qml) diff --git a/srcpkgs/qt6-websockets/template b/srcpkgs/qt6-websockets/template index c2e674aacb3..e5753ca88d0 100644 --- a/srcpkgs/qt6-websockets/template +++ b/srcpkgs/qt6-websockets/template @@ -1,18 +1,23 @@ # Template file for 'qt6-websockets' pkgname=qt6-websockets -version=6.3.0 +version=6.3.1 revision=1 wrksrc="qtwebsockets-everywhere-src-${version}" build_style=cmake -configure_args="-DQT_HOST_PATH=/usr" hostmakedepends="perl qt6-base-devel qt6-declarative-devel" makedepends="qt6-base-devel qt6-declarative-devel" +depends="qt6-plugin-tls-openssl" +checkdepends="$depends" short_desc="Cross-platform application and UI framework - websockets" 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=e018a09fe960b7d9560d6bbc9d3ca022fed6566e6ba6fc6d869a97482d4e6361 +checksum=9f980d90c97fcbde1b50c773f6dc580cfdf8c36ce14a1be3aa2ccadfe605121a + +pre_check() { + export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" +} qt6-websockets-devel_package() { depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1" @@ -20,8 +25,11 @@ qt6-websockets-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 } }