summaryrefslogtreecommitdiff
path: root/repo/qt5-qtquickcontrols
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
committerdavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
commitd1fc3393cca72e8e432f827f7624e38734fad6dc (patch)
tree7b971fbfc203ff017ad78852476bfcccee170971 /repo/qt5-qtquickcontrols
parentccc722b7ed330198d82a3cf28ead76d6d107a70a (diff)
moved firmware to separate pacakges
Diffstat (limited to 'repo/qt5-qtquickcontrols')
-rw-r--r--repo/qt5-qtquickcontrols/qt5-qtquickcontrols.xibuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/repo/qt5-qtquickcontrols/qt5-qtquickcontrols.xibuild b/repo/qt5-qtquickcontrols/qt5-qtquickcontrols.xibuild
new file mode 100644
index 0000000..14009d4
--- /dev/null
+++ b/repo/qt5-qtquickcontrols/qt5-qtquickcontrols.xibuild
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+NAME="qt5-qtquickcontrols"
+DESC="Qt5 - module with set of QtQuick controls"
+
+MAKEDEPS="qt5-qtbase qt5-qtdeclarative"
+
+PKG_VER=5.15.3_git20201110
+_commit="cf3f6d7fec824cdf01f9b329ab3b92b1c0e0a420"
+SOURCE="https://invent.kde.org/qt/qt/qtquickcontrols/-/archive/$_commit/qtquickcontrols-$_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-qtquickcontrols
+}
+