diff options
author | davidovski <david@davidovski.xyz> | 2022-06-06 21:25:48 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-06 21:25:48 +0000 |
commit | ccc722b7ed330198d82a3cf28ead76d6d107a70a (patch) | |
tree | 7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/qt5-qtquickcontrols2 | |
parent | 9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff) |
added java
Diffstat (limited to 'repo/qt5-qtquickcontrols2')
-rw-r--r-- | repo/qt5-qtquickcontrols2/qt5-qtquickcontrols2.xibuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/qt5-qtquickcontrols2/qt5-qtquickcontrols2.xibuild b/repo/qt5-qtquickcontrols2/qt5-qtquickcontrols2.xibuild new file mode 100644 index 0000000..559e87f --- /dev/null +++ b/repo/qt5-qtquickcontrols2/qt5-qtquickcontrols2.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +NAME="qt5-qtquickcontrols2" +DESC="Qt5 - module with set of QtQuick controls for embedded" + +MAKEDEPS="qt5-qttools qt5-qtbase qt5-qtdeclarative" + +PKG_VER=5.15.3_git20201110 +_commit="a2593ff9cf5d0af885c20c2e9f9faa6ca4f1c1a3" +SOURCE="https://invent.kde.org/qt/qt/qtquickcontrols2/-/archive/$_commit/qtquickcontrols2-$_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-qtquickcontrols2 +} |