-
Notifications
You must be signed in to change notification settings - Fork 0
/
us.tylerc.cycles.yaml
37 lines (32 loc) · 1.15 KB
/
us.tylerc.cycles.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
app-id: us.tylerc.cycles
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.golang
command: cycles
finish-args:
- --share=ipc
- --socket=fallback-x11
- --device=dri
- --socket=wayland
# Needed to support desktop notifications.
#- --talk-name=org.freedesktop.Notifications
- --filesystem=home
build-options:
env:
- GOBIN=/app/bin
- GOROOT=/usr/lib/sdk/golang
modules:
- name: cycles
buildsystem: simple
build-commands:
- $GOROOT/bin/go build -trimpath -o cycles
- install -Dm00755 cycles $FLATPAK_DEST/bin/cycles
- install -Dm00644 icon.png $FLATPAK_DEST/share/icons/hicolor/512x512/apps/$FLATPAK_ID.png
- install -Dm00644 $FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
- install -Dm00644 $FLATPAK_ID.appdata.xml $FLATPAK_DEST/share/appdata/$FLATPAK_ID.appdata.xml
sources:
- type: archive
url: "https://github.com/TylerCode/cycles/archive/refs/tags/0.3.4.tar.gz"
sha256: 845344b00555d7029d2a0ebf6d6de028b43c926d097c19b5745a4d01d804c292