aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2023-11-06 13:20:50 +0200
committerBart Ribbers <bribbers@disroot.org>2023-11-06 12:32:41 +0000
commite0f29a70d75626eeb24e2d6cce7b97f557fc2fd0 (patch)
tree37c8375bd66baee10e3018bac4083c1c502c1a90
parent72769b55ca5844bd1eff5cefd2636861831f95dd (diff)
community/qt[56]-qtwebsockets: split out libs
Allow using qtwebsockets without qml. The QML plugin pull all of QML so allowing to this package without QML will reduce footprint significantly on such installs.
-rw-r--r--community/qt5-qtwebsockets/APKBUILD4
-rw-r--r--community/qt6-qtwebsockets/APKBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/community/qt5-qtwebsockets/APKBUILD b/community/qt5-qtwebsockets/APKBUILD
index 6dcb3ae61bc..93653c8b1dc 100644
--- a/community/qt5-qtwebsockets/APKBUILD
+++ b/community/qt5-qtwebsockets/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtwebsockets
pkgver=5.15.10_git20230612
-pkgrel=0
+pkgrel=1
_module="${pkgname#qt5-}"
_pkgver=89fbe461e7091ae6a4689b7791293a06c9167776
_fullname=$_module-$_pkgver
@@ -14,7 +14,7 @@ makedepends="
qt5-qtbase-dev
qt5-qtdeclarative-dev
"
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-libs"
replaces="qt5-websockets"
options="!check" # No tests
diff --git a/community/qt6-qtwebsockets/APKBUILD b/community/qt6-qtwebsockets/APKBUILD
index 02ef7e4450c..2dd3f7840c8 100644
--- a/community/qt6-qtwebsockets/APKBUILD
+++ b/community/qt6-qtwebsockets/APKBUILD
@@ -5,7 +5,7 @@
# group=qt6
pkgname=qt6-qtwebsockets
pkgver=6.6.0
-pkgrel=0
+pkgrel=1
pkgdesc="Provides WebSocket communication compliant with RFC 6455"
url="https://qt.io/"
arch="all"
@@ -19,7 +19,7 @@ makedepends="$depends_dev
perl
samurai
"
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-libs"
builddir="$srcdir/qtwebsockets-everywhere-src-${pkgver/_/-}"
case $pkgver in
@@ -53,6 +53,7 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
}
+
sha512sums="
c679be915ed3831778d527d29a8a7277cdfe3912dbfd3d813750006c41c9433786122306db658bb5c1c22e22da9cdc339794b53c4f6c36d4603e98ddff60f0ef qtwebsockets-everywhere-src-6.6.0.tar.xz
"