More Flatpak manifest cleanup

The flow should be clearer if every module is structured this way:

1. name
2. sources
3. buildsystem
4. config-opts
5. build-commands
6. post-install
7. cleanup
This commit is contained in:
runiq
2025-03-16 00:05:57 +01:00
committed by Geoffrey D. Bennett
parent e4dc805422
commit e6fbb4f146

View File

@@ -56,9 +56,6 @@ modules:
- /share/runtime - /share/runtime
- /share/sounds - /share/sounds
- name: alsa-scarlett-gui - name: alsa-scarlett-gui
buildsystem: simple
build-commands:
- make -j8 install PREFIX=$FLATPAK_DEST
sources: sources:
- type: dir - type: dir
path: ./src path: ./src
@@ -66,15 +63,18 @@ modules:
# - type: git # - type: git
# url: https://github.com/geoffreybennett/alsa-scarlett-gui.git # url: https://github.com/geoffreybennett/alsa-scarlett-gui.git
# tag: "0.2" # tag: "0.2"
buildsystem: simple
build-commands:
- make -j8 install PREFIX=$FLATPAK_DEST
cleanup: cleanup:
- /lib/debug - /lib/debug
- /lib/source - /lib/source
- name: scarlett2-firmware - 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: sources:
- type: archive - type: archive
url: https://github.com/geoffreybennett/scarlett2-firmware/archive/refs/tags/2128b.tar.gz url: https://github.com/geoffreybennett/scarlett2-firmware/archive/refs/tags/2128b.tar.gz
sha256: 4a17fdbe2110855c2f7f6cfc5ea1894943a6e58770f3dff5ef283961f8ae2a03 sha256: 4a17fdbe2110855c2f7f6cfc5ea1894943a6e58770f3dff5ef283961f8ae2a03
buildsystem: simple
build-commands:
- mkdir -p $FLATPAK_DEST/lib/firmware/scarlett2
- cp -a LICENSE.Focusrite firmware/* $FLATPAK_DEST/lib/firmware/scarlett2