summaryrefslogtreecommitdiff
path: root/repo/qt5-qtwebsockets/qt5-qtwebsockets.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
committerdavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
commitf6332a43c35387c4a2dea1746be5fd092890ae0e (patch)
treed6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/qt5-qtwebsockets/qt5-qtwebsockets.xibuild
parentf13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff)
added lf and iptables
Diffstat (limited to 'repo/qt5-qtwebsockets/qt5-qtwebsockets.xibuild')
-rw-r--r--repo/qt5-qtwebsockets/qt5-qtwebsockets.xibuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/qt5-qtwebsockets/qt5-qtwebsockets.xibuild b/repo/qt5-qtwebsockets/qt5-qtwebsockets.xibuild
new file mode 100644
index 0000000..ce49be0
--- /dev/null
+++ b/repo/qt5-qtwebsockets/qt5-qtwebsockets.xibuild
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME="qt5-qtwebsockets"
+DESC="Provides WebSocket communication compliant with RFC 6455"
+
+MAKEDEPS=" qt5-qtbase qt5-qtdeclarative"
+
+PKG_VER=5.15.3_git20201221
+_commit="e7883bc64440b1ff4666272ac6eb710ee4bc221b"
+SOURCE="https://invent.kde.org/qt/qt/qtwebsockets/-/archive/$_commit/qtwebsockets-$_commit.tar.gz"
+
+prepare() {
+ mkdir .git
+}
+
+build() {
+ qmake-qt5
+ make
+}
+
+package() {
+ make INSTALL_ROOT="$PKG_DEST" install
+
+ # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+ find "$PKG_DEST/usr/lib" -type f -name '*.prl' \
+ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+ install -d "$PKG_DEST"/usr/share/licenses
+ ln -s /usr/share/licenses/qt5-base "$PKG_DEST"/usr/share/licenses/qt5-qtwebsockets
+}
+