-
Notifications
You must be signed in to change notification settings - Fork 5
/
fm.reaper.Reaper.yml
executable file
·100 lines (91 loc) · 3.15 KB
/
fm.reaper.Reaper.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
app-id: fm.reaper.Reaper
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
tags:
- proprietary
command: reaper
finish-args:
- --share=ipc
- --share=network
- --socket=x11
- --socket=pulseaudio
- --filesystem=xdg-run/pipewire-0
- --device=all
- --filesystem=home
add-extensions:
org.freedesktop.LinuxAudio.Plugins:
directory: extensions/Plugins
version: "23.08"
add-ld-path: lib
merge-dirs: lv2;vst;vst3
subdirectories: true
no-autodownload: true
org.freedesktop.Platform.ffmpeg-full:
directory: lib/ffmpeg
version: "23.08"
add-ld-path: .
autodelete: false
modules:
- name: reaper
buildsystem: simple
build-commands:
# Install script to extract tarball
- install -D apply_extra /app/bin/apply_extra
# Install wrapper script to run application
- install -D reaper /app/bin/reaper
# Add icon
- install -Dm644 main.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
# Add desktop integration
- install -Dm644 fm.reaper.Reaper.desktop /app/share/applications/${FLATPAK_ID}.desktop
# Install flatpak metadata
- install -Dm644 fm.reaper.Reaper.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
# extensions
- install -d /app/extensions/Plugins
- install -d /app/lib/ffmpeg
sources:
- type: script
dest-filename: apply_extra
commands:
# Extract downnloaded tarball
- mkdir -p export/share
- tar xf reaper.tar.xz -C /app/extra/export/share
- rm -f reaper.tar.xz
# Run installer script
- cd export/share/reaper_linux_*
- ./install-reaper.sh --quiet --install /app/extra
# Clean up temp tiles
- cd ../../../
- rm -rf /app/extra/export/share/reaper_linux_*
- type: extra-data
filename: reaper.tar.xz
url: https://www.reaper.fm/files/7.x/reaper724_linux_x86_64.tar.xz
sha256: decb8ae7b34a7af08b4c67252666d7fcc9b4d694731ffadbf02481c9f28752f3
size: 12649740
only-arches: [x86_64]
x-checker-data:
type: html
url: https://www.reaper.fm/download.php
version-pattern: "<div class='hdrbottom'>Version ([\\d\\.-]*):"
url-template: https://www.reaper.fm/files/7.x/reaper${major}${minor}_linux_x86_64.tar.xz
- type: extra-data
filename: reaper.tar.xz
url: https://www.reaper.fm/files/7.x/reaper724_linux_aarch64.tar.xz
sha256: 6c225249ce5df5da1cf3a6aabe96ace36807b8fddec96289412ba6291fa86686
size: 11362532
only-arches: [aarch64]
x-checker-data:
type: html
url: https://www.reaper.fm/download.php
version-pattern: "<div class='hdrbottom'>Version ([\\d\\.-]*):"
url-template: https://www.reaper.fm/files/7.x/reaper${major}${minor}_linux_aarch64.tar.xz
- type: script
dest-filename: reaper
commands:
- /app/extra/REAPER/reaper
- type: file
path: fm.reaper.Reaper.desktop
- type: file
path: fm.reaper.Reaper.metainfo.xml
- type: file
path: main.png