From d1fc3393cca72e8e432f827f7624e38734fad6dc Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 9 Jun 2022 14:35:52 +0100 Subject: moved firmware to separate pacakges --- repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild (limited to 'repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild') diff --git a/repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild b/repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild new file mode 100644 index 0000000..2cd8a2a --- /dev/null +++ b/repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild @@ -0,0 +1,35 @@ +#!/bin/sh + +NAME="qt5-qtxmlpatterns" +DESC="Qt5 - QtXmlPatterns component" + +MAKEDEPS=" qt5-qtbase qt5-qtdeclarative" + +PKG_VER=5.15.3_git20201028 +_commit="189e28d0aff1f3d7960228ba318b83e3cadac98c" +SOURCE="https://invent.kde.org/qt/qt/qtxmlpatterns/-/archive/$_commit/qtxmlpatterns-$_commit.tar.gz" + +prepare() { + mkdir .git +} + +build() { + qmake-qt5 + make +} + +check() { + make check +} + +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-qtxmlpatterns +} + -- cgit v1.2.1