-
Notifications
You must be signed in to change notification settings - Fork 1
/
org.dash.electrum.electrum_dash.json
94 lines (94 loc) · 3.28 KB
/
org.dash.electrum.electrum_dash.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"id": "org.dash.electrum.electrum_dash",
"sdk": "org.kde.Sdk",
"runtime": "org.kde.Platform",
"runtime-version": "5.15-21.08",
"command": "electrum-dash",
"finish-args": [
/* Xorg support */
"--socket=x11",
"--env=QT_QPA_PLATFORM=xcb",
/* Sound */
"--socket=pulseaudio",
/* Persistent storage */
"--persist=.electrum-dash",
/* OpenGL access and QR scanner. */
"--device=all",
"--share=ipc",
/* Network acess. */
"--share=network"
],
"cleanup": [
"/include",
"/lib/debug",
"/share/man/man1"
],
"modules": [
"shared-modules/libusb/libusb.json",
"libsecp256k1.json",
{
"name": "zbar",
"config-opts": [
"--without-qt",
"--without-qt5",
"--without-gtk",
"--without-xv",
"--without-imagemagick",
"--without-dbus",
"--without-java",
"--without-npapi",
"--without-xshm",
"--with-python=python3",
"--disable-doc",
"--enable-codes=qrcode",
"--with-python_prefix=\"${FLATPAK_DEST}\"",
"--with-python_exe_prefix=\"${FLATPAK_DEST}\""
],
"sources": [
{
"type": "git",
"url": "https://git.linuxtv.org/zbar.git",
"tag": "0.23.92"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -vfi -W none"
]
}
]
},
"python3-requirements-binaries.json",
"python3-requirements.json",
"python3-requirements-hw.json",
"python3-x11-hash.json",
{
"name": "electrum-dash",
"buildsystem": "simple",
"build-commands": [
"pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} .[full]",
"install -Dp -m 644 org.dash.electrum.electrum_dash.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
"install -Dp -m 644 electrum_dash/gui/icons/electrum-dash.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
"install -Dp -m 644 electrum-dash.desktop /app/share/applications/${FLATPAK_ID}.desktop",
"desktop-file-edit --set-key=\"Icon\" --set-value=${FLATPAK_ID} /app/share/applications/${FLATPAK_ID}.desktop",
"desktop-file-edit --set-key=\"Exec\" --set-value=electrum-dash /app/share/applications/${FLATPAK_ID}.desktop"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/akhavr/electrum-dash/releases/download/4.1.5.2/Dash-Electrum-4.1.5.2.tar.gz",
"sha256": "311fffebbe336f0d735012f7b230b6174929c8a555c2891dff0b9b458451d195"
},
{
"type": "patch",
"path": "electrum-dash-setup.patch"
},
{
"type": "file",
"path": "org.dash.electrum.electrum_dash.metainfo.xml"
}
]
}
]
}