initial commit
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
app-id: com.renoise.Renoise
|
||||
command: renoise-wrapper
|
||||
runtime-version: "24.08"
|
||||
runtime: org.freedesktop.Platform
|
||||
sdk: org.freedesktop.Sdk
|
||||
finish-args:
|
||||
- --device=all
|
||||
- --share=ipc
|
||||
- --filesystem=xdg-run/pipewire-0
|
||||
- --socket=pulseaudio
|
||||
- --socket=x11
|
||||
- --share=network
|
||||
- --filesystem=home
|
||||
modules:
|
||||
- name: app
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -d $FLATPAK_DEST/bin
|
||||
- cp -r rns_*/* "$FLATPAK_DEST/bin"
|
||||
- rm -rf rns_*
|
||||
- install -Dm644 ${FLATPAK_DEST}/bin/Installer/renoise.desktop ${FLATPAK_DEST}/share/applications/$FLATPAK_ID.desktop; sed -i 's/Icon=renoise/Icon=com.renoise.Renoise/g' $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop
|
||||
- for size in 48 64 128; do install -Dm644 $FLATPAK_DEST/bin/Installer/renoise-${size}.png $FLATPAK_DEST/share/icons/hicolor/${size}x${size}/apps/$FLATPAK_ID.png; done
|
||||
- install -Dm644 $FLATPAK_DEST/bin/Installer/renoise.xml $FLATPAK_DEST/share/mime/$FLATPAK_ID.xml
|
||||
- install -Dm644 $FLATPAK_DEST/bin/Installer/renoise.1.gz $FLATPAK_DEST/share/man/man1/renoise.1.gz
|
||||
- install -Dm644 $FLATPAK_DEST/bin/Installer/renoise-pattern-effects.5.gz $FLATPAK_DEST/share/man/man5/renoise-pattern-effects.5.gz
|
||||
- |
|
||||
cat > $FLATPAK_DEST/bin/renoise-wrapper <<'EOF'
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p \
|
||||
"$HOME/.local/share/audio/vst" \
|
||||
"$HOME/.local/share/audio/vst3" \
|
||||
"$HOME/.local/share/audio/ladspa" \
|
||||
"$HOME/.local/share/audio/dssi"
|
||||
|
||||
export LADSPA_PATH="$HOME/.local/share/audio/ladspa"
|
||||
export DSSI_PATH="$HOME/.local/share/audio/dssi"
|
||||
export VST_PATH="$HOME/.local/share/audio/vst"
|
||||
export VST3_PATH="$HOME/.local/share/audio/vst3"
|
||||
|
||||
exec /app/bin/renoise "$@"
|
||||
EOF
|
||||
|
||||
- chmod 755 $FLATPAK_DEST/bin/renoise-wrapper
|
||||
cleanup:
|
||||
- "/bin/Installer"
|
||||
- "*.sh"
|
||||
sources:
|
||||
- type: archive
|
||||
path: rns_354_linux_x86_64.tar.gz
|
||||
strip-components: 0
|
||||
Reference in New Issue
Block a user