-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcc.retroshare.retroshare-gui.yaml
133 lines (124 loc) · 3.23 KB
/
cc.retroshare.retroshare-gui.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
app-id: cc.retroshare.retroshare-gui
runtime: org.kde.Platform
runtime-version: "5.15"
sdk: org.kde.Sdk
command: retroshare
finish-args:
- --device=dri
- --socket=pulseaudio
- --socket=wayland
- --socket=x11
- --share=network
- --filesystem=host
- --talk-name=org.kde.StatusNotifierWatcher
build-options:
no-debuginfo: true
strip: false
cleanup:
- /include
- /lib/pkgconfig
- /man
- /share/man
- /share/info
- "*.a"
- "*.la"
rename-desktop-file: retroshare.desktop
rename-icon: retroshare
modules:
# sqlcipher build dep
- name: tcl
buildsystem: autotools
subdir: unix
sources:
- type: archive
url: https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/tcl8.6.11-src.tar.gz
sha256: 8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258
cleanup:
- /bin
- /lib
# retroshare dep
- name: sqlcipher
skip-arches:
- aarch64
buildsystem: autotools
config-opts:
- --enable-tempstore=yes
- --disable-tcl
build-options:
cflags: -DSQLITE_HAS_CODEC
ldflags: -lcrypto
sources:
- type: archive
url: https://github.com/sqlcipher/sqlcipher/archive/v4.4.3.tar.gz
sha256: b8df69b998c042ce7f8a99f07cf11f45dfebe51110ef92de95f1728358853133
cleanup:
- /bin
# retroshare dep
- name: miniupnpc
buildsystem: cmake-ninja
config-opts:
- -DUPNPC_BUILD_STATIC=FALSE
- -DUPNPC_BUILD_SHARED=TRUE
- -DUPNPC_BUILD_TESTS=FALSE
- -DUPNPC_BUILD_SAMPLE=FALSE
cleanup:
- /include
- /share/doc
sources:
- type: archive
url: http://miniupnp.free.fr/files/miniupnpc-2.1.20190625.tar.gz
sha256: 8723f5d7fd7970de23635547700878cd29a5c2bb708b5e5475b2d1d2510317fb
# tor dep
- name: libevent
buildsystem: autotools
sources:
- type: archive
url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
# retroshare dep
- name: tor
buildsystem: autotools
sources:
- type: archive
url: https://dist.torproject.org/tor-0.4.6.5.tar.gz
sha256: 7b6d354e0d9791eace4b51e92211909308297b7aa257993937163d7ee0694cf9
# retroshare dep
- name: rapidjson
buildsystem: cmake-ninja
config-opts:
- -DRAPIDJSON_BUILD_DOC=OFF
- -DRAPIDJSON_BUILD_EXAMPLES=OFF
- -DRAPIDJSON_BUILD_TESTS=OFF
cleanup:
- /include
- /share/doc
sources:
- type: archive
url: https://github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz
sha256: bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
- name: retroshare-gui
buildsystem: qmake
config-opts:
- CONFIG-=debug
- CONFIG+=release
- RS_UPNP_LIB=miniupnpc
build-options:
arch:
aarch64:
config-opts:
- CONFIG-=debug
- CONFIG+=release
- CONFIG+=no_sqlcipher
- RS_UPNP_LIB=miniupnpc
sources:
- type: git
url: https://github.com/RetroShare/RetroShare.git
tag: v0.6.6
commit: 751fffc30f957425b1581c3aefaacf1959a8869f
- type: file
path: cc.retroshare.retroshare-gui.appdata.xml
- type: patch
path: 0001-adapt-desktop-file.patch
- type: shell
commands:
- install -Dm644 cc.retroshare.retroshare-gui.appdata.xml /app/share/appdata/cc.retroshare.retroshare-gui.appdata.xml