# DO NOT EDIT. # Any changes will be overwritten. # # Generated by flatpak-flutter v0.15.0 # Source: flatpak-flutter.yml # # Visit the project at https://github.com/TheAppgineer/flatpak-flutter app-id: io.github.thezupzup.linthra runtime: org.gnome.Platform runtime-version: '51' sdk: org.gnome.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.llvm22 command: linthra finish-args: - --socket=wayland - --socket=fallback-x11 - --share=ipc - --device=dri - --socket=pulseaudio - --share=network # # MPRIS (#397). The Linux media session is a D-Bus object Linthra exports and # a well-known name it owns, so a desktop shell can find and drive it. Inside # the sandbox that name has to be granted: Flatpak lets an app own names under # its own application id, and `org.mpris.MediaPlayer2.linthra` is not one of # those. # # These two grants are the narrowest form that works. --own-name is not # --talk-name: owning a name lets other clients call Linthra, and gives # Linthra no way to call anything. Both are scoped to Linthra's own player # names, so no other player's MPRIS interface becomes reachable — which # --socket=session-bus, or an `org.mpris.MediaPlayer2.*` wildcard, would both # do. The second line covers the spec's `.instance` fallback, used when a # second Linthra window finds the plain name already taken. - --own-name=org.mpris.MediaPlayer2.linthra - --own-name=org.mpris.MediaPlayer2.linthra.* modules: - name: ffmpeg cleanup: - /include - /lib/pkgconfig - /share/ffmpeg config-opts: - --disable-static - --enable-shared - --disable-doc - --disable-programs - --enable-network - --enable-gnutls sources: - type: archive url: https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n9.0.1.tar.gz sha256: 195d54bebe1a27f84d77f4b989d193466f305b355da92292766a69f16880b18a - name: libplacebo buildsystem: meson config-opts: - -Dlibdir=lib - -Dvulkan=enabled - -Dshaderc=disabled - -Dglslang=disabled - -Ddemos=false - -Dtests=false sources: - type: archive url: https://code.videolan.org/videolan/libplacebo/-/archive/v7.360.1/libplacebo-v7.360.1.tar.gz sha256: 14c0a99f4b01557ec9826ce6b1d52f6de21be274ba03fd5aab7307f18766dc39 - type: archive url: https://github.com/pallets/jinja/archive/refs/tags/3.1.6.tar.gz sha256: 2074b22a72caa65474902234b320d73463d6d4c223ee49f4b433495758356337 dest: 3rdparty/jinja - type: archive url: https://github.com/pallets/markupsafe/archive/refs/tags/3.0.3.tar.gz sha256: f1d9d06c34515dd3ad210ec769da613057b536d11d6c039183b87757a883a254 dest: 3rdparty/markupsafe - type: archive url: https://github.com/Dav1dde/glad/archive/refs/tags/v2.0.8.tar.gz sha256: 44f06f9195427c7017f5028d0894f57eb216b0a8f7c4eda7ce883732aeb2d0fc dest: 3rdparty/glad - name: libass config-opts: - --disable-static - --enable-fontconfig cleanup: - /include - /lib/pkgconfig sources: - type: archive url: https://github.com/libass/libass/archive/refs/tags/0.17.5.tar.gz sha256: fa286fc9ee1ba3b932703a3df7b8474d01dc8abe29ec69b6fa68781dc4bf7acc - name: mpv buildsystem: meson config-opts: - -Dlibdir=lib - -Dcplayer=false - -Dlibmpv=true - -Dgpl=false - -Dbuild-date=false - -Dmanpage-build=disabled - -Dhtml-build=disabled - -Dpdf-build=disabled - -Dtests=false - -Dcdda=disabled - -Ddvdnav=disabled - -Ddvbin=disabled - -Dlibbluray=disabled - -Dlibarchive=disabled - -Dlua=disabled - -Djavascript=disabled - -Dvapoursynth=disabled - -Dcplugins=disabled - -Drubberband=disabled - -Dalsa=enabled - -Dpulse=enabled - -Dpipewire=disabled sources: - type: archive url: https://github.com/mpv-player/mpv/archive/refs/tags/v0.41.0.tar.gz sha256: ee21092a5ee427353392360929dc64645c54479aefdb5babc5cfbb5fad626209 - name: linthra buildsystem: simple build-options: append-path: /usr/lib/sdk/llvm22/bin:/var/lib/flutter/bin prepend-ld-library-path: /usr/lib/sdk/llvm22/lib env: PUB_CACHE: /run/build/linthra/.pub-cache build-commands: - setup-flutter.sh - flutter build linux --release --no-pub - install -d /app/lib/linthra - cp -r build/linux/x64/release/bundle/. /app/lib/linthra/ - install -d /app/bin - ln -s ../lib/linthra/linthra /app/bin/linthra - install -Dm644 linux/packaging/io.github.thezupzup.linthra.desktop /app/share/applications/io.github.thezupzup.linthra.desktop - install -Dm644 tool/branding/linthra_icon.svg /app/share/icons/hicolor/scalable/apps/io.github.thezupzup.linthra.svg - install -Dm644 linux/packaging/icons/hicolor/48x48/apps/io.github.thezupzup.linthra.png /app/share/icons/hicolor/48x48/apps/io.github.thezupzup.linthra.png - install -Dm644 linux/packaging/icons/hicolor/64x64/apps/io.github.thezupzup.linthra.png /app/share/icons/hicolor/64x64/apps/io.github.thezupzup.linthra.png - install -Dm644 linux/packaging/icons/hicolor/128x128/apps/io.github.thezupzup.linthra.png /app/share/icons/hicolor/128x128/apps/io.github.thezupzup.linthra.png - install -Dm644 linux/packaging/icons/hicolor/256x256/apps/io.github.thezupzup.linthra.png /app/share/icons/hicolor/256x256/apps/io.github.thezupzup.linthra.png - install -Dm644 linux/packaging/io.github.thezupzup.linthra.metainfo.xml /app/share/metainfo/io.github.thezupzup.linthra.metainfo.xml sources: - type: dir path: .. - generated/sources/pubspec.json modules: - generated/modules/flutter-sdk-3.47.5.json