-
Notifications
You must be signed in to change notification settings - Fork 8
/
org.electrum.electrum.json
91 lines (91 loc) · 3.2 KB
/
org.electrum.electrum.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
{
"id": "org.electrum.electrum",
"sdk": "org.kde.Sdk",
"runtime": "org.kde.Platform",
"runtime-version": "5.15-23.08",
"base": "com.riverbankcomputing.PyQt.BaseApp",
"base-version": "5.15-23.08",
"command": "electrum",
"finish-args": [
"--socket=x11",
"--env=QT_QPA_PLATFORM=xcb",
"--socket=pulseaudio",
"--persist=.electrum",
"--device=all",
"--share=ipc",
"--share=network"
],
"build-options": {
"env": {
"BASEAPP_REMOVE_WEBENGINE": "1"
}
},
"cleanup": [
"/include",
"/share/man/man1"
],
"cleanup-commands": [
"/app/cleanup-BaseApp.sh"
],
"modules": [
"shared-modules/libusb/libusb.json",
"libsecp256k1.json",
{
"name": "zbar",
"buildsystem": "autotools",
"config-opts": [
"--disable-doc",
"--disable-video",
"--enable-codes=qrcode",
"--with-python=python3",
"--without-dbus",
"--without-gtk",
"--without-imagemagick",
"--without-java",
"--without-npapi",
"--without-qt",
"--without-qt5",
"--without-xshm",
"--without-xv"
],
"sources": [
{
"type": "archive",
"url": "https://www.linuxtv.org/downloads/zbar/zbar-0.23.90.tar.gz",
"sha256": "ff857dd7e3dbe043dac3765b5182c91dfd0477800713a75d15287d797cee60fa"
},
{
"type": "patch",
"path": "patches/py311.patch"
}
]
},
"python3-requirements-binaries.json",
"python3-requirements.json",
"python3-requirements-hw.json",
"python3-jsonpatch.json",
{
"name": "electrum",
"buildsystem": "simple",
"build-commands": [
"pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} .[full]",
"install -Dp -m 644 org.electrum.electrum.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
"install -Dp -m 644 electrum/gui/icons/electrum.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
"install -Dp -m 644 electrum.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 /app/share/applications/${FLATPAK_ID}.desktop"
],
"sources": [
{
"type": "archive",
"url": "https://download.electrum.org/4.5.4/Electrum-4.5.4.tar.gz",
"sha256": "943bb05e13a371b0b1f31fe82288a0ae4943c026e19f5b6b7f99437ff5ffd507"
},
{
"type": "file",
"path": "org.electrum.electrum.metainfo.xml"
}
]
}
]
}