First commit

This commit is contained in:
Oleg Belyaev 2025-05-11 21:48:13 +03:00
commit be93b01e6b
3 changed files with 73 additions and 0 deletions

11
nl.uva.praat.desktop Normal file
View file

@ -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

18
nl.uva.praat.metainfo.xml Normal file
View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>nl.uva.praat</id>
<name>Praat</name>
<summary>Doing phonetics by computer</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<description>
<p>
Praat is a computer program with which you can analyse, synthesize, and manipulate speech, and create high-quality pictures for your articles and thesis.
</p>
</description>
<launchable type="desktop-id">nl.uva.praat.desktop</launchable>
</component>

44
nl.uva.praat.yml Normal file
View file

@ -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