{
 "app_id": "io.github.dibbayajyotiroy.Fresco",
 "source_url": "https://raw.githubusercontent.com/DibbayajyotiRoy/Fresco/main/flatpak/io.github.dibbayajyotiroy.Fresco.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "48",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=x11",
  "--share=ipc",
  "--filesystem=xdg-run/wayland-0",
  "--filesystem=xdg-run/wayland-1",
  "--device=dri",
  "--filesystem=host:ro",
  "--filesystem=xdg-config/autostart:create",
  "--talk-name=ca.desrt.dconf",
  "--filesystem=xdg-run/dconf",
  "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
  "--talk-name=org.freedesktop.Flatpak",
  "--share=network",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.mpris.MediaPlayer2.*",
  "--socket=pulseaudio",
  "--filesystem=xdg-run/pipewire-0"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-20T13:05:20.104006+00:00",
 "manifest": {
  "app-id": "io.github.dibbayajyotiroy.Fresco",
  "runtime": "org.gnome.Platform",
  "runtime-version": "48",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "fresco",
  "add-extensions": {
   "org.freedesktop.Platform.ffmpeg-full": {
    "directory": "lib/ffmpeg",
    "version": "24.08",
    "add-ld-path": ".",
    "no-autodownload": false,
    "autodelete": false
   }
  },
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--filesystem=xdg-run/wayland-0",
   "--filesystem=xdg-run/wayland-1",
   "--device=dri",
   "--filesystem=host:ro",
   "--filesystem=xdg-config/autostart:create",
   "--talk-name=ca.desrt.dconf",
   "--filesystem=xdg-run/dconf",
   "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
   "--talk-name=org.freedesktop.Flatpak",
   "--share=network",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.mpris.MediaPlayer2.*",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "prepend-ld-library-path": "/app/lib/ffmpeg",
   "env": {
    "CARGO_HOME": "/run/build/fresco/cargo"
   }
  },
  "modules": [
   {
    "name": "libass",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libass/libass/releases/download/0.17.3/libass-0.17.3.tar.xz",
      "sha256": "eae425da50f0015c21f7b3a9c7262a910f0218af469e22e2931462fed3c50959"
     }
    ]
   },
   {
    "name": "libplacebo",
    "buildsystem": "meson",
    "config-opts": [
     "-Dvulkan=disabled",
     "-Ddemos=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/haasn/libplacebo.git",
      "tag": "v6.338.2"
     }
    ]
   },
   {
    "name": "mpv",
    "buildsystem": "meson",
    "config-opts": [
     "-Dlibmpv=true",
     "-Dcplugins=disabled",
     "-Dmanpage-build=disabled",
     "-Dlua=disabled",
     "-Djavascript=disabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mpv-player/mpv/archive/refs/tags/v0.38.0.tar.gz",
      "sha256": "86d9ef40b6058732f67b46d0bbda24a074fae860b3eaae05bab3145041303066"
     }
    ]
   },
   {
    "name": "mpvpaper",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/GhostNaN/mpvpaper.git",
      "tag": "1.4",
      "commit": "8678234c163d0b0b616ec9ff6e5e0e1c87e0e6f4"
     }
    ]
   },
   {
    "name": "ffmpeg-cli",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-doc",
     "--disable-ffplay",
     "--disable-debug"
    ],
    "cleanup": [
     "/include",
     "/lib/libav*",
     "/lib/libsw*",
     "/lib/pkgconfig",
     "/share/ffmpeg"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz",
      "sha256": "40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6"
     }
    ]
   },
   {
    "name": "ffmpegthumbnailer",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DENABLE_GIO=ON",
     "-DENABLE_THUMBNAILER=OFF",
     "-DENABLE_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dirkvdb/ffmpegthumbnailer.git",
      "commit": "43ca9e37d1ee4f0787ae78a63f49a12c072299d1"
     }
    ]
   },
   {
    "name": "fresco",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_NET_OFFLINE": "true"
     }
    },
    "build-commands": [
     "mkdir -p /app/lib/ffmpeg",
     "cargo --offline build --release --all-features",
     "install -Dm755 target/release/fresco /app/bin/fresco-real",
     "install -Dm755 target/release/frescod /app/bin/frescod-real",
     "install -Dm755 flatpak/fresco-wrapper.sh /app/bin/fresco",
     "install -Dm755 flatpak/fresco-wrapper.sh /app/bin/frescod",
     "install -Dm644 data/io.github.dibbayajyotiroy.Fresco.desktop /app/share/applications/io.github.dibbayajyotiroy.Fresco.desktop",
     "install -Dm644 data/io.github.dibbayajyotiroy.Fresco.metainfo.xml /app/share/metainfo/io.github.dibbayajyotiroy.Fresco.metainfo.xml",
     "install -Dm644 data/icons/io.github.dibbayajyotiroy.Fresco.svg /app/share/icons/hicolor/scalable/apps/io.github.dibbayajyotiroy.Fresco.svg"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/DibbayajyotiRoy/Fresco.git",
      "tag": "v1.1.2",
      "commit": "83468c155a78f4bb2e934e340c0f1ef01186d3d5",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}