-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
vu.b4.alsa-scarlett-gui.yml
40 lines (39 loc) · 1.2 KB
/
vu.b4.alsa-scarlett-gui.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
app-id: vu.b4.alsa-scarlett-gui
runtime: org.gnome.Platform
runtime-version: "45"
sdk: org.gnome.Sdk
command: alsa-scarlett-gui
build-options:
secret-env:
- APP_VERSION
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=fallback-x11
# Wayland access
- --socket=wayland
# Needs access to ALSA device nodes:
- --device=all
# Point to the firmware directory
- --env=SCARLETT2_FIRMWARE_DIR=/app/lib/firmware/scarlett2
modules:
- name: alsa-scarlett-gui
buildsystem: simple
build-commands:
- make -j8 install PREFIX=$FLATPAK_DEST
sources:
- type: dir
path: ./src
# Use the following and remove the above for Flathub publishing
# - type: git
# url: https://github.com/geoffreybennett/alsa-scarlett-gui.git
# tag: "0.2"
- name: scarlett2-firmware
buildsystem: simple
build-commands:
- mkdir -p $FLATPAK_DEST/lib/firmware/scarlett2
- cp -a LICENSE.Focusrite firmware/* $FLATPAK_DEST/lib/firmware/scarlett2
sources:
- type: archive
url: https://github.com/geoffreybennett/scarlett2-firmware/archive/refs/tags/2128b.tar.gz
sha256: 4a17fdbe2110855c2f7f6cfc5ea1894943a6e58770f3dff5ef283961f8ae2a03