summaryrefslogtreecommitdiff
path: root/repo/monero-gui/monero-gui.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/monero-gui/monero-gui.xibuild
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'repo/monero-gui/monero-gui.xibuild')
-rw-r--r--repo/monero-gui/monero-gui.xibuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/repo/monero-gui/monero-gui.xibuild b/repo/monero-gui/monero-gui.xibuild
new file mode 100644
index 0000000..8cb1dd9
--- /dev/null
+++ b/repo/monero-gui/monero-gui.xibuild
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+NAME="monero-gui"
+DESC="QT GUI wallet for Monero: the secure, private, untraceable peer-to-peer currency"
+
+MAKEDEPS="cmake monero git qt5-qtquickcontrols2 qt5-qtdeclarative qt5-qtbase qt5-qtsvg libgpg-error"
+DEPS="musl "
+
+PKG_VER=musl
+SOURCE="https://github.com/monero-project/monero-gui"
+ADDITIONAL="
+easylogging.patch
+monero-gui.desktop
+monero-gui.xibuild
+system-miniupnpc.patch
+version-string.patch
+"
+
+prepare () {
+ git submodule update --init --force --recursive
+ cp *.patch monero/
+ cd monero
+ apply_patches
+ cd $BUILD_ROOT
+}
+
+build () {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DARCH=default \
+ -DWITH_DESKTOP_ENTRY=OFF \
+ -DSTACK_TRACE=OFF \
+ .
+ cmake --build build
+}
+
+package () {
+ install -Dm755 build/bin/monero-wallet-gui "${PKG_DEST}/usr/bin/monero-wallet-gui"
+
+ install -Dm644 monero-gui.desktop "${PKG_DEST}/usr/share/applications"
+ for x in 16 24 32 48 64 96 128 256; do
+ install -Dm644 "images/appicons/${x}x${x}.png" "${PKG_DEST}/usr/share/icons/hicolor/${x}x${x}/apps/monero-gui.png"
+ done
+}