From be93b01e6bc16b462d14f912dd86e354df892f1c Mon Sep 17 00:00:00 2001 From: Oleg Belyaev Date: Sun, 11 May 2025 21:48:13 +0300 Subject: [PATCH] First commit --- nl.uva.praat.desktop | 11 ++++++++++ nl.uva.praat.metainfo.xml | 18 ++++++++++++++++ nl.uva.praat.yml | 44 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 nl.uva.praat.desktop create mode 100644 nl.uva.praat.metainfo.xml create mode 100644 nl.uva.praat.yml diff --git a/nl.uva.praat.desktop b/nl.uva.praat.desktop new file mode 100644 index 0000000..237a74f --- /dev/null +++ b/nl.uva.praat.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application + +Name=Praat +Comment=Doing phonetics by computer +Categories=Science;Languages; + +Icon=nl.uva.praat +Exec=praat +Terminal=false diff --git a/nl.uva.praat.metainfo.xml b/nl.uva.praat.metainfo.xml new file mode 100644 index 0000000..2f3bcb3 --- /dev/null +++ b/nl.uva.praat.metainfo.xml @@ -0,0 +1,18 @@ + + + nl.uva.praat + + Praat + Doing phonetics by computer + + CC0-1.0 + GPL-3.0+ + + +

+ Praat is a computer program with which you can analyse, synthesize, and manipulate speech, and create high-quality pictures for your articles and thesis. +

+
+ + nl.uva.praat.desktop +
diff --git a/nl.uva.praat.yml b/nl.uva.praat.yml new file mode 100644 index 0000000..6bd2b62 --- /dev/null +++ b/nl.uva.praat.yml @@ -0,0 +1,44 @@ +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