44 lines
1.7 KiB
YAML
44 lines
1.7 KiB
YAML
id: nl.uva.praat
|
|
runtime: org.gnome.Platform
|
|
runtime-version: '48'
|
|
sdk: org.gnome.Sdk
|
|
command: praat
|
|
finish-args:
|
|
- --share=ipc
|
|
- --socket=x11
|
|
- --socket=pulseaudio
|
|
- --share=network
|
|
- --filesystem=home
|
|
- --device=dri
|
|
- --talk-name=org.freedesktop.Flatpak
|
|
modules:
|
|
- name: libcxx
|
|
buildsystem: simple
|
|
build-commands:
|
|
- tar -xvf LLVM-20.1.4-Linux-X64.tar.xz --strip-components=2 LLVM-20.1.4-Linux-X64/lib/x86_64-unknown-linux-gnu
|
|
- mkdir /app/lib
|
|
- cp x86_64-unknown-linux-gnu/* /app/lib/
|
|
sources:
|
|
- type: file
|
|
url: https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.4/LLVM-20.1.4-Linux-X64.tar.xz
|
|
sha256: 113b54c397adb2039fa45e38dc8107b9ec5a0baead3a3bac8ccfbb65b2340caa
|
|
|
|
- name: praat
|
|
buildsystem: simple
|
|
build-commands:
|
|
- mkdir /app/bin
|
|
- tar -xzf praat6431_linux-intel64.tar.gz --directory=/app/bin/
|
|
- install -Dm644 praat-480.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
|
|
- install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
|
- install -Dm644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
|
|
sources:
|
|
- type: file
|
|
url: https://www.fon.hum.uva.nl/praat/praat6431_linux-intel64.tar.gz
|
|
sha256: cdaecde682cb162a06b7e7d99063f904116d531e5b80d0dbb93450df82964722
|
|
- type: file
|
|
path: nl.uva.praat.desktop
|
|
- type: file
|
|
path: nl.uva.praat.metainfo.xml
|
|
- type: file
|
|
url: https://github.com/praat/praat/raw/refs/heads/master/main/praat-480.svg
|
|
sha256: 57a78f6359453ad83e2524ce6645f07649a227f72abf9f6fd233c19f1d4cfc59
|