From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/qt5-qtscript/qt5-qtscript.xibuild | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 repo/qt5-qtscript/qt5-qtscript.xibuild (limited to 'repo/qt5-qtscript/qt5-qtscript.xibuild') 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 +} + -- cgit v1.2.1