{
 "app_id": "io.github.ripose_jp.Memento",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.ripose_jp.Memento/master/io.github.ripose_jp.Memento.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--filesystem=xdg-pictures",
  "--filesystem=/tmp",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=xdg-videos",
  "--filesystem=host:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.ScreenSaver"
 ],
 "module_count": 40,
 "fetched_at": "2026-09-17T16:12:06.897686+00:00",
 "manifest": {
  "app-id": "io.github.ripose_jp.Memento",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "memento",
  "rename-desktop-file": "memento.desktop",
  "rename-icon": "memento",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all",
   "--share=network",
   "--socket=pulseaudio",
   "--filesystem=/tmp:rw",
   "--filesystem=xdg-pictures:rw",
   "--filesystem=xdg-videos:rw",
   "--filesystem=host:ro",
   "--env=LC_NUMERIC=C",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--env=YT_DLP_JS_RUNTIME=deno",
   "--talk-name=org.freedesktop.ScreenSaver"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/man",
   "/share/aclocal",
   "/share/doc",
   "/share/info",
   "/share/man",
   "/share/pkgconfig",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "lmdb",
    "make-install-args": [
     "prefix=/app"
    ],
    "no-autogen": true,
    "subdir": "libraries/liblmdb",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/LMDB/lmdb/archive/LMDB_0.9.22.tar.gz",
      "sha256": "f3927859882eb608868c8c31586bb7eb84562a40a6bf5cc3e13b6b564641ea28"
     }
    ]
   },
   {
    "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": "smbclient",
    "buildsystem": "autotools",
    "build-options": {
     "env": {
      "PERL5LIB": "/app/lib/perl5"
     }
    },
    "config-opts": [
     "--without-json",
     "--without-ad-dc",
     "--without-ldap",
     "--without-ads",
     "--without-pam",
     "--disable-python",
     "--disable-cups",
     "--disable-iprint",
     "--without-systemd",
     "--bindir=.",
     "--sbindir=.",
     "--sysconfdir=."
    ],
    "cleanup": [
     "/lib/perl5"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://download.samba.org/pub/samba/stable/samba-4.24.2.tar.gz",
      "sha256": "ac24583f271a82ac324f7c6fad7327f65b591ad3492e1dccfee988e2c1c81dd1",
      "x-checker-data": {
       "type": "html",
       "url": "https://download.samba.org/pub/samba/stable/?C=M;O=D",
       "version-pattern": "samba-(\\d+\\.\\d+\\.\\d+).tar.gz",
       "url-template": "https://download.samba.org/pub/samba/stable/samba-$version.tar.gz"
      }
     }
    ]
   },
   {
    "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"
      }
     }
    ]
   },
   {
    "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.]+)$"
      }
     }
    ]
   },
   "shared-modules/luajit/luajit.json",
   {
    "name": "deno",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 deno /app/bin/deno"
    ],
    "sources": [
     {
      "type": "file",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/denoland/deno/releases/download/v2.5.6/deno-x86_64-unknown-linux-gnu.zip",
      "sha256": "fd4f6abc1b6a134fa9a4dba56519f1631f44c88e04e4e3e9a8ff5975dfa66e1a",
      "dest-filename": "deno.zip"
     },
     {
      "type": "file",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/denoland/deno/releases/download/v2.5.6/deno-aarch64-unknown-linux-gnu.zip",
      "sha256": "f5e60ae3dfceb61e5e5a41f22129e40a8bc17f6393b59e75d7ca19ceef32d824",
      "dest-filename": "deno.zip"
     },
     {
      "type": "shell",
      "commands": [
       "unzip deno.zip"
      ]
     }
    ]
   },
   {
    "name": "yt-dlp-ejs",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app yt_dlp_ejs*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/e3/bd/520769863744b669440a924271a6159ddd82ad5ae26b4ac4d4b69e9f8d44/yt_dlp_ejs-0.8.0-py3-none-any.whl",
      "sha256": "79300e5fca7f937a1eeede11f0456862c1b41107ce1d726871e0207424f4bdb4",
      "x-checker-data": {
       "type": "pypi",
       "name": "yt-dlp-ejs",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "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/releases/download/2026.03.17/yt-dlp.tar.gz",
      "sha256": "c74f56fc88a7f9b7c995646f30538974a03dd7609f55257b20594fdeeb1e13df",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name==\"yt-dlp.tar.gz\") | .browser_download_url"
      }
     }
    ]
   },
   {
    "name": "uchardet",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_STATIC=0",
     "-DBUILD_BINARY=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "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",
    "buildsystem": "meson",
    "config-opts": [
     "-Dasm=enabled",
     "-Dfontconfig=enabled"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libass/libass.git",
      "tag": "0.17.4",
      "commit": "bbb3c7f1570a4a021e52683f3fbdf74fe492ae84",
      "x-checker-data": {
       "type": "git"
      }
     }
    ]
   },
   {
    "name": "libcdio",
    "config-opts": [
     "--disable-static",
     "--disable-example-progs"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2",
      "mirror-urls": [
       "https://mirrors.kernel.org/gnu/libcdio/libcdio-2.1.0.tar.bz2",
       "https://mirrors.ocf.berkeley.edu/gnu/libcdio/libcdio-2.1.0.tar.bz2",
       "https://ftpmirror.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2"
      ],
      "sha256": "8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b",
      "x-checker-data": {
       "type": "html",
       "url": "https://ftp.gnu.org/gnu/libcdio/",
       "version-pattern": "libcdio-(\\d\\.\\d+\\.?\\d*).tar.bz2",
       "url-template": "https://ftp.gnu.org/gnu/libcdio/libcdio-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "libcdio-paranoia",
    "config-opts": [
     "--disable-static",
     "--disable-example-progs"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.2.tar.bz2",
      "mirror-urls": [
       "https://mirrors.kernel.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2",
       "https://mirrors.ocf.berkeley.edu/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2",
       "https://ftpmirror.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2"
      ],
      "sha256": "186892539dedd661276014d71318c8c8f97ecb1250a86625256abd4defbf0d0c",
      "x-checker-data": {
       "type": "html",
       "url": "https://ftp.gnu.org/gnu/libcdio/",
       "version-pattern": "libcdio-paranoia-([\\d\\.\\+-]+).tar.bz2",
       "url-template": "https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "libdvdread",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/pub/videolan/libdvdread/7.0.1/libdvdread-7.0.1.tar.xz",
      "sha256": "2e3e04a305c15c3963aa03ae1b9a83c1d239880003fcf3dde986d3943355d407",
      "x-checker-data": {
       "type": "html",
       "url": "https://www.videolan.org/developers/libdvdnav.html",
       "version-pattern": "The latest version of <code>libdvdread</code> is <b>([\\d\\-\\.]+)<",
       "url-template": "https://download.videolan.org/pub/videolan/libdvdread/$version/libdvdread-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libdvdnav",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/pub/videolan/libdvdnav/7.0.0/libdvdnav-7.0.0.tar.xz",
      "sha256": "a2a18f5ad36d133c74bf9106b6445806fa253b09141a46392550394b647b221e",
      "x-checker-data": {
       "type": "html",
       "url": "https://www.videolan.org/developers/libdvdnav.html",
       "version-pattern": "The latest version of <code>libdvdnav</code> is <b>([\\d\\-\\.]+)</b>\\.",
       "url-template": "https://download.videolan.org/pub/videolan/libdvdnav/$version/libdvdnav-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libgcrypt",
    "config-opts": [
     "--disable-static",
     "--disable-doc"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/gpg/libgcrypt",
      "tag": "libgcrypt-1.10.3",
      "commit": "aa1610866f8e42bdc272584f0a717f32ee050a22"
     }
    ]
   },
   {
    "name": "libaacs",
    "config-opts": [
     "--disable-static",
     "--disable-bdjava-jar"
    ],
    "sources": [
     {
      "type": "archive",
      "sha256": "a88aa0ebe4c98a77f7aeffd92ab3ef64ac548c6b822e8248a8b926725bea0a39",
      "url": "https://download.videolan.org/pub/videolan/libaacs/0.11.1/libaacs-0.11.1.tar.bz2",
      "mirror-urls": [
       "https://videolan.mirror.ba/libaacs/0.11.1/libaacs-0.11.1.tar.bz2",
       "https://videolan.c3sl.ufpr.br/libaacs/0.11.1/libaacs-0.11.1.tar.bz2"
      ],
      "x-checker-data": {
       "type": "html",
       "url": "https://www.videolan.org/developers/libaacs.html",
       "version-pattern": "Latest release is <b>libaacs (\\d\\.\\d+\\.?\\d*)</b>",
       "url-template": "https://download.videolan.org/pub/videolan/libaacs/$version/libaacs-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "libbluray",
    "buildsystem": "meson",
    "config-opts": [
     "-Denable_docs=false",
     "-Denable_examples=false",
     "-Dbdj_jar=disabled"
    ],
    "sources": [
     {
      "type": "archive",
      "sha256": "77937baf07eadda4b2b311cf3af4c50269d2ea3165041f5843d96476c4c92777",
      "url": "https://download.videolan.org/pub/videolan/libbluray/1.4.0/libbluray-1.4.0.tar.xz",
      "mirror-urls": [
       "https://videolan.mirror.ba/libbluray/1.4.0/libbluray-1.4.0.tar.xz",
       "https://videolan.c3sl.ufpr.br/libbluray/1.4.0/libbluray-1.4.0.tar.xz"
      ],
      "x-checker-data": {
       "type": "html",
       "url": "https://www.videolan.org/developers/libbluray.html",
       "version-pattern": "Latest release is <b>libbluray (\\d\\.\\d+\\.?\\d*)</b>\\.",
       "url-template": "https://download.videolan.org/pub/videolan/libbluray/$version/libbluray-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "zimg",
    "config-opts": [
     "--disable-static"
    ],
    "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"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tesseract-ocr/tesseract.git",
      "tag": "5.5.2",
      "commit": "6e1d56a847e697de07b38619356550e5cf4e8633",
      "x-checker-data": {
       "type": "git"
      }
     }
    ],
    "modules": [
     {
      "name": "Leptonica",
      "config-opts": [
       "--disable-static",
       "--with-pic"
      ],
      "cleanup": [
       "/bin"
      ],
      "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"
        }
       }
      ]
     }
    ]
   },
   {
    "name": "ImageMagick",
    "config-opts": [
     "--disable-static",
     "--disable-docs",
     "--with-hdri",
     "--with-pic"
    ],
    "cleanup": [
     "/bin",
     "/etc",
     "/lib/ImageMagick*",
     "/share/ImageMagick*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ImageMagick/ImageMagick/archive/7.1.2-23.tar.gz",
      "sha256": "f129f7d87fc21da453d032dd291b80ea13faf2497f13ef8279d97759ed7d5c46",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1372,
       "stable-only": true,
       "url-template": "https://github.com/ImageMagick/ImageMagick/archive/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "rubberband",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib"
    ],
    "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"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/ccxvii/mujs.git",
      "tag": "1.3.8",
      "commit": "307f18c4216420f2f56e22d8e7040baa39a6304a",
      "x-checker-data": {
       "type": "git"
      }
     },
     {
      "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": "x264",
    "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",
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DBUILD_STATIC=0"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://bitbucket.org/multicoreware/x265_git.git",
      "tag": "4.2",
      "commit": "e444744c03978c1fb4e037168967020cf2648427",
      "x-checker-data": {
       "type": "git"
      }
     }
    ]
   },
   {
    "name": "libmysofa",
    "buildsystem": "cmake",
    "config-opts": [
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DBUILD_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "commit": "7a0c07111a3d7230ec534e08925c24a7525f33c0",
      "tag": "v1.3.4",
      "url": "https://github.com/hoene/libmysofa.git",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "libbs2b",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "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": [
     "/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-libv4l2",
     "--enable-libvorbis",
     "--enable-libvpx",
     "--enable-libx264",
     "--enable-libx265",
     "--enable-libwebp",
     "--enable-libsmbclient",
     "--enable-libxml2",
     "--enable-vulkan",
     "--enable-libdrm",
     "--enable-vaapi"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/FFmpeg/FFmpeg.git",
      "tag": "n8.1.1",
      "commit": "239f2c733de417201d7ad3b3b8b0d9b63285b2b1",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^n([\\d.]{3,7})$"
      }
     }
    ]
   },
   {
    "name": "libsixel",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://api.github.com/repos/libsixel/libsixel/tarball/refs/tags/v1.10.5",
      "sha256": "402da9e24caea62fe1e4c5d6f9c9211141f7a5d8016e717527ecde10c5522344",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/libsixel/libsixel/tags",
       "url-query": ".[0].tarball_url",
       "version-query": ".[0].name"
      }
     }
    ]
   },
   {
    "name": "libplacebo",
    "buildsystem": "meson",
    "config-opts": [
     "-Dvulkan=enabled",
     "-Dshaderc=enabled"
    ],
    "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",
    "config-opts": [
     "--libdir=lib"
    ],
    "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": [
     "--libdir=lib",
     "-Dalsa=enabled",
     "-Dbuild-date=false",
     "-Dcdda=enabled",
     "-Dcplayer=true",
     "-Dcplugins=enabled",
     "-Dcuda-hwaccel=enabled",
     "-Dcuda-interop=enabled",
     "-Ddmabuf-wayland=enabled",
     "-Ddrm=enabled",
     "-Ddvbin=enabled",
     "-Ddvdnav=enabled",
     "-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=enabled",
     "-Dlibmpv=true",
     "-Dlua=enabled",
     "-Dmanpage-build=disabled",
     "-Dopenal=enabled",
     "-Dpipewire=enabled",
     "-Dplain-gl=enabled",
     "-Dpulse=enabled",
     "-Drubberband=enabled",
     "-Duchardet=enabled",
     "-Dvaapi-drm=enabled",
     "-Dvaapi-wayland=enabled",
     "-Dvaapi-x11=enabled",
     "-Dvaapi=enabled",
     "-Dvdpau-gl-x11=enabled",
     "-Dvdpau=enabled",
     "-Dvector=enabled",
     "-Dvulkan=disabled",
     "-Dwayland=enabled",
     "-Dwerror=false",
     "-Dx11=enabled",
     "-Dxv=enabled",
     "-Dzimg=enabled",
     "-Dzlib=enabled"
    ],
    "cleanup": [
     "/bin",
     "/share/application",
     "/share/bash-completion",
     "/share/fish",
     "/share/metainfo/",
     "/share/zsh"
    ],
    "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": "libzip",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCMAKE_INSTALL_LIBDIR=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://libzip.org/download/libzip-1.11.4.tar.gz",
      "sha256": "82e9f2f2421f9d7c2466bbc3173cd09595a88ea37db0d559a9d0a2dc60dc722e",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10649,
       "stable-only": true,
       "url-template": "https://libzip.org/download/libzip-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "json-c",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/json-c/json-c.git",
      "tag": "json-c-0.18-20240915",
      "commit": "41a55cfcedb54d9c1874f2f0eb07b504091d7e37",
      "x-checker-data": {
       "type": "git",
       "url": "https://api.github.com/repos/json-c/json-c/tags",
       "tag-pattern": "^json-c-([\\d.]+)-\\d+$"
      }
     }
    ]
   },
   {
    "name": "mecab",
    "buildsystem": "autotools",
    "config-opts": [
     "--with-charset=utf-8"
    ],
    "cleanup": [
     "/bin",
     "/libexec/mecab/mecab-*"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mecab/mecab-0.996.tar.gz",
      "sha256": "e073325783135b72e666145c781bb48fada583d5224fb2490fb6c1403ba69c59"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} ."
      ]
     }
    ]
   },
   {
    "name": "mecab-ipadic",
    "buildsystem": "autotools",
    "config-opts": [
     "--with-charset=utf-8"
    ],
    "cleanup": [
     "/bin",
     "/libexec/mecab/mecab-*"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mecab/mecab-ipadic-2.7.0-20070801.tar.gz",
      "sha256": "b62f527d881c504576baed9c6ef6561554658b175ce6ae0096a60307e49e3523"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} ."
      ]
     }
    ]
   },
   {
    "name": "memento",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DMEMENTO_RELEASE_BUILD=ON",
     "-DMEMENTO_QAPPLICATION=ON",
     "-DMEMENTO_SYSTEM_QCORO=ON",
     "-DMEMENTO_MECAB_SUPPORT=ON"
    ],
    "post-install": [
     "install -Dm644 $FLATPAK_BUILDER_BUILDDIR/$FLATPAK_ID.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ripose-jp/Memento.git",
      "tag": "v2.0.2",
      "commit": "b8f8d08384da778c5b66946ca4214342e7795870",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     {
      "type": "file",
      "path": "io.github.ripose_jp.Memento.metainfo.xml"
     }
    ]
   }
  ]
 }
}