-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.codeberg.yeldham.Librerama.yml
53 lines (44 loc) · 2.02 KB
/
page.codeberg.yeldham.Librerama.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
app-id: page.codeberg.yeldham.Librerama
base: org.godotengine.godot.BaseApp
base-version: "3.5"
runtime: org.freedesktop.Platform
runtime-version: "22.08" # Needs to match the version used by the Godot BaseApp
default-branch: stable
sdk: org.freedesktop.Sdk
command: librerama
rename-icon: icon
finish-args:
- --share=ipc # Required for X11 support
- --socket=x11
- --socket=pulseaudio
- --device=all # Required for joypad support. Only requesting "dri" would be the ideal
modules:
- name: librerama
buildsystem: simple
sources:
- type: script
dest-filename: run.sh
commands:
- /app/bin/godot-runner --main-pack /app/bin/librerama.pck
- type: file
url: https://codeberg.org/attachments/fe130767-ca9f-4701-9bb9-9d2211fb2ba5
sha256: 5bea00fbe9d49abbf5f6be25663de0493dee684309f8833d4cb975a7f9f56591
dest-filename: "librerama.pck"
- type: file
url: https://codeberg.org/Yeldham/librerama/raw/tag/v0.6.1/icon.svg
sha256: 5665030aa2ff2e774018034b15c909a7ba4bfee1e55eb70aa067f9aa328594de
- type: file
url: https://codeberg.org/Yeldham/librerama/raw/tag/v0.6.1/export/freedesktop/page.codeberg.yeldham.Librerama.desktop
sha256: 9e9a9edf713fb1fba774b486be489639b56020c57376aa6295475081a73aeefa
- type: file
url: https://codeberg.org/Yeldham/librerama/raw/tag/v0.6.1/export/freedesktop/page.codeberg.yeldham.Librerama.appdata.xml
sha256: 70c9b5a9f01e16edcdfadd11869b4dc301bf9a7cee2d92c73a86684b826a2d8b
# Temporary. The upstream file will be fixed in the next update.
- type: patch
path: fix_screenshot_links.patch
build-commands:
- install -Dm755 run.sh /app/bin/librerama
- install -Dm644 librerama.pck /app/bin/librerama.pck
- install -Dm644 icon.svg -t /app/share/icons/hicolor/scalable/apps/
- install -Dm644 page.codeberg.yeldham.Librerama.desktop -t /app/share/applications/
- install -Dm644 page.codeberg.yeldham.Librerama.appdata.xml -t /app/share/appdata/