elan-flatpak/nl.mpi.archive.elan.yml
2025-05-11 19:08:55 +03:00

56 lines
1.8 KiB
YAML

id: nl.mpi.archive.elan
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: ELAN_6.9
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --share=network
- --filesystem=home
- --device=dri
- --talk-name=org.freedesktop.Flatpak
modules:
- name: ffmpeg
config-opts:
- --enable-pic
- --enable-shared
- --disable-doc
- --disable-static
- --enable-gpl
- --enable-libvpx
- --enable-libmp3lame
- --enable-libvorbis
- --enable-libopus
sources:
- type: archive
url: https://ffmpeg.org/releases/ffmpeg-4.4.5.tar.xz
sha256: f9514e0d3515aee5a271283df71636e1d1ff7274b15853bcd84e144be416ab07
- name: libvlc
config-opts:
- BUILDCC=gcc
- --disable-lua
- --disable-a52
- --disable-qt
- --disable-ncurses
- --disable-udev
sources:
- type: archive
url: https://get.videolan.org/vlc/3.0.21/vlc-3.0.21.tar.xz
sha256: 24dbbe1d7dfaeea0994d5def0bbde200177347136dbfe573f5b6a4cee25afbb0
- name: elan
buildsystem: simple
build-commands:
- tar -xzf ELAN_6-9_linux.tar.gz --directory=/app/ --strip-components=1
- install -Dm644 /app/lib/ELAN_6.9.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
- 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.mpi.nl/tools/elan/ELAN_6-9_linux.tar.gz
sha256: d2608b5853e2b42881c9439a1fe8d15683282ea0183dffff11fc15d789b112c7
- type: file
path: nl.mpi.archive.elan.desktop
- type: file
path: nl.mpi.archive.elan.metainfo.xml