-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.pieterdd.RcloneShuttle.yaml
49 lines (49 loc) · 1.64 KB
/
io.github.pieterdd.RcloneShuttle.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
id: io.github.pieterdd.RcloneShuttle
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
- org.freedesktop.Sdk.Extension.golang
command: rclone-shuttle
finish-args:
- "--share=ipc"
- "--share=network"
- "--socket=fallback-x11"
- "--socket=wayland"
- "--device=dri"
- "--env=G_MESSAGES_DEBUG=none"
- "--env=RUST_BACKTRACE=1"
- "--filesystem=host"
modules:
- name: rclone
buildsystem: simple
build-options:
append-path: "/usr/lib/sdk/golang/bin"
build-commands:
- go build -mod=vendor .
- install -Dm755 -t /app/bin/ rclone
sources:
- type: archive
url: https://github.com/rclone/rclone/archive/refs/tags/v1.66.0.zip
sha256: 8cdd75b412950107f33555c0dccb454138a3f9ce854f9f431cd9c7fcb861b818
- "go-sources.yml"
- name: rclone-shuttle
buildsystem: simple
build-options:
append-path: "/usr/lib/sdk/rust-stable/bin"
env:
CARGO_HOME: "/run/build/rclone-shuttle/cargo"
build-commands:
- cargo --offline fetch --manifest-path Cargo.toml --verbose
- cargo --offline build --release --verbose
- mkdir -p /app/bin
- install -Dm755 ./target/release/rclone-shuttle /app/bin/rclone-shuttle
- install -Dm644 -t /app/share/icons/hicolor/512x512/apps/ meta/io.github.pieterdd.RcloneShuttle.png
- install -Dm644 -t /app/share/applications/ meta/io.github.pieterdd.RcloneShuttle.desktop
- install -Dm644 -t /app/share/metainfo/ meta/io.github.pieterdd.RcloneShuttle.metainfo.xml
sources:
- type: git
url: https://github.com/pieterdd/RcloneShuttle
tag: 0.1.4
- "cargo-sources.json"