-
Notifications
You must be signed in to change notification settings - Fork 4
/
org.getmonero.Monero.yaml
158 lines (147 loc) · 5.48 KB
/
org.getmonero.Monero.yaml
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
app-id: org.getmonero.Monero
runtime: org.kde.Platform
runtime-version: 5.15-23.08
sdk: org.kde.Sdk
finish-args:
- --share=network
- --share=ipc
- --socket=x11
- --socket=wayland
- --device=all
- --filesystem=~/Monero:create
- --persist=.bitmonero
cleanup:
- /include
- /etc
- /share/man
- /lib/pkgconfig
- /lib/cmake
- '*.a'
- '*.la'
command: monero-wallet-gui
modules:
- name: monero-gui
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DWITH_DESKTOP_ENTRY=OFF
- -DWITH_UPDATER=OFF
build-options:
arch:
aarch64:
config-opts:
- -DARCH=armv8-a
- -DBUILD_TAG=linux-armv8
x86_64:
config-opts:
- -DARCH=default
sources:
- type: archive
url: https://downloads.getmonero.org/gui/monero-gui-source-v0.18.3.4.tar.bz2
sha256: 2f1d643bb2cc08e5eb334a6bfd649b0aa95ceb6178ff2f90448d5ef8d2a752a6
x-checker-data:
type: json
url: https://api.github.com/repos/monero-project/monero-gui/releases/latest
version-query: .tag_name
url-query: '"https://downloads.getmonero.org/gui/monero-gui-source-" + $version
+ ".tar.bz2"'
- type: file
path: extra/org.getmonero.Monero.desktop
- type: file
path: extra/org.getmonero.Monero.metainfo.xml
post-install:
- install -Dpm644 org.getmonero.Monero.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
- install -Dpm644 org.getmonero.Monero.metainfo.xml $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml
- for x in 16 24 32 48 64 96 128 256; do install -Dpm644 images/appicons/${x}x${x}.png
$FLATPAK_DEST/share/icons/hicolor/${x}x${x}/apps/$FLATPAK_ID.png; done
modules:
- shared-modules/libusb/libusb.json
- name: boost
buildsystem: simple
build-commands:
- ./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=chrono,date_time,filesystem,locale,program_options,regex,serialization,system,thread
- ./b2 headers
- ./b2 -j$FLATPAK_BUILDER_N_JOBS install variant=release --layout=system
sources:
- type: archive
url: https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.gz
sha256: a5800f405508f5df8114558ca9855d2640a2de8f0445f051fa1c7c3383045724
- name: protobuf
sources:
- type: archive
url: https://github.com/protocolbuffers/protobuf/releases/download/v21.3/protobuf-cpp-3.21.3.tar.gz
sha256: c98a4f17ed57e9e4dafc4a52e76ee012f9a6a13750488b20b4c370a3eb1561fc
- name: libunbound
config-opts:
- --with-libunbound-only
sources:
- type: archive
url: https://nlnetlabs.nl/downloads/unbound/unbound-1.22.0.tar.gz
sha256: c5dd1bdef5d5685b2cedb749158dd152c52d44f65529a34ac15cd88d4b1b3d43
x-checker-data:
type: html
url: https://nlnetlabs.nl/downloads/unbound/
pattern: (unbound-([\d\.]+)\.tar\.gz)
- name: libsodium
sources:
- type: archive
url: https://github.com/jedisct1/libsodium/releases/download/1.0.20-RELEASE/libsodium-1.0.20.tar.gz
sha256: ebb65ef6ca439333c2bb41a0c1990587288da07f6c7fd07cb3a18cc18d30ce19
x-checker-data:
type: json
url: https://api.github.com/repos/jedisct1/libsodium/releases/latest
version-query: .name
url-query: |
.assets | map(select(.name=="libsodium-\($version).tar.gz")) | first | .browser_download_url
- name: hidapi
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: archive
url: https://github.com/libusb/hidapi/archive/hidapi-0.14.0.tar.gz
sha256: a5714234abe6e1f53647dd8cba7d69f65f71c558b7896ed218864ffcf405bcbd
- name: openpgm
subdir: openpgm/pgm
sources:
- type: archive
url: https://github.com/steve-o/openpgm/archive/release-5-3-128.tar.gz
sha256: 8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393
- type: patch
path: openpgm-fix-build.patch
- name: libzmq
config-opts:
- --with-pgm
- --with-libsodium
- --disable-Werror
sources:
- type: archive
url: https://github.com/zeromq/libzmq/releases/download/v4.3.5/zeromq-4.3.5.tar.gz
sha256: 6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43
- name: p2pool
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DWITH_LTO=OFF
sources:
- type: git
url: https://github.com/SChernykh/p2pool
tag: v4.2
commit: 18b280ed1d3bf921aec3577fbbf66fbe9932c2c5
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
post-install:
- install -Dm755 p2pool $FLATPAK_DEST/bin/p2pool
modules:
- name: libgss
sources:
- type: archive
url: https://ftp.gnu.org/gnu/gss/gss-1.0.3.tar.gz
sha256: ff919ddc731531d65e27d7ababdc361aae05ada5f1a6dd60703d153307dcdeeb
- name: libuv
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/libuv/libuv/archive/v1.47.0.tar.gz
sha256: d50af7e6d72526db137e66fad812421c8a1cae09d146b0ec2bb9a22c5f23ba93