Debian Codegraph @

vu.b4.alsa-scarlett-gui.yml

raw symbols SCIP
1 app-id: vu.b4.alsa-scarlett-gui
2 runtime: org.gnome.Platform
3 runtime-version: "47"
4 sdk: org.gnome.Sdk
5 command: alsa-scarlett-gui
6 build-options:
7 secret-env:
8 - APP_VERSION
9 finish-args:
10 # X11 + XShm access
11 - --share=ipc
12 - --socket=fallback-x11
13 # Wayland access
14 - --socket=wayland
15 # Needs access to ALSA device nodes:
16 - --device=all
17 # Point to the firmware directory
18 - --env=SCARLETT2_FIRMWARE_DIR=/app/lib/firmware/scarlett2
19 modules:
20 - name: alsa-utils
21 sources:
22 - type: archive
23 url: https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.12.tar.bz2
24 sha256: 4868cd908627279da5a634f468701625be8cc251d84262c7e5b6a218391ad0d2
25 dest: .deps/alsa-lib
26 - type: archive
27 url: https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.12.tar.bz2
28 sha256: 98bc6677d0c0074006679051822324a0ab0879aea558a8f68b511780d30cd924
29 buildsystem: autotools
30 config-opts:
31 # We are only interested in alsactl
32 - --bindir=/app/null
33 - --with-udev-rules-dir=/app/null
34 - --with-systemdsystemunitdir=/app/null
35 # https://github.com/alsa-project/alsa-utils/issues/33
36 - --enable-alsa-topology
37 - --disable-alsaconf
38 - --disable-alsatest
39 - --disable-alsabat-backend-tiny
40 - --disable-alsamixer
41 - --disable-alsaloop
42 - --disable-nhlt
43 - --disable-xmlto
44 - --disable-rst2man
45 - --with-alsa-inc-prefix=.deps/alsa-lib/include
46 post-install:
47 - install -Dm755 /app/sbin/alsactl /app/bin/alsactl
48 cleanup:
49 - /lib/debug
50 - /lib/alsa-topology
51 - /null
52 - /sbin
53 - /share/alsa
54 - /share/locale
55 - /share/man
56 - /share/runtime
57 - /share/sounds
58 - name: alsa-scarlett-gui
59 sources:
60 - type: dir
61 path: ./src
62 # Use the following and remove the above for Flathub publishing
63 # - type: git
64 # url: https://github.com/geoffreybennett/alsa-scarlett-gui.git
65 # tag: "0.2"
66 buildsystem: simple
67 build-commands:
68 - make -j8 install PREFIX=$FLATPAK_DEST
69 cleanup:
70 - /lib/debug
71 - /lib/source
72 - name: scarlett2-firmware
73 sources:
74 - type: archive
75 url: https://github.com/geoffreybennett/scarlett2-firmware/archive/refs/tags/2128b.tar.gz
76 sha256: 4a17fdbe2110855c2f7f6cfc5ea1894943a6e58770f3dff5ef283961f8ae2a03
77 buildsystem: simple
78 build-commands:
79 - mkdir -p $FLATPAK_DEST/lib/firmware/scarlett2
80 - cp -a LICENSE.Focusrite firmware/* $FLATPAK_DEST/lib/firmware/scarlett2