{
 "app_id": "moe.karaokes.mugen",
 "source_url": "https://raw.githubusercontent.com/flathub/moe.karaokes.mugen/master/moe.karaokes.mugen.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-run/app/com.discordapp.Discord:create",
  "--filesystem=~/KaraokeMugen:create",
  "--filesystem=xdg-run/app/com.discordapp.DiscordCanary:create",
  "--talk-name=org.gnome.SessionManager",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=com.canonical.dbusmenu",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--own-name=org.mpris.MediaPlayer2.KaraokeMugen.*",
  "--system-talk-name=org.freedesktop.UPower"
 ],
 "module_count": 55,
 "fetched_at": "2026-09-18T07:33:24.080948+00:00",
 "manifest": {
  "app-id": "moe.karaokes.mugen",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node24"
  ],
  "command": "km-wrapper",
  "separate-locales": false,
  "finish-args": [
   "--filesystem=~/KaraokeMugen:create",
   "--filesystem=xdg-run/app/com.discordapp.Discord:create",
   "--filesystem=xdg-run/app/com.discordapp.DiscordCanary:create",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--device=all",
   "--own-name=org.mpris.MediaPlayer2.KaraokeMugen.*",
   "--talk-name=org.gnome.SessionManager",
   "--share=network",
   "--system-talk-name=org.freedesktop.UPower",
   "--talk-name=com.canonical.AppMenu.Registrar",
   "--talk-name=com.canonical.dbusmenu",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--env=LC_NUMERIC=C",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons"
  ],
  "cleanup": [
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "git",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir ${FLATPAK_DEST}/libexec",
     "cp -av /usr/bin/git{,-cvsserver,-lfs,-receive-pack,-shell,-upload-archive,-upload-pack} ${FLATPAK_DEST}/bin",
     "cp -arv /usr/libexec/git-core ${FLATPAK_DEST}/libexec",
     "cp -arv /usr/share/git{-core,web} ${FLATPAK_DEST}/share"
    ]
   },
   {
    "name": "parse-yapp",
    "buildsystem": "simple",
    "build-commands": [
     "perl Makefile.PL INSTALL_BASE=/app",
     "make",
     "make install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-1.21.tar.gz",
      "sha256": "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5"
     }
    ]
   },
   {
    "name": "libXmu",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/xorg/lib/libxmu.git",
      "tag": "libXmu-1.3.1",
      "commit": "cdf280f6611932f79ab872832974e8043b1cad6d",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^libXmu-([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "xclip",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/astrand/xclip.git",
      "tag": "0.13",
      "commit": "9aa7090c3b8b437c6489edca32ae43d82e0c1281",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(\\d+\\.\\d+)$"
      }
     }
    ]
   },
   {
    "name": "libXpresent",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/xorg/lib/libxpresent.git",
      "tag": "libXpresent-1.0.2",
      "commit": "4d92149372461bf575e8a09b1064a2884c38c3aa",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^libXpresent-([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "luajit",
    "no-autogen": true,
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/LuaJIT/LuaJIT.git",
      "disable-shallow-clone": true,
      "commit": "7152e15489d2077cd299ee23e3d51a4c599ab14f"
     },
     {
      "type": "shell",
      "commands": [
       "sed -i 's|/usr/local|/app|' ./Makefile"
      ]
     }
    ]
   },
   {
    "name": "uchardet",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_STATIC=0",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz",
      "sha256": "e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0",
      "x-checker-data": {
       "type": "html",
       "url": "https://www.freedesktop.org/software/uchardet/releases/",
       "version-pattern": "uchardet-(\\d\\.\\d+\\.?\\d*).tar.xz",
       "url-template": "https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libass",
    "cleanup": [
     "/include",
     "/lib/pkgconfig"
    ],
    "config-opts": [
     "--disable-static",
     "--enable-asm",
     "--enable-harfbuzz",
     "--enable-fontconfig"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libass/libass.git",
      "tag": "0.17.5",
      "commit": "4a05d8127f525943ebf45fdc6497c9e665947f0d",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(\\d\\.\\d{1,3}\\.\\d{1,2})$"
      }
     }
    ]
   },
   {
    "name": "zimg",
    "config-opts": [
     "--disable-static"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/doc"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://api.github.com/repos/sekrit-twc/zimg/tarball/release-3.0.6",
      "sha256": "15140e491c4ce9db5f02a038d8a1eb53e9151b55eeed06a2899425a6ebfef367",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/sekrit-twc/zimg/releases/latest",
       "url-query": ".tarball_url",
       "version-query": ".tag_name | sub(\"^release-\"; \"\")",
       "timestamp-query": ".published_at"
      }
     }
    ]
   },
   {
    "name": "Tesseract",
    "config-opts": [
     "--disable-static"
    ],
    "modules": [
     {
      "name": "Leptonica",
      "config-opts": [
       "--disable-static",
       "--with-pic"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "http://www.leptonica.org/source/leptonica-1.87.0.tar.gz",
        "sha256": "c73363397f96eb1295602bf44d708a994ad42046c791bf03ea0505d829bdb6a7",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 1549,
         "stable-only": true,
         "url-template": "http://www.leptonica.org/source/leptonica-$version.tar.gz"
        }
       }
      ],
      "cleanup": [
       "/bin"
      ]
     }
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tesseract-ocr/tesseract.git",
      "tag": "5.5.3",
      "commit": "db0ec62f81b0737fbbe184d8fea40af5738f8eef",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/tesseract-ocr/tesseract/releases/latest",
       "timestamp-query": ".published_at",
       "tag-query": ".tag_name",
       "version-query": ".tag_name"
      }
     }
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "ImageMagick",
    "config-opts": [
     "--disable-static",
     "--disable-docs",
     "--with-hdri",
     "--with-pic"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ImageMagick/ImageMagick/archive/7.1.2-29.tar.gz",
      "sha256": "b05924ad73c6932ba62c9b32f338f0619b90b767162c8b767f3566556187a284",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1372,
       "stable-only": true,
       "url-template": "https://github.com/ImageMagick/ImageMagick/archive/$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "/bin",
     "/etc",
     "/lib/ImageMagick*",
     "/share/ImageMagick*"
    ]
   },
   {
    "name": "rubberband",
    "buildsystem": "meson",
    "cleanup": [
     "/include",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/breakfastquay/rubberband.git",
      "tag": "v4.0.0",
      "commit": "1d95888bec3ae0a17c0c4af791810d5a63f6bc35",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "mujs",
    "buildsystem": "autotools",
    "no-autogen": true,
    "make-args": [
     "release"
    ],
    "make-install-args": [
     "prefix=/app",
     "install-shared"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/ccxvii/mujs.git",
      "tag": "1.3.8",
      "commit": "307f18c4216420f2f56e22d8e7040baa39a6304a",
      "x-checker-data": {
       "type": "git",
       "url": "https://codeberg.org/api/v1/repos/ccxvii/mujs/tags",
       "tag-pattern": "^([\\d.]+)$"
      }
     },
     {
      "type": "file",
      "url": "https://www.unicode.org/Public/16.0.0/ucd/UnicodeData.txt",
      "sha256": "ff58e5823bd095166564a006e47d111130813dcf8bf234ef79fa51a870edb48f"
     },
     {
      "type": "file",
      "url": "https://www.unicode.org/Public/16.0.0/ucd/SpecialCasing.txt",
      "sha256": "8d5de354eef79f2395a54c9c7dcebbaf3d30fc962d0f85611ea97aa973a0c451"
     }
    ]
   },
   {
    "name": "nv-codec-headers",
    "cleanup": [
     "*"
    ],
    "no-autogen": true,
    "make-install-args": [
     "PREFIX=/app"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/FFmpeg/nv-codec-headers.git",
      "tag": "n13.1.15.0",
      "commit": "0a6fba9a2820628b8103464f4c8753ee05838baa",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^n([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "x264",
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "config-opts": [
     "--disable-cli",
     "--enable-shared"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/x264.git",
      "commit": "b35605ace3ddf7c1a5d67a2eb553f034aef41d55"
     }
    ]
   },
   {
    "name": "x265",
    "buildsystem": "cmake",
    "subdir": "source",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_STATIC=0"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://bitbucket.org/multicoreware/x265_git.git",
      "tag": "4.2",
      "commit": "e444744c03978c1fb4e037168967020cf2648427",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "libmysofa",
    "buildsystem": "cmake",
    "config-opts": [
     "-DBUILD_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "commit": "6cc5b15a73e9bd97810d03767082edda7f315881",
      "tag": "v1.3.5",
      "url": "https://github.com/hoene/libmysofa.git",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "libbs2b",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://downloads.sourceforge.net/sourceforge/bs2b/libbs2b-3.1.0.tar.gz",
      "sha256": "6aaafd81aae3898ee40148dd1349aab348db9bfae9767d0e66e0b07ddd4b2528",
      "x-checker-data": {
       "type": "html",
       "url": "https://sourceforge.net/projects/bs2b/files/libbs2b/",
       "version-pattern": "projects/bs2b/files/libbs2b/(\\d+\\.\\d+\\.\\d+)",
       "url-template": "https://downloads.sourceforge.net/sourceforge/bs2b/libbs2b-$version.tar.gz"
      }
     },
     {
      "type": "shell",
      "commands": [
       "sed -i -e 's/lzma/xz/g' configure.ac",
       "autoreconf -vif"
      ]
     }
    ]
   },
   {
    "name": "ffmpeg",
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/ffmpeg/examples"
    ],
    "config-opts": [
     "--disable-debug",
     "--disable-doc",
     "--disable-static",
     "--enable-encoder=png",
     "--enable-gnutls",
     "--enable-gpl",
     "--enable-shared",
     "--enable-version3",
     "--enable-libaom",
     "--enable-libass",
     "--enable-libbs2b",
     "--enable-libdav1d",
     "--enable-libfreetype",
     "--enable-libmp3lame",
     "--enable-libopus",
     "--enable-libjxl",
     "--enable-libmysofa",
     "--enable-libtheora",
     "--enable-libvorbis",
     "--enable-libvpx",
     "--enable-libx264",
     "--enable-libx265",
     "--enable-libwebp",
     "--enable-libxml2",
     "--enable-vulkan",
     "--enable-libdrm",
     "--enable-vaapi"
    ],
    "post-install": [
     "install -d /app/km",
     "install -d /app/km/app/",
     "install -d /app/km/app/bin",
     "mv /app/bin/ffmpeg /app/km/app/bin/ffmpeg"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/FFmpeg/FFmpeg.git",
      "commit": "d32b387f2b0a484599d4587d651891f0c63c4238",
      "tag": "n9.0",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^n([\\d.]{3,7})$"
      }
     }
    ]
   },
   {
    "name": "libsixel",
    "buildsystem": "autotools",
    "cleanup": [
     "/include",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://api.github.com/repos/saitoha/libsixel/tarball/v1.8.7-r2",
      "sha256": "6242586083cc37d898825c25dabd8c7c0abb62fa29ae54edacf2b5eba4db1167",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/saitoha/libsixel/releases/latest",
       "url-query": ".tarball_url",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "timestamp-query": ".published_at"
      }
     }
    ]
   },
   {
    "name": "vapoursynth",
    "config-opts": [
     "--with-python-prefix=${FLATPAK_DEST}"
    ],
    "sources": [
     {
      "type": "archive",
      "dest-filename": "vapoursynth.tar.gz",
      "url": "https://api.github.com/repos/vapoursynth/vapoursynth/tarball/R73",
      "sha256": "9c02a68b29eb446b2d0b1be3d831420fdc2bd703aacccc468faef9f94e3bf85f",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/vapoursynth/vapoursynth/releases/tags/R73",
       "version-query": ".name",
       "timestamp-query": ".published_at",
       "url-query": ".tarball_url"
      }
     }
    ]
   },
   {
    "name": "libplacebo",
    "buildsystem": "meson",
    "config-opts": [
     "-Dvulkan=enabled",
     "-Dshaderc=enabled"
    ],
    "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.]+)$"
      }
     }
    ]
   },
   {
    "name": "hwdata",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.394.tar.gz",
      "sha256": "b7c3fd7214a3b7c49d2661db127a712dc11cffd1799f793947aa1cb20aaf3298"
     }
    ]
   },
   {
    "name": "libdisplay-info",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/0.2.0/libdisplay-info-0.2.0.tar.gz",
      "sha256": "f7331fcaf5527251b84c8fb84238d06cd2f458422ce950c80e86c72927aa8c2b"
     }
    ]
   },
   {
    "name": "mpv",
    "buildsystem": "meson",
    "config-opts": [
     "-Dalsa=enabled",
     "-Dbuild-date=false",
     "-Dcdda=disabled",
     "-Dcplayer=true",
     "-Dcplugins=enabled",
     "-Dcuda-hwaccel=enabled",
     "-Dcuda-interop=enabled",
     "-Ddmabuf-wayland=enabled",
     "-Ddrm=enabled",
     "-Ddvbin=disabled",
     "-Ddvdnav=disabled",
     "-Degl-drm=enabled",
     "-Degl-wayland=enabled",
     "-Degl-x11=enabled",
     "-Degl=enabled",
     "-Dgbm=enabled",
     "-Dgl-x11=enabled",
     "-Dgl=enabled",
     "-Diconv=enabled",
     "-Djack=enabled",
     "-Djavascript=enabled",
     "-Djpeg=enabled",
     "-Dlcms2=enabled",
     "-Dlibarchive=enabled",
     "-Dlibavdevice=enabled",
     "-Dlibbluray=disabled",
     "-Dlibmpv=true",
     "-Dlua=enabled",
     "-Dopenal=enabled",
     "-Dpipewire=enabled",
     "-Dplain-gl=enabled",
     "-Dpulse=enabled",
     "-Drubberband=enabled",
     "-Duchardet=enabled",
     "-Dvaapi-drm=enabled",
     "-Dvaapi-wayland=enabled",
     "-Dvaapi-x11=enabled",
     "-Dvaapi=enabled",
     "-Dvapoursynth=enabled",
     "-Dvdpau-gl-x11=enabled",
     "-Dvdpau=enabled",
     "-Dvector=enabled",
     "-Dvulkan=enabled",
     "-Dwayland=enabled",
     "-Dwerror=false",
     "-Dx11=enabled",
     "-Dxv=enabled",
     "-Dzimg=enabled",
     "-Dzlib=enabled"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig"
    ],
    "post-install": [
     "install -d /app/km",
     "install -d /app/km/app/",
     "install -d /app/km/app/bin",
     "mv /app/bin/mpv /app/km/app/bin/mpv"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mpv-player/mpv.git",
      "tag": "v0.41.0",
      "commit": "41f6a645068483470267271e1d09966ca3b9f413",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "ed",
    "build-options": {
     "no-debuginfo": true
    },
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/ed/ed-1.22.5.tar.lz",
      "mirror-urls": [
       "https://mirrors.kernel.org/gnu/ed/ed-1.20.1.tar.lz",
       "https://mirrors.ocf.berkeley.edu/gnu/ed/ed-1.20.1.tar.lz",
       "https://ftpmirror.gnu.org/gnu/ed/ed-1.20.1.tar.lz"
      ],
      "sha256": "56e107ddc2f29dad6690376c15bf9751509e1ee3b8241710e44edbe5c3a158cc",
      "x-checker-data": {
       "type": "html",
       "url": "https://ftp.gnu.org/gnu/ed/",
       "version-pattern": "ed-(\\d\\.\\d+\\.?\\d*).tar.lz",
       "url-template": "https://ftp.gnu.org/gnu/ed/ed-$version.tar.lz"
      }
     }
    ]
   },
   {
    "name": "bc",
    "build-options": {
     "no-debuginfo": true
    },
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/bc/bc-1.08.2.tar.gz",
      "mirror-urls": [
       "https://mirrors.kernel.org/gnu/bc/bc-1.07.1.tar.gz",
       "https://mirrors.ocf.berkeley.edu/gnu/bc/bc-1.07.1.tar.gz",
       "https://ftpmirror.gnu.org/gnu/bc/bc-1.07.1.tar.gz"
      ],
      "sha256": "ae470fec429775653e042015edc928d07c8c3b2fc59765172a330d3d87785f86",
      "x-checker-data": {
       "type": "html",
       "url": "https://ftp.gnu.org/gnu/bc/",
       "version-pattern": "bc-(\\d\\.\\d+\\.?\\d*).tar.gz",
       "url-template": "https://ftp.gnu.org/gnu/bc/bc-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "python_dateutil",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app six*.whl python_dateutil*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl",
      "sha256": "4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274",
      "x-checker-data": {
       "type": "pypi",
       "name": "six",
       "packagetype": "bdist_wheel"
      }
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl",
      "sha256": "a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427",
      "x-checker-data": {
       "type": "pypi",
       "name": "python_dateutil",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "urllib3",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app urllib3*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl",
      "sha256": "9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897",
      "x-checker-data": {
       "type": "pypi",
       "name": "urllib3",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "soupsieve",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app soupsieve*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/eb/dc/ad025c1ee131eba60c69f4dd5779b18fcf1e6b21a343e2162a84d5d133c7/soupsieve-2.9.2-py3-none-any.whl",
      "sha256": "8089a26fd974ca7a1f30276d3d8492ab266ab15af581642dfe8aa162e0c1c823",
      "x-checker-data": {
       "type": "pypi",
       "name": "soupsieve",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "rebulk",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app rebulk-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/01/44/6a16b13cb50ca25cc88928bf85adef1227d21add9c4cd830958d0124d48b/rebulk-6.0.1-py3-none-any.whl",
      "sha256": "fe67fd0af60962c7f3957fa01ef0039c43631c09146228698ee22e20ac33907e",
      "x-checker-data": {
       "type": "pypi",
       "name": "rebulk",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "pbr",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app pbr-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/c0/db/61efa0d08a99f897ef98256b03e563092d36cc38dc4ebe4a85020fe40b31/pbr-7.0.3-py2.py3-none-any.whl",
      "sha256": "ff223894eb1cd271a98076b13d3badff3bb36c424074d26334cd25aebeecea6b",
      "x-checker-data": {
       "type": "pypi",
       "name": "pbr",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "idna",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app idna-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/1e/5e/d4e9f1a599fb8e573b7b87160658329fbf28d19eac2718f51fc3def3aa5a/idna-3.18-py3-none-any.whl",
      "sha256": "7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2",
      "x-checker-data": {
       "type": "pypi",
       "name": "idna",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "decorator",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app decorator-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/05/7f/798705f5296a58ca505d600456748d1be48078eac8a7050d8a98bc9edb89/decorator-5.3.1-py3-none-any.whl",
      "sha256": "f47fe6fdbd2edd623ecfe36875d37aba411624e2670dd395dddae1358689bb3c",
      "x-checker-data": {
       "type": "pypi",
       "name": "decorator",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "charset_normalizer",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app charset_normalizer-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/98/2b/f97f1c193fb855c345d678f5077d6926034db0722df74c8f057020e05a25/charset_normalizer-3.4.9-py3-none-any.whl",
      "sha256": "68e5f26a1ad57ded6d1cfb85331d1c1a195314756471d97758c48498bb4dcdf5",
      "x-checker-data": {
       "type": "pypi",
       "name": "charset_normalizer",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "certifi",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app certifi-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl",
      "sha256": "62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775",
      "x-checker-data": {
       "type": "pypi",
       "name": "certifi",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "stevedore",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app stevedore-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/62/8d/008761f6e1000600e5303db30d05724bdcf3d2d186cbb59fac79b52e39ed/stevedore-5.9.0-py3-none-any.whl",
      "sha256": "e520945d4c257700eddc1eb1d79df04b2ea578eef185e0e3fa5b442fc848d3f7",
      "x-checker-data": {
       "type": "pypi",
       "name": "stevedore",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "requests",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app requests-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl",
      "sha256": "2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0",
      "x-checker-data": {
       "type": "pypi",
       "name": "requests",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "rarfile",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app rarfile-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/f5/36/ffd87452bf72310dfd1185ade33e5b8be374ab370d19573a8197ca25c95b/rarfile-4.5-py3-none-any.whl",
      "sha256": "c74341f4b9a3a3ebb35ef396d59daf059eb028f34995a7162950a41d97b84de9",
      "x-checker-data": {
       "type": "pypi",
       "name": "rarfile",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "pytz",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app pytz-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/0f/7b/39c34ca613b0b198cb866466651b26b045e2009864c5183c979a3b83f383/pytz-2026.3.post1-py2.py3-none-any.whl",
      "sha256": "dd95840dd199baea12d9cc096a1d452caa6596a1c1e4b5f3dbd1541855d5e815",
      "x-checker-data": {
       "type": "pypi",
       "name": "pytz",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "pysrt",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py install --prefix=/app --root=/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/31/1a/0d858da1c6622dcf16011235a2639b0a01a49cecf812f8ab03308ab4de37/pysrt-1.1.2.tar.gz",
      "sha256": "b4f844ba33e4e7743e9db746492f3a193dc0bc112b153914698e7c1cdeb9b0b9",
      "x-checker-data": {
       "type": "pypi",
       "name": "pysrt"
      }
     }
    ]
   },
   {
    "name": "babelfish",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app babelfish-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/95/a1/bd4f759db13cd8beb9c9f68682aced5d966781b9d7380cf514a306f56762/babelfish-0.6.1-py3-none-any.whl",
      "sha256": "512f1501d4c8f7d38f0921f48660be7542de1a7b24abb6a6a65324a670150293",
      "x-checker-data": {
       "type": "pypi",
       "name": "babelfish",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "guessit",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app guessit-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/4c/87/90c2040ffc623ab90993eee9e03ade9ce8168de4d04948b77004d17032c1/guessit-4.4.0-py3-none-any.whl",
      "sha256": "565bf82dd6dc8801f357b2eec6a1dd447007f398dbebd06b7b440e303e2df3bc",
      "x-checker-data": {
       "type": "pypi",
       "name": "guessit",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "enzyme",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app enzyme-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/67/bc/be0fbce0eb198f4361f462520122151b0ec347ecaeb5d349cf36ae0ac751/enzyme-0.5.2-py3-none-any.whl",
      "sha256": "5a85306c136368d78f299bb74bf0c5f5d37e2689adc5caec5aba5ee2f029296b",
      "x-checker-data": {
       "type": "pypi",
       "name": "enzyme",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "typing-extensions",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app typing*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl",
      "sha256": "481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8",
      "x-checker-data": {
       "type": "pypi",
       "name": "typing-extensions",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "dogpile",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app dogpile*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/dc/80/12235e5b75bb2c586733280854f131b86051e0bbdfb55349ff70d0f72cf9/dogpile_cache-1.5.0-py3-none-any.whl",
      "sha256": "dc7b47d37844db15e8fdc0243c1b58857a2ddc52a5118237a97127bac200e18d",
      "x-checker-data": {
       "type": "pypi",
       "name": "dogpile.cache",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "click",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app click-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/fb/e2/79c688af8b210d232694e31e59da9f6ec747bae31c3f5946e4e9b98860d5/click-8.4.2-py3-none-any.whl",
      "sha256": "e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76",
      "x-checker-data": {
       "type": "pypi",
       "name": "click",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "chardet",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app chardet-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/36/6b/f195e0d66b1e18ccbcc3adc52c1c7e1263203e70b9bbe12c5a4198d1935b/chardet-7.5.1-py3-none-any.whl",
      "sha256": "ba7e9b6c15b4fcdf07ae675e5116dee610425f9ad6955c9bdb6bf99aed2e555d",
      "x-checker-data": {
       "type": "pypi",
       "name": "chardet",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "beautifulsoup4",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app beautifulsoup4-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/88/c6/92fcd42f1ba33e1184263f25bfabf3d27c383410470f169e4b8163bf9c17/beautifulsoup4-4.15.0-py3-none-any.whl",
      "sha256": "d6f88de62e1d4e38ecb1077eb9724cd0eff29d2a08ca16a401e9b9e93f117cf9",
      "x-checker-data": {
       "type": "pypi",
       "name": "beautifulsoup4",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "appdirs",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app appdirs-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl",
      "sha256": "a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128",
      "x-checker-data": {
       "type": "pypi",
       "name": "appdirs",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "mpv_inhibit_gnome",
    "buildsystem": "simple",
    "build-commands": [
     "make",
     "install -D lib/mpv_inhibit_gnome.so /app/etc/mpv/scripts"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Guldoman/mpv_inhibit_gnome.git",
      "tag": "v0.1.3",
      "commit": "9069be0f15fa2c222d78a183d4aa1477d8a8f2cd",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "patch",
    "buildsystem": "simple",
    "build-options": {
     "no-debuginfo": true
    },
    "build-commands": [
     "./bootstrap",
     "./configure",
     "make",
     "install -d /app/km",
     "install -d /app/km/app/",
     "install -d /app/km/app/bin",
     "mv src/patch /app/km/app/bin/patch"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://https.git.savannah.gnu.org/git/patch.git",
      "commit": "48ceda8200aaf30c3ce42c31cd70ff6087db2425",
      "tag": "v2.8"
     }
    ]
   },
   {
    "name": "postgres",
    "buildsystem": "simple",
    "build-options": {
     "no-debuginfo": true
    },
    "build-commands": [
     "./configure --prefix=/app/km/app/bin/postgres",
     "make",
     "make install",
     "cd contrib ; make ; make install",
     "ls /app/km/app/bin/postgres/share/extension/",
     "rm -Rf /app/km/app/bin/postgres/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://git.postgresql.org/git/postgresql.git",
      "commit": "62d6c7d3df6287f1bd83199c1a746e50d31571a0",
      "tag": "REL_18_3"
     }
    ]
   },
   {
    "name": "karaokemugen",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/node24/bin",
     "env": {
      "XDG_CACHE_HOME": "/run/build/karaokemugen/flatpak-node/cache",
      "npm_config_nodedir": "/usr/lib/sdk/node24",
      "YARN_GLOBAL_FOLDER": "/run/build/karaokemugen/flatpak-node/yarn-berry",
      "YARN_ENABLE_INLINE_BUILDS": "1",
      "YARN_ENABLE_TELEMETRY": "0",
      "YARN_ENABLE_NETWORK": "0",
      "YARN_ENABLE_GLOBAL_CACHE": "0"
     }
    },
    "build-commands": [
     "install -D sentry-cli-Linux-$(gcc -dumpmachine | awk -F- {'print $1'}) /app/bin/sentry-cli",
     "install -d v8.14.5/",
     "sed -i 's/\\\"karaokemugen-app\\\"/\\\"moe.karaokes.mugen\\\"/g' package.json",
     "sed --in-place 's/configuration.get(`lockfileFilename`)/\"yarn.lock\"/g' $FLATPAK_BUILDER_BUILDDIR/flatpak-node/flatpak-yarn.js",
     "yarn plugin import $FLATPAK_BUILDER_BUILDDIR/flatpak-node/flatpak-yarn.js",
     "yarn convertToZip $(which yarn)",
     "SENTRYCLI_USE_LOCAL=1 yarn install",
     "yarn remove corepack",
     "yarn build",
     "yarn installkmfrontend",
     "NODE_OPTIONS=--openssl-legacy-provider yarn buildkmfrontend",
     "git rev-parse HEAD | head -c 8 > assets/sha.txt",
     ". flatpak-node/electron-builder-arch-args.sh; npx electron-builder --dir -c.compression=store -c.mac.identity=null $ELECTRON_BUILDER_ARCH_ARGS",
     "cp -r packages/linux*unpacked/* /app/km/",
     "install -d /app/km/app/",
     "install -d /app/km/app/bin",
     "install -Dm755 stub_sandbox /app/km/chrome-sandbox",
     "install -Dm755 km-wrapper /app/bin/km-wrapper",
     "install -d /app/share/applications",
     "install -Dm644 moe.karaokes.mugen.desktop \"/app/share/applications/${FLATPAK_ID}.desktop\"",
     "install -Dm644 build/icon512.png \"/app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png\"",
     "install -Dm644 moe.karaokes.mugen.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.com/karaokemugen/code/karaokemugen-app",
      "commit": "d0b073e1ac389f3b75c50d0593c04af3838a7dd1",
      "tag": "9.0.60",
      "x-checker-data": {
       "type": "git",
       "is-main-source": true
      }
     },
     "generated-sources.json",
     {
      "type": "script",
      "dest-filename": "stub_sandbox",
      "commands": [
       "echo Stub sandbox ignoring command: $@\nexit 1\n"
      ]
     },
     {
      "type": "file",
      "path": "km-wrapper"
     },
     {
      "type": "file",
      "path": "moe.karaokes.mugen.metainfo.xml"
     },
     {
      "type": "file",
      "path": "moe.karaokes.mugen.desktop"
     },
     {
      "type": "file",
      "url": "https://downloads.sentry-cdn.com/sentry-cli/3.4.0/sentry-cli-Linux-x86_64",
      "sha256": "803556dd09de4fe54639c4d2e696315fd5a67dda3f8fe8dfe52a942ead5a2ae1",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "file",
      "url": "https://downloads.sentry-cdn.com/sentry-cli/3.4.0/sentry-cli-Linux-aarch64",
      "sha256": "1273fe22639e394e0c8d2bd097da13b25139e75e977c5ce44c6f54130664ea45",
      "only-arches": [
       "aarch64"
      ]
     }
    ]
   }
  ]
 }
}