-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathorg.famistudio.FamiStudio.yml
60 lines (57 loc) · 2.13 KB
/
org.famistudio.FamiStudio.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
app-id: org.famistudio.FamiStudio
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.dotnet8
build-options:
append-path: /usr/lib/sdk/dotnet8/bin
append-ld-library-path: /usr/lib/sdk/dotnet8/lib
env:
PKG_CONFIG_PATH: /app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/sdk/dotnet8/lib/pkgconfig
cleanup-commands:
- mkdir -p ${FLATPAK_DEST}/lib/ffmpeg
command: famistudio.sh
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio
# Read and write projects
- --filesystem=home
# Midi keyboard input
- --device=all
modules:
- name: app
buildsystem: simple
build-commands:
- install -d /app/bin/
- cp -r * /app/bin/
sources:
- type: archive
url: https://github.com/BleuBleu/FamiStudio/releases/download/4.3.2/FamiStudio432-LinuxAMD64.zip
sha256: eecb10df0d68fdf6fe623fef0056168bd9038c09ec8f048b569ef59d1753bab2
strip-components: 0
x-checker-data:
is-main-source: true
type: json
url: https://api.github.com/repos/BleuBleu/FamiStudio/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name|endswith("LinuxAMD64.zip")) | .browser_download_url
timestamp-query: .published_at
- name: extrafiles
buildsystem: simple
build-commands:
- install.sh
- install -Dm755 famistudio.sh ${FLATPAK_DEST}/bin/famistudio.sh
- install -Dm644 org.famistudio.FamiStudio.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/org.famistudio.FamiStudio.svg
- install -Dm644 org.famistudio.FamiStudio.desktop ${FLATPAK_DEST}/share/applications/org.famistudio.FamiStudio.desktop
- install -Dm644 org.famistudio.FamiStudio.metainfo.xml ${FLATPAK_DEST}/share/metainfo/org.famistudio.FamiStudio.metainfo.xml
sources:
- type: file
path: famistudio.sh
- type: file
path: org.famistudio.FamiStudio.svg
- type: file
path: org.famistudio.FamiStudio.desktop
- type: file
path: org.famistudio.FamiStudio.metainfo.xml