mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
qt6-websockets: update to 6.3.1.
This commit is contained in:
parent
f581f3531f
commit
799242c0cc
2 changed files with 18 additions and 3 deletions
7
srcpkgs/qt6-websockets/patches/no-cmake-test.patch
Normal file
7
srcpkgs/qt6-websockets/patches/no-cmake-test.patch
Normal file
|
@ -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)
|
|
@ -1,18 +1,23 @@
|
||||||
# Template file for 'qt6-websockets'
|
# Template file for 'qt6-websockets'
|
||||||
pkgname=qt6-websockets
|
pkgname=qt6-websockets
|
||||||
version=6.3.0
|
version=6.3.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="qtwebsockets-everywhere-src-${version}"
|
wrksrc="qtwebsockets-everywhere-src-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DQT_HOST_PATH=/usr"
|
|
||||||
hostmakedepends="perl qt6-base-devel qt6-declarative-devel"
|
hostmakedepends="perl qt6-base-devel qt6-declarative-devel"
|
||||||
makedepends="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"
|
short_desc="Cross-platform application and UI framework - websockets"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
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"
|
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/"
|
homepage="https://qt.io/"
|
||||||
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebsockets-everywhere-src-${version}.tar.xz"
|
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() {
|
qt6-websockets-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
|
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
|
||||||
|
@ -20,8 +25,11 @@ qt6-websockets-devel_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/cmake
|
vmove usr/lib/cmake
|
||||||
|
vmove usr/lib/metatypes
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/lib/qt6/mkspecs
|
vmove usr/lib/qt6/mkspecs
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove "usr/lib/*.prl"
|
vmove "usr/lib/*.prl"
|
||||||
|
vmove usr/share/qt6/modules
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue