{
 "app_id": "org.kde.haruna",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.haruna/master/org.kde.haruna.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host:ro",
  "--filesystem=xdg-data/Trash",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--talk-name=org.freedesktop.FileManager1",
  "--own-name=org.mpris.MediaPlayer2.haruna",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 11,
 "fetched_at": "2026-09-20T06:58:26.433431+00:00",
 "manifest": {
  "app-id": "org.kde.haruna",
  "runtime": "org.kde.Platform",
  "runtime-version": 6.11,
  "sdk": "org.kde.Sdk",
  "command": "haruna",
  "rename-icon": "haruna",
  "copy-icon": true,
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=host:ro",
   "--filesystem=home",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--filesystem=xdg-data/Trash",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--talk-name=org.freedesktop.FileManager1",
   "--own-name=org.mpris.MediaPlayer2.haruna",
   "--system-talk-name=org.freedesktop.UDisks2"
  ],
  "cleanup": [
   "*.a",
   "*.la",
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/man",
   "/mkspecs"
  ],
  "modules": [
   {
    "name": "haruna",
    "buildsystem": "cmake-ninja",
    "post-install": [
     "cp -r LICENSES $FLATPAK_DEST/share/licenses/$FLATPAK_ID/haruna/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/haruna/1.8.1/haruna-1.8.1.tar.xz",
      "sha256": "01f154e3161292da606899c3017f863362e00bb2402a2796be5e8d6849fc4b4b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 267594,
       "url-template": "https://download.kde.org/stable/haruna/$version/haruna-$version.tar.xz"
      }
     }
    ],
    "modules": [
     {
      "name": "kfilemetadata",
      "buildsystem": "cmake-ninja",
      "sources": [
       {
        "type": "archive",
        "url": "https://download.kde.org/stable/frameworks/6.28/kfilemetadata-6.28.0.tar.xz",
        "sha256": "015be4aa6986642d3f13903b47c1aae7183d3218888dc4353afe1b1e9dd64c1e"
       },
       {
        "type": "patch",
        "path": "kfilemetadata-fix-reading-mkv.diff"
       }
      ]
     },
     {
      "name": "KDSingleApplication",
      "buildsystem": "cmake-ninja",
      "cleanup": [
       "/share/doc"
      ],
      "builddir": true,
      "config-opts": [
       "-DCMAKE_BUILD_TYPE=Release",
       "-DKDSingleApplication_QT6=ON",
       "-DKDSingleApplication_EXAMPLES=OFF"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/KDAB/KDSingleApplication/archive/refs/tags/v1.2.1.tar.gz",
        "sha256": "e3254ce9dc5ecf6d61ef83264bc61d486a307f0e3c9ed1bb2176f068cdbcbe09",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 370439,
         "stable-only": true,
         "url-template": "https://github.com/KDAB/KDSingleApplication/archive/refs/tags/v$version.tar.gz"
        }
       }
      ]
     },
     {
      "name": "mpvqt",
      "buildsystem": "cmake-ninja",
      "sources": [
       {
        "type": "archive",
        "url": "https://download.kde.org/stable/mpvqt/mpvqt-1.2.0.tar.xz",
        "sha256": "8660ad79c0d60fed77f29b36e1742841466af5405de702c81a121e6eeb625ebb",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 370634,
         "url-template": "https://download.kde.org/stable/mpvqt/mpvqt-$version.tar.xz"
        }
       }
      ],
      "modules": [
       {
        "name": "libmpv",
        "cleanup": [
         "/share/bash-completion",
         "/share/fish",
         "/share/zsh",
         "/share/doc",
         "/share/icons",
         "/share/applications"
        ],
        "buildsystem": "meson",
        "config-opts": [
         "-Dlibmpv=true",
         "-Dlua=enabled",
         "-Ddebug=false",
         "-Dbuild-date=false",
         "-Dalsa=disabled",
         "-Dmanpage-build=disabled"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://github.com/mpv-player/mpv/archive/refs/tags/v0.41.0.tar.gz",
          "sha256": "ee21092a5ee427353392360929dc64645c54479aefdb5babc5cfbb5fad626209",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 5348,
           "stable-only": true,
           "url-template": "https://github.com/mpv-player/mpv/archive/refs/tags/v$version.tar.gz"
          }
         },
         {
          "type": "patch",
          "path": "fix-screenshots.diff"
         }
        ],
        "modules": [
         {
          "name": "luajit",
          "no-autogen": true,
          "make-args": [
           "BUILDMODE=dynamic",
           "PREFIX=${FLATPAK_DEST}"
          ],
          "make-install-args": [
           "PREFIX=${FLATPAK_DEST}"
          ],
          "sources": [
           {
            "type": "git",
            "url": "https://github.com/openresty/luajit2.git",
            "tag": "v2.1-20260914",
            "commit": "ae3d1eecfdbe70b54040779f7b4655e132b9d875",
            "x-checker-data": {
             "type": "git",
             "tag-pattern": "^v([\\d.-]+)$",
             "stable-only": false
            }
           }
          ],
          "cleanup": [
           "/bin"
          ]
         },
         {
          "name": "libplacebo",
          "buildsystem": "meson",
          "config-opts": [
           "-Ddemos=false"
          ],
          "sources": [
           {
            "type": "git",
            "url": "https://github.com/haasn/libplacebo.git",
            "tag": "v7.360.1",
            "commit": "cee9b076f2c63104ccfd497fa79c39a867293ec4",
            "x-checker-data": {
             "type": "git",
             "tag-pattern": "^v([\\d.]+)$"
            }
           }
          ]
         },
         {
          "name": "libXpresent",
          "buildsystem": "autotools",
          "sources": [
           {
            "type": "archive",
            "url": "https://xorg.freedesktop.org/archive/individual/lib/libXpresent-1.0.2.tar.xz",
            "sha256": "4e5b21b4812206a4b223013606ae31170502c1043038777a1ef8f70c09d37602",
            "x-checker-data": {
             "type": "anitya",
             "project-id": 17166,
             "stable-only": true,
             "url-template": "https://xorg.freedesktop.org/archive/individual/lib/libXpresent-$version.tar.xz"
            }
           }
          ]
         },
         {
          "name": "libass",
          "config-opts": [
           "--disable-static"
          ],
          "sources": [
           {
            "type": "archive",
            "url": "https://github.com/libass/libass/releases/download/0.17.5/libass-0.17.5.tar.gz",
            "sha256": "caab4b993dd7be6187c55623b789ed75dddefea6e65938af134637c732fe094a",
            "x-checker-data": {
             "type": "anitya",
             "project-id": 1560,
             "stable-only": true,
             "url-template": "https://github.com/libass/libass/releases/download/$version/libass-$version.tar.gz"
            }
           }
          ]
         },
         {
          "name": "uchardet",
          "buildsystem": "cmake-ninja",
          "config-opts": [
           "-DCMAKE_BUILD_TYPE=Release",
           "-DBUILD_STATIC=0",
           "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
          ],
          "cleanup": [
           "/bin"
          ],
          "sources": [
           {
            "type": "archive",
            "url": "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz",
            "sha256": "e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0",
            "x-checker-data": {
             "type": "anitya",
             "project-id": 9265,
             "stable-only": true,
             "url-template": "https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz"
            }
           }
          ]
         }
        ]
       }
      ]
     },
     {
      "name": "yt-dlp",
      "no-autogen": true,
      "no-make-install": true,
      "make-args": [
       "yt-dlp",
       "PYTHON=/usr/bin/python3"
      ],
      "post-install": [
       "install yt-dlp /app/bin"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/yt-dlp/yt-dlp/archive/refs/tags/2026.08.19.tar.gz",
        "sha256": "a0779c45179a846986a852bce31bddbe9259b594574f75c0ec146d0567058f7e",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 143399,
         "stable-only": true,
         "url-template": "https://github.com/yt-dlp/yt-dlp/archive/refs/tags/$version.tar.gz"
        }
       }
      ]
     }
    ]
   }
  ]
 }
}