From 622cdae575528f1fbba8261527ee50caea0a0215 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 26 Jun 2021 12:23:48 +0200 Subject: [PATCH] New package: qt6-websockets-6.2.1 --- common/shlibs | 2 ++ srcpkgs/qt6-websockets-devel | 1 + srcpkgs/qt6-websockets/template | 27 +++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/qt6-websockets-devel create mode 100644 srcpkgs/qt6-websockets/template diff --git a/common/shlibs b/common/shlibs index 7e95fce39f7..45e8aa46e3a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2052,6 +2052,8 @@ libQt6Help.so.6 qt6-tools-6.1.0_1 libQt6UiTools.so.6 qt6-tools-6.1.0_1 libQt6HunspellInputMethod.so.6 qt6-virtualkeyboard-6.1.0_1 libQt6VirtualKeyboard.so.6 qt6-virtualkeyboard-6.1.0_1 +libQt6SerialPort.so.6 qt6-serialport-6.2.0alpha_1 +libQt6WebSockets.so.6 qt6-websockets-6.2.0alpha_1 libnpth.so.0 npth-1.1_1 libnpupnp.so.4 libnpupnp-4.0.2_1 libglfw.so.3 glfw-3.0.4_1 diff --git a/srcpkgs/qt6-websockets-devel b/srcpkgs/qt6-websockets-devel new file mode 120000 index 00000000000..a3c674e4295 --- /dev/null +++ b/srcpkgs/qt6-websockets-devel @@ -0,0 +1 @@ +qt6-websockets \ No newline at end of file diff --git a/srcpkgs/qt6-websockets/template b/srcpkgs/qt6-websockets/template new file mode 100644 index 00000000000..71bedf3123a --- /dev/null +++ b/srcpkgs/qt6-websockets/template @@ -0,0 +1,27 @@ +# Template file for 'qt6-websockets' +pkgname=qt6-websockets +version=6.2.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" +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=23344e21e96a839697abed7bf7931a8c08a752f08bf25edf240748501aba3816 + +qt6-websockets-devel_package() { + depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/qt6/mkspecs + vmove "usr/lib/*.so" + vmove "usr/lib/*.prl" + } +}