{
 "app_id": "org.freedesktop.appstream.cli",
 "source_url": "https://raw.githubusercontent.com/flathub/org.freedesktop.appstream.cli/master/org.freedesktop.appstream.cli.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--filesystem=/var/lib/flatpak:ro",
  "--filesystem=~/.local/share/flatpak:ro",
  "--filesystem=host"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T16:14:41.585516+00:00",
 "manifest": {
  "app-id": "org.freedesktop.appstream.cli",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "appstreamcli",
  "separate-locales": false,
  "finish-args": [
   "--filesystem=host",
   "--filesystem=~/.local/share/flatpak:ro",
   "--filesystem=/var/lib/flatpak:ro",
   "--share=network"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/*.a",
   "/lib/*.la"
  ],
  "modules": [
   {
    "name": "check",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz",
      "sha256": "a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a"
     }
    ]
   },
   {
    "name": "libfyaml",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DENABLE_NETWORK=OFF",
     "-DENABLE_LIBCLANG=OFF"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/pantoniou/libfyaml/releases/download/v0.9.6/libfyaml-0.9.6.tar.gz",
      "sha256": "a59cc3331e2eb903ec36933ad52a45888041cac31e44f553a00511131242c483"
     }
    ]
   },
   {
    "name": "blake3",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "subdir": "c/",
    "config-opts": [
     "-DBUILD_SHARED_LIBS:BOOL=YES"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/1.8.7.tar.gz",
      "sha256": "c6782a28842b1c0478524ac06a4f2ede784038ee298d6e2162c0b089c4306a3c"
     }
    ]
   },
   {
    "name": "snowball",
    "buildsystem": "simple",
    "build-commands": [
     "make -j4",
     "install -Dm644 include/libstemmer.h /app/include/libstemmer.h",
     "cp -d libstemmer.so.* -t /app/lib/",
     "install -Dm644 libstemmer.so /app/lib/libstemmer.so"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/snowballstem/snowball.git",
      "tag": "v3.0.1"
     },
     {
      "type": "patch",
      "path": "patches/snowball_build-options.diff"
     },
     {
      "type": "patch",
      "path": "patches/snowball_shared-library.diff"
     }
    ]
   },
   {
    "name": "libxmlb",
    "buildsystem": "meson",
    "config-opts": [
     "-Dstemmer=true",
     "-Dintrospection=false",
     "-Dgtkdoc=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/hughsie/libxmlb.git",
      "tag": "0.3.29"
     }
    ]
   },
   {
    "name": "libvips",
    "builddir": true,
    "buildsystem": "meson",
    "config-opts": [
     "-Ddeprecated=false",
     "-Dexamples=false",
     "-Dintrospection=disabled",
     "-Dmodules=disabled",
     "-Dppm=false",
     "-Danalyze=false",
     "-Dradiance=false",
     "-Dmagick=disabled",
     "-Dpoppler=disabled",
     "-Dtiff=disabled",
     "-Dpng=enabled",
     "-Djpeg-xl=enabled",
     "-Drsvg=enabled",
     "-Dwebp=enabled",
     "-Dheif=enabled"
    ],
    "cleanup": [
     "/bin/vips*",
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libvips/libvips/releases/download/v8.18.6/vips-8.18.6.tar.xz",
      "sha256": "3c41e1d5458081bfa4a5bc54e116c46259c75c6760a18027764555632b9dda3e"
     }
    ]
   },
   {
    "name": "appstream",
    "buildsystem": "meson",
    "config-opts": [
     "-Dcompose=true",
     "-Dgir=false",
     "-Dman=false",
     "-Dapidocs=false",
     "-Dbash-completion=false"
    ],
    "post-install": [
     "sed -i 's|<heading>|<p>|g; s|</heading>|</p>|g' \"$FLATPAK_DEST/share/metainfo/org.freedesktop.appstream.cli.metainfo.xml\""
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ximion/appstream.git",
      "tag": "v1.2.0"
     }
    ]
   }
  ]
 }
}