{
 "app_id": "io.github.marcelogomes90.FileCrate",
 "source_url": "https://raw.githubusercontent.com/marcelogomes90/filecrate/main/io.github.marcelogomes90.FileCrate.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=host",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=com.system76.CosmicSettingsDaemon",
  "--talk-name=com.system76.CosmicSettingsDaemon.*"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:55:47.583448+00:00",
 "manifest": {
  "app-id": "io.github.marcelogomes90.FileCrate",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm21"
  ],
  "base": "com.system76.Cosmic.BaseApp",
  "base-version": "stable",
  "command": "file-crate",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--filesystem=host",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=com.system76.CosmicSettingsDaemon",
   "--talk-name=com.system76.CosmicSettingsDaemon.*"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm21/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/llvm21/lib",
   "env": {
    "CARGO_HOME": "/run/build/file-crate/cargo",
    "CARGO_NET_OFFLINE": "true",
    "LIBCLANG_PATH": "/usr/lib/sdk/llvm21/lib"
   }
  },
  "modules": [
   {
    "name": "7zip",
    "buildsystem": "simple",
    "subdir": "CPP/7zip/Bundles/Alone2",
    "build-commands": [
     "make -f makefile.gcc DISABLE_RAR=1 -j${FLATPAK_BUILDER_N_JOBS}",
     "install -Dm0755 _o/7zz /app/libexec/file-crate/7z",
     "install -Dm0644 ../../../../DOC/License.txt /app/share/licenses/io.github.marcelogomes90.FileCrate/7zip-License.txt",
     "install -Dm0644 ../../../../DOC/copying.txt /app/share/licenses/io.github.marcelogomes90.FileCrate/7zip-LGPL.txt"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://deb.debian.org/debian/pool/main/7/7zip/7zip_26.02+dfsg.orig.tar.xz",
      "sha256": "cbd9aef3b1a6596aafece29601df759f05c4d1b5619619b42ece125b8fe4d9a8"
     }
    ]
   },
   {
    "name": "file-crate",
    "buildsystem": "simple",
    "build-commands": [
     "cargo fetch --locked --offline --manifest-path Cargo.toml --verbose",
     "cargo build --locked --offline --release --verbose",
     "install -Dm0755 target/release/file-crate /app/bin/file-crate",
     "install -Dm0644 target/xdgen/app.desktop /app/share/applications/io.github.marcelogomes90.FileCrate.desktop",
     "install -Dm0644 target/xdgen/app.metainfo.xml /app/share/metainfo/io.github.marcelogomes90.FileCrate.metainfo.xml",
     "install -Dm0644 resources/icons/hicolor/scalable/apps/icon.svg /app/share/icons/hicolor/scalable/apps/io.github.marcelogomes90.FileCrate.svg",
     "install -Dm0644 resources/app-flatpak.service /app/share/dbus-1/services/io.github.marcelogomes90.FileCrate.service",
     "install -Dm0644 LICENSE /app/share/licenses/io.github.marcelogomes90.FileCrate/LICENSE",
     "install -Dm0644 crates/zmanager-unrar/vendor/unrar/license.txt /app/share/licenses/io.github.marcelogomes90.FileCrate/UnRAR-license.txt"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".",
      "skip": [
       "./.flatpak-builder",
       "./build-flatpak",
       "./target"
      ]
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}