{
 "app_id": "io.github.akinozgen.NaviCloud",
 "source_url": "https://raw.githubusercontent.com/akinozgen/navicloud/main/packaging/flatpak/io.github.akinozgen.NaviCloud.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--device=dri",
  "--talk-name=org.freedesktop.Notifications",
  "--own-name=org.mpris.MediaPlayer2.NaviCloud",
  "--own-name=org.mpris.MediaPlayer2.NaviCloud.*",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--filesystem=~/.navicloud:create",
  "--env=_JAVA_AWT_WM_NONREPARENTING=1"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-20T12:55:52.958163+00:00",
 "manifest": {
  "app-id": "io.github.akinozgen.NaviCloud",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "navicloud",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--talk-name=org.freedesktop.Notifications",
   "--own-name=org.mpris.MediaPlayer2.NaviCloud",
   "--own-name=org.mpris.MediaPlayer2.NaviCloud.*",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--filesystem=~/.navicloud:create",
   "--env=_JAVA_AWT_WM_NONREPARENTING=1"
  ],
  "add-extensions": {
   "org.freedesktop.Platform.ffmpeg-full": {
    "directory": "lib/ffmpeg",
    "version": "24.08",
    "add-ld-path": ".",
    "no-autodownload": true,
    "autodelete": false
   }
  },
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "ffmpeg-full-dir",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/lib/ffmpeg"
    ]
   },
   {
    "name": "libplacebo",
    "buildsystem": "meson",
    "config-opts": [
     "-Dlibdir=lib",
     "-Ddemos=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/libplacebo.git",
      "tag": "v7.360.1",
      "commit": "cee9b076f2c63104ccfd497fa79c39a867293ec4"
     }
    ]
   },
   {
    "name": "libass",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libass/libass/releases/download/0.17.5/libass-0.17.5.tar.xz",
      "sha256": "2dca25c0e0c837ddf00b52011b3f82cac1e4ddd3ad018227806b0c2288864acc"
     }
    ]
   },
   {
    "name": "mpv",
    "buildsystem": "meson",
    "config-opts": [
     "-Dlibdir=lib",
     "-Dlibmpv=true",
     "-Dcplayer=false",
     "-Dlua=disabled",
     "-Dalsa=disabled",
     "-Dmanpage-build=disabled",
     "-Dbuild-date=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mpv-player/mpv/archive/refs/tags/v0.41.0.tar.gz",
      "sha256": "ee21092a5ee427353392360929dc64645c54479aefdb5babc5cfbb5fad626209"
     }
    ]
   },
   {
    "name": "navicloud",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/navicloud",
     "cp -a bin lib /app/navicloud/",
     "install -Dm755 navicloud.wrapper /app/bin/navicloud",
     "install -Dm644 navicloud.png /app/share/icons/hicolor/256x256/apps/io.github.akinozgen.NaviCloud.png",
     "install -Dm644 io.github.akinozgen.NaviCloud.desktop /app/share/applications/io.github.akinozgen.NaviCloud.desktop"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/akinozgen/navicloud/releases/download/v1.5.6/NaviCloud-1.5.6-linux-x86_64.tar.gz",
      "sha256": "a45f15df58bce802f6aaf011ed2303ad13eac555fbb8fd89be0c4ca7bd142d7d",
      "strip-components": 1
     },
     {
      "type": "script",
      "dest-filename": "navicloud.wrapper",
      "commands": [
       "#!/bin/sh",
       "export LD_LIBRARY_PATH=\"/app/lib:${LD_LIBRARY_PATH}\"",
       "exec /app/navicloud/bin/NaviCloud \"$@\""
      ]
     },
     {
      "type": "file",
      "path": "io.github.akinozgen.NaviCloud.desktop"
     }
    ]
   }
  ]
 }
}