qt6-websockets: update to 6.3.1.

This commit is contained in:
Đoàn Trần Công Danh 2022-08-08 17:13:10 +07:00
parent f581f3531f
commit 799242c0cc
2 changed files with 18 additions and 3 deletions

View 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)

View file

@ -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 <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"
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
}
}