summaryrefslogtreecommitdiff
path: root/repo/qt5-qtscript/qt5-qtscript.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/qt5-qtscript/qt5-qtscript.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/qt5-qtscript/qt5-qtscript.xibuild')
-rw-r--r--repo/qt5-qtscript/qt5-qtscript.xibuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/repo/qt5-qtscript/qt5-qtscript.xibuild b/repo/qt5-qtscript/qt5-qtscript.xibuild
new file mode 100644
index 0000000..00cd115
--- /dev/null
+++ b/repo/qt5-qtscript/qt5-qtscript.xibuild
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+NAME="qt5-qtscript"
+DESC="Qt5 - QtScript component"
+
+MAKEDEPS="qt5-qtbase linux-headers"
+
+PKG_VER=5.15.3_git20210316
+_commit="5cec94b2c1503f106f4ef4778d016410ebb86211"
+SOURCE="https://invent.kde.org/qt/qt/qtscript/-/archive/$_commit/qtscript-$_commit.tar.gz"
+
+ADDITIONAL="
+qtscript-everywhere-src-5.10.1-sgidefs.patch
+qtscript-s390x.patch
+"
+
+prepare() {
+ apply_patches
+ mkdir .git
+}
+
+build() {
+ qmake-qt5
+ make
+}
+
+package() {
+ make INSTALL_ROOT="$PKG_DEST" install
+
+ 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-qtscript
+}
+