-
Notifications
You must be signed in to change notification settings - Fork 5
/
fm.reaper.Reaper.yml
executable file
·88 lines (81 loc) · 2.62 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
app-id: fm.reaper.Reaper
runtime: org.freedesktop.Platform
runtime-version: '23.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/reaper722_linux_x86_64.tar.xz
sha256: 69ad8a70bf326581be0e48bb27a538ef713605081d002008cd12ed0fdcee1d5d
size: 12607096
only-arches: [x86_64]
- type: extra-data
filename: reaper.tar.xz
url: https://www.reaper.fm/files/7.x/reaper722_linux_aarch64.tar.xz
sha256: 3440841142ad4d06a39743192bcfcdb1b85cbb28a11cea3443963952900082b3
size: 11296584
only-arches: [aarch64]
- 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