{
 "app_id": "io.github.mpc_qt.mpc-qt",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.mpc_qt.mpc-qt/master/io.github.mpc_qt.mpc-qt.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--socket=x11",
  "--device=dri",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--filesystem=/mnt",
  "--filesystem=xdg-music",
  "--filesystem=xdg-public-share",
  "--filesystem=xdg-pictures",
  "--filesystem=/run/media",
  "--filesystem=xdg-download",
  "--filesystem=xdg-videos",
  "--filesystem=/media",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=xdg-run/gamescope-0:ro",
  "--filesystem=home:ro",
  "--filesystem=xdg-desktop",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--own-name=org.mpris.MediaPlayer2.MpcQt",
  "--system-talk-name=org.freedesktop.login1",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 12,
 "fetched_at": "2026-09-20T11:53:21.835419+00:00",
 "manifest": {
  "app-id": "io.github.mpc_qt.mpc-qt",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "mpc-qt",
  "rename-icon": "mpc-qt",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=/media",
   "--filesystem=/run/media",
   "--filesystem=/mnt",
   "--filesystem=xdg-desktop",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-music",
   "--filesystem=xdg-pictures",
   "--filesystem=xdg-public-share",
   "--filesystem=xdg-videos",
   "--filesystem=xdg-run/gamescope-0:ro",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--own-name=org.mpris.MediaPlayer2.MpcQt",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--system-talk-name=org.freedesktop.login1",
   "--system-talk-name=org.freedesktop.UDisks2",
   "--filesystem=home:ro",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons:~/.icons"
  ],
  "cleanup": [
   "*.a",
   "*.la",
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/man",
   "/share/hwdata"
  ],
  "modules": [
   {
    "name": "mpc-qt",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DMPCQT_VERSION=26.07"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mpc-qt/mpc-qt.git",
      "tag": "v26.07",
      "commit": "6e3e9f06a6c58d1abecd4b33c152bb92115ac1ac"
     },
     {
      "type": "patch",
      "paths": [
       "mpc-qt-paletteeditor-Add-missing-color-roles.patch",
       "mpc-qt-Grey-out-palette-editor-colors-when-disabled.patch",
       "mpc-qt-Add-faq-translate-and-contribute-links-to-AppSt.patch"
      ]
     }
    ],
    "modules": [
     {
      "name": "libmpv",
      "cleanup": [
       "/share/bash-completion",
       "/share/zsh",
       "/share/doc",
       "/share/icons",
       "/share/applications"
      ],
      "buildsystem": "meson",
      "config-opts": [
       "-Dlibmpv=true",
       "-Dcplayer=false",
       "-Dlua=enabled",
       "-Ddebug=false",
       "-Dbuild-date=false",
       "-Dalsa=enabled",
       "-Dmanpage-build=disabled",
       "-Dvulkan=disabled",
       "-Dx11=enabled",
       "-Dwayland=enabled",
       "-Ddrm=enabled"
      ],
      "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,
         "is-important": true,
         "url-template": "https://github.com/mpv-player/mpv/archive/refs/tags/v$version.tar.gz"
        }
       },
       {
        "type": "patch",
        "path": "mpv_0.41-fix-screenshot-with-vaapi.patch"
       }
      ],
      "modules": [
       {
        "name": "luajit",
        "no-autogen": true,
        "make-args": [
         "BUILDMODE=dynamic",
         "PREFIX=/app"
        ],
        "make-install-args": [
         "PREFIX=/app"
        ],
        "sources": [
         {
          "type": "git",
          "url": "https://github.com/openresty/luajit2.git",
          "tag": "v2.1-20260724",
          "commit": "982cd8323eafd8604a9e5f2a916aa50b9f67d9ed",
          "x-checker-data": {
           "type": "git",
           "tag-pattern": "^v([\\d.-]+)$",
           "stable-only": false
          }
         }
        ],
        "cleanup": [
         "/bin"
        ]
       },
       {
        "name": "libplacebo",
        "buildsystem": "meson",
        "config-opts": [
         "-Dopengl=enabled",
         "-Dvulkan=disabled",
         "-Dglslang=disabled",
         "-Dd3d11=disabled",
         "-Ddemos=false"
        ],
        "cleanup": [
         "/include",
         "/lib/pkgconfig"
        ],
        "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.]+)$",
           "is-important": true
          }
         }
        ]
       },
       {
        "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": "libdisplay-info",
        "buildsystem": "meson",
        "sources": [
         {
          "type": "archive",
          "url": "https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/0.2.0/libdisplay-info-0.3.0.tar.gz",
          "sha256": "a0fe86d4b43a6347cdd8192f307d19b81d31401fe55251be0576bdbe0b519d7f",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 326668,
           "stable-only": true,
           "url-template": "https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/0.2.0/libdisplay-info-$version.tar.gz"
          }
         }
        ],
        "modules": [
         {
          "name": "hwdata",
          "sources": [
           {
            "type": "archive",
            "url": "https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.410.tar.gz",
            "sha256": "2864b061b179b8ad8cb6a7339ca07678240a183d9cedce8677a4950acaf798e0",
            "x-checker-data": {
             "type": "anitya",
             "project-id": 5387,
             "stable-only": true,
             "url-template": "https://github.com/vcrhonek/hwdata/archive/refs/tags/v$version.tar.gz"
            }
           }
          ]
         }
        ]
       },
       {
        "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,
           "is-important": true,
           "url-template": "https://github.com/yt-dlp/yt-dlp/archive/refs/tags/$version.tar.gz"
          }
         }
        ]
       }
      ]
     },
     {
      "name": "quickjs",
      "buildsystem": "simple",
      "build-commands": [
       "make",
       "make install PREFIX=/app"
      ],
      "cleanup": [
       "/bin/qjsc"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://bellard.org/quickjs/quickjs-2026-06-04.tar.xz",
        "sha256": "b376e839b322978313d929fd20663b11ba58b75df5a46c126dd19ea2fa70ad2a",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 138263,
         "stable-only": true,
         "is-important": true,
         "url-template": "https://bellard.org/quickjs/quickjs-$version.tar.xz"
        }
       }
      ]
     },
     {
      "name": "boost",
      "buildsystem": "simple",
      "build-commands": [
       "./bootstrap.sh --with-libraries=stacktrace,headers",
       "./b2 install variant=release link=shared runtime-link=shared --prefix=/app"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/boostorg/boost/releases/download/boost-1.92.0/boost-1.92.0-cmake.tar.gz",
        "sha256": "f51707c27359a0df0cac1beada86de31bb5eed5e8285592dadec384df99c2984",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 6845,
         "stable-only": true,
         "url-template": "https://github.com/boostorg/boost/releases/download/boost-$version/boost-$version-cmake.tar.gz"
        }
       }
      ]
     }
    ]
   }
  ]
 }
}