{
 "app_id": "net.jebster.Ravilo",
 "source_url": "https://raw.githubusercontent.com/jeggy/jellystructure/main/flatpak/net.jebster.Ravilo.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--socket=x11",
  "--share=ipc",
  "--share=network",
  "--device=dri",
  "--socket=pulseaudio"
 ],
 "module_count": 7,
 "fetched_at": "2026-10-05T15:54:41.438030+00:00",
 "manifest": {
  "app-id": "net.jebster.Ravilo",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk21"
  ],
  "command": "ravilo",
  "separate-locales": false,
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--device=dri",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/gradle",
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/man",
   "/share/doc",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "libass",
    "buildsystem": "meson",
    "config-opts": [
     "-Ddefault_library=shared",
     "-Dfontconfig=enabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libass/libass/releases/download/0.17.4/libass-0.17.4.tar.xz",
      "sha256": "78f1179b838d025e9c26e8fef33f8092f65611444ffa1bfc0cfac6a33511a05a"
     }
    ]
   },
   {
    "name": "nv-codec-headers",
    "buildsystem": "simple",
    "build-commands": [
     "make PREFIX=/app install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/FFmpeg/nv-codec-headers.git",
      "tag": "n13.1.15.0",
      "commit": "0a6fba9a2820628b8103464f4c8753ee05838baa"
     }
    ]
   },
   {
    "name": "libplacebo",
    "buildsystem": "meson",
    "config-opts": [
     "-Ddefault_library=shared",
     "-Dopengl=enabled",
     "-Dvulkan=disabled",
     "-Dshaderc=disabled",
     "-Dglslang=disabled",
     "-Dlcms=disabled",
     "-Ddemos=false",
     "-Dtests=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/libplacebo.git",
      "tag": "v7.351.0",
      "commit": "3188549fba13bbdf3a5a98de2a38c2e71f04e21e"
     }
    ]
   },
   {
    "name": "libXpresent",
    "sources": [
     {
      "type": "archive",
      "url": "https://xorg.freedesktop.org/archive/individual/lib/libXpresent-1.0.1.tar.xz",
      "sha256": "b964df9e5a066daa5e08d2dc82692c57ca27d00b8cc257e8e960c9f1cf26231b"
     }
    ]
   },
   {
    "name": "zimg",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static",
     "--disable-testapp",
     "--disable-example",
     "--disable-unit-test"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/sekrit-twc/zimg.git",
      "tag": "release-3.0.6",
      "commit": "f819b14e8f39d1282400b0d9543e8ef73c1b2bbd"
     }
    ]
   },
   {
    "name": "mpv",
    "buildsystem": "meson",
    "config-opts": [
     "-Dlibmpv=true",
     "-Dcplayer=false",
     "-Dbuild-date=false",
     "-Dmanpage-build=disabled",
     "-Dlua=disabled",
     "-Djavascript=disabled",
     "-Dlibarchive=disabled",
     "-Duchardet=disabled",
     "-Drubberband=disabled",
     "-Dvulkan=disabled",
     "-Dvaapi=enabled",
     "-Dcuda-hwaccel=enabled",
     "-Dpipewire=enabled",
     "-Dpulse=enabled",
     "-Dalsa=disabled",
     "-Dwayland=enabled",
     "-Dx11=enabled",
     "-Degl=enabled",
     "-Dgl=enabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mpv-player/mpv/archive/refs/tags/v0.41.0.tar.gz",
      "sha256": "ee21092a5ee427353392360929dc64645c54479aefdb5babc5cfbb5fad626209"
     }
    ]
   },
   {
    "name": "ravilo",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "JAVA_HOME": "/usr/lib/sdk/openjdk21/jvm/openjdk-21",
      "GRADLE_USER_HOME": "/run/build/ravilo/.gradle-home",
      "GRADLE_OPTS": "-Dorg.gradle.daemon=false"
     }
    },
    "build-commands": [
     "gradle/bin/gradle --offline --no-daemon --console=plain --init-script flatpak/gradle-offline.init.gradle.kts -Pravilo.desktopOnly=true -Pravilo.flatpakOfflineRepo=/run/build/ravilo/offline-repository -Pkotlin.compiler.execution.strategy=in-process -Pjellystructure.version=@VERSION@ -Pravilo.macPackageVersion=@VERSION@.0 :ravilo-desktop:createDistributable",
     "mkdir -p /app/ravilo && cp -a ravilo-desktop/build/compose/binaries/main/app/Ravilo/. /app/ravilo/",
     "install -Dm755 flatpak/ravilo /app/bin/ravilo",
     "install -Dm644 ravilo-desktop/linux/net.jebster.Ravilo.desktop -t /app/share/applications",
     "sed -e 's/%VERSION%/@VERSION@/g' -e 's/%DATE%/@DATE@/g' -e 's/%COMMIT%/@COMMIT@/g' ravilo-desktop/linux/net.jebster.Ravilo.metainfo.xml > net.jebster.Ravilo.metainfo.xml",
     "install -Dm644 net.jebster.Ravilo.metainfo.xml -t /app/share/metainfo",
     "install -Dm644 ravilo-desktop/icons/ravilo.png /app/share/icons/hicolor/512x512/apps/net.jebster.Ravilo.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/jeggy/jellystructure.git",
      "tag": "v@VERSION@",
      "commit": "@COMMIT@",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     {
      "type": "archive",
      "url": "https://services.gradle.org/distributions/gradle-9.2.1-bin.zip",
      "sha256": "72f44c9f8ebcb1af43838f45ee5c4aa9c5444898b3468ab3f4af7b6076c5bc3f",
      "dest": "gradle"
     },
     "flatpak-sources.json"
    ]
   }
  ]
 }
}