{
 "app_id": "io.github.daniel_g_carrasco.pdf-cropper",
 "source_url": "https://raw.githubusercontent.com/daniel-g-carrasco/pdf-cropper/main/build-aux/flatpak/io.github.daniel_g_carrasco.pdf-cropper.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=host"
 ],
 "module_count": 2,
 "fetched_at": "2026-10-05T15:41:26.835283+00:00",
 "manifest": {
  "app-id": "io.github.daniel_g_carrasco.pdf-cropper",
  "branch": "stable",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "pdf-cropper",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=host"
  ],
  "modules": [
   {
    "name": "python3-pypdfium2",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=${FLATPAK_DEST} --no-deps --no-index --no-build-isolation pypdfium2-*.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/d3/7c/74a2fb48e5b0d2402d9ca64b39074c722d67e9a8a2c58449a843a8c2329a/pypdfium2-5.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
      "sha256": "81df25c1ab4c13ff773102d3cbea1967511d079123b067fc077bd0c4d57d91d8",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/fe/31/f8210d53775f142be934336665b1d60e800c3f176f28c29b4908d945c518/pypdfium2-5.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
      "sha256": "9ee8c2bb2e68b396ab4a763215ac100dacb6b96d0da5bebeb239a021aecc3a7e",
      "only-arches": [
       "aarch64"
      ]
     }
    ]
   },
   {
    "name": "pdf-cropper",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 pdf_cropper.py /app/bin/pdf-cropper",
     "python3 tools/compile_po.py --dest /app/share/locale",
     "install -Dm644 data/io.github.daniel_g_carrasco.pdf-cropper.desktop -t /app/share/applications",
     "install -Dm644 data/io.github.daniel_g_carrasco.pdf-cropper.metainfo.xml -t /app/share/metainfo",
     "install -Dm644 data/icons/hicolor/scalable/apps/io.github.daniel_g_carrasco.pdf-cropper.svg -t /app/share/icons/hicolor/scalable/apps",
     "install -Dm644 data/icons/hicolor/symbolic/apps/io.github.daniel_g_carrasco.pdf-cropper-symbolic.svg -t /app/share/icons/hicolor/symbolic/apps",
     "install -Dm644 data/icons/hicolor/64x64/apps/io.github.daniel_g_carrasco.pdf-cropper.png -t /app/share/icons/hicolor/64x64/apps",
     "install -Dm644 data/icons/hicolor/128x128/apps/io.github.daniel_g_carrasco.pdf-cropper.png -t /app/share/icons/hicolor/128x128/apps",
     "install -Dm644 data/icons/hicolor/256x256/apps/io.github.daniel_g_carrasco.pdf-cropper.png -t /app/share/icons/hicolor/256x256/apps",
     "desktop-file-validate /app/share/applications/io.github.daniel_g_carrasco.pdf-cropper.desktop",
     "appstreamcli validate --no-net /app/share/metainfo/io.github.daniel_g_carrasco.pdf-cropper.metainfo.xml",
     "python3 tests/test_crop.py"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../..",
      "skip": [
       ".git",
       ".venv",
       "dist",
       "build",
       "vendor"
      ]
     }
    ]
   }
  ]
 }
}