diff options
author | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
commit | f6332a43c35387c4a2dea1746be5fd092890ae0e (patch) | |
tree | d6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/qt5-qtwebchannel | |
parent | f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff) |
added lf and iptables
Diffstat (limited to 'repo/qt5-qtwebchannel')
-rw-r--r-- | repo/qt5-qtwebchannel/qt5-qtwebchannel.xibuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/qt5-qtwebchannel/qt5-qtwebchannel.xibuild b/repo/qt5-qtwebchannel/qt5-qtwebchannel.xibuild new file mode 100644 index 0000000..38a023f --- /dev/null +++ b/repo/qt5-qtwebchannel/qt5-qtwebchannel.xibuild @@ -0,0 +1,34 @@ +#!/bin/sh + +NAME="qt5-qtwebchannel" +DESC="library for seamless integration of C++ +and QML applications with HTML/JavaScript clients." + +MAKEDEPS="qt5-qtbase qt5-qtwebsockets qt5-qtdeclarative" + +PKG_VER=5.15.3_git20201028 +_commit="47be9a51b01d9fd9e7f6dca81e98d4eedcec6d38" +SOURCE="https://invent.kde.org/qt/qt/qtwebchannel/-/archive/$_commit/qtwebchannel-$_commit.tar.gz" + +prepare() { + apply_patches + + # We need to make the build system think we're running in a git repository + # so it correctly symlinks during the build + 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-qtwebchannel +} |