-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathio.github.daviddesimone.opencloudsaves.yml
44 lines (44 loc) · 1.64 KB
/
io.github.daviddesimone.opencloudsaves.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
app-id: io.github.daviddesimone.opencloudsaves
runtime: org.gnome.Platform
runtime-version: '43'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.golang
command: bootstrap-opencloudsave.sh
finish-args:
- '--share=ipc'
- '--socket=fallback-x11'
- '--filesystem=host'
- '--socket=wayland'
- '--device=dri'
- '--share=network'
build-options:
env:
- GOBIN=/app/bin
- GOROOT=/usr/lib/sdk/golang
modules:
- name: opencloudsave
buildsystem: simple
build-commands:
- $GOROOT/bin/go build -trimpath -o opencloudsave
- install -D opencloudsave /app/bin/opencloudsave
- install -D ./build/linux/bootstrap-opencloudsave.sh /app/bin/bootstrap-opencloudsave.sh
- mkdir -p /app/share/applications/
- install -D ./build/linux/icon/io.github.daviddesimone.opencloudsaves.512.png /app/share/icons/hicolor/512x512/apps/io.github.daviddesimone.opencloudsaves.png
- install -D ./build/linux/OpenCloudSaves.desktop /app/share/applications/io.github.daviddesimone.opencloudsaves.desktop
- install -Dm644 ./build/linux/io.github.daviddesimone.opencloudsaves.appdata.xml /app/share/appdata/io.github.daviddesimone.opencloudsaves.metainfo.xml
sources:
- type: git
url: https://github.com/DavidDeSimone/OpenCloudSaves
tag: v0.18.1
commit: e97c5703461b5860e69ae32bc538c5e9a49df6f7
- name: rclone
buildsystem: simple
build-commands:
- $GOROOT/bin/go build
- install -D rclone /app/bin/rclone
sources:
- type: git
url: https://github.com/DavidDeSimone/rclone
tag: v1.0.2
commit: 8d620b4c48a7e493290167397af779cb65d069c7