This repository has been archived on 2025-09-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
alsa-scarlett-gui/vu.b4.alsa-scarlett-gui.yml
2025-02-21 04:08:25 +10:30

41 lines
1.2 KiB
YAML

app-id: vu.b4.alsa-scarlett-gui
runtime: org.gnome.Platform
runtime-version: "47"
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