/
com.amazon.Workspaces.yml
176 lines (156 loc) · 5.47 KB
/
com.amazon.Workspaces.yml
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
app-id: com.amazon.Workspaces
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: workspacesclient
tags:
- proprietary
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --share=ipc
- --device=dri
- --socket=pulseaudio
- --share=network
- --env=LD_LIBRARY_PATH=/app/extra/bin
cleanup:
- '*.a'
- '*.la'
- /include
- /lib/icu
- /lib/pkgconfig
- /share/doc
- /share/gir-1.0
- /share/icu
- /share/man
modules:
- name: openssl1.1
buildsystem: simple
build-commands:
- ./config --prefix=${FLATPAK_DEST}
- make
- make install
sources:
- type: archive
url: https://www.openssl.org/source/openssl-1.1.1w.tar.gz
sha256: cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
x-checker-data:
type: anitya
project-id: 20333
url-template: https://www.openssl.org/source/openssl-$version.tar.gz
- shared-modules/libusb/libusb.json
- shared-modules/libsoup/libsoup-2.4.json
- name: unifdef
no-autogen: true
make-install-args:
- prefix=${FLATPAK_DEST}
sources:
- type: archive
url: https://dotat.at/prog/unifdef/unifdef-2.12.tar.xz
sha256: 43ce0f02ecdcdc723b2475575563ddb192e988c886d368260bc0a63aee3ac400
cleanup:
- '*'
- name: webkit2gtk-4.0
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DPORT=GTK
- -DENABLE_BUBBLEWRAP_SANDBOX=OFF
- -DENABLE_DOCUMENTATION=OFF
- -DUSE_GTK4=OFF
- -DUSE_LIBBACKTRACE=OFF
- -DUSE_SOUP2=ON
- -DENABLE_MINIBROWSER=OFF
- -DENABLE_WEBDRIVER=OFF
- -DENABLE_GAMEPAD=OFF
sources:
- type: archive
url: https://webkitgtk.org/releases/webkitgtk-2.44.2.tar.xz
sha256: 523f42c8ff24832add17631f6eaafe8f9303afe316ef1a7e1844b952a7f7521b
x-checker-data:
type: html
url: https://webkitgtk.org/releases/
version-pattern: LATEST-STABLE-(\d[\.\d]+\d)
url-template: https://webkitgtk.org/releases/webkitgtk-$version.tar.xz
- name: hiredis0.14
buildsystem: simple
build-commands:
- make PREFIX=${FLATPAK_DEST} install
sources:
- type: git
url: https://github.com/redis/hiredis.git
tag: v0.14.1
commit: f9717aed445547c8ab11a3a4117f648c06e62b56
- name: icu63
buildsystem: simple
build-commands:
- cd source && ./configure --prefix=${FLATPAK_DEST} --sbindir=${FLATPAK_DEST}/bin
--disable-tests --disable-samples && make -j $FLATPAK_BUILDER_N_JOBS install
sources:
- type: archive
url: https://github.com/unicode-org/icu/releases/download/release-63-2/icu4c-63_2-src.tgz
sha256: 4671e985b5c11252bff3c2374ab84fd73c609f2603bb6eb23b8b154c69ea4215
cleanup:
- /bin
- name: graphicsmagick
builddir: true
config-opts:
- --enable-shared
- --enable-quantum-library-names
- --with-quantum-depth=16
- --with-magick_plus_plus
- --with-modules
- --with-threads
sources:
- type: archive
url: https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.43/GraphicsMagick-1.3.43.tar.xz
sha256: 2b88580732cd7e409d9e22c6116238bef4ae06fcda11451bf33d259f9cbf399f
x-checker-data:
type: anitya
project-id: 1248
url-template: https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/$version/GraphicsMagick-$version.tar.xz
cleanup:
- /bin/GraphicsMagick*config
- /bin/gm
- name: workspacesclient
buildsystem: simple
build-commands:
- mkdir -p ${FLATPAK_DEST}/bin ${FLATPAK_DEST}/lib
- install apply_extra ${FLATPAK_DEST}/bin
- install -Dm644 -t ${FLATPAK_DEST}/share/metainfo/ ${FLATPAK_ID}.metainfo.xml
- install -Dm644 -t ${FLATPAK_DEST}/share/applications/ ${FLATPAK_ID}.desktop
- install -Dm644 -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/ ${FLATPAK_ID}.svg
- cp /usr/bin/ar ${FLATPAK_DEST}/bin
- ARCH_TRIPLE=$(gcc --print-multiarch) && cp -a /usr/lib/${ARCH_TRIPLE}/libbfd-*.so
${FLATPAK_DEST}/lib && cp -a /usr/lib/${ARCH_TRIPLE}/libsframe.so* ${FLATPAK_DEST}/lib
- ln -s ${FLATPAK_DEST}/extra/bin/workspacesclient ${FLATPAK_DEST}/bin/workspacesclient
sources:
- type: script
dest-filename: apply_extra
commands:
- ar x 'workspacesclient.deb' data.tar.xz
- tar xf data.tar.xz ./usr ./opt
- rm -f data.tar.xz
- mkdir -p opt/workspacesclient/pcoip-client/vchan_plugins
- cp usr/lib/x86_64-linux-gnu/pcoip-client/vchan_plugins/libvchan-plugin-clipboard.so
opt/workspacesclient/pcoip-client/vchan_plugins
- mv opt/workspacesclient ./bin
- rm -rf usr opt
- type: file
path: com.amazon.Workspaces.metainfo.xml
- type: file
path: com.amazon.Workspaces.svg
- type: file
path: com.amazon.Workspaces.desktop
- type: extra-data
filename: workspacesclient.deb
only-arches: [x86_64]
url: https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu/dists/focal/main/binary-amd64/workspacesclient_4.7.0.4312_amd64.deb
sha256: 1b4a39b859c49225169a44cc507955722770fb6c7c7bf2a631f54113ba0b5d5f
size: 46652448
x-checker-data:
type: debian-repo
package-name: workspacesclient
root: https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu
dist: focal
component: main