{
 "app_id": "org.gnome.FileRoller",
 "source_url": "https://raw.githubusercontent.com/flathub/org.gnome.FileRoller/master/org.gnome.FileRoller.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--own-name=org.gnome.ArchiveManager1"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:14:50.895561+00:00",
 "manifest": {
  "id": "org.gnome.FileRoller",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "file-roller",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=home",
   "--metadata=X-DConf=migrate-path=/org/gnome/file-roller/",
   "--own-name=org.gnome.ArchiveManager1"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man"
  ],
  "modules": [
   {
    "name": "7zip",
    "buildsystem": "simple",
    "subdir": "CPP/7zip/Bundles/Alone2",
    "build-options": {
     "env": {
      "makefile": "../../cmpl_gcc.mak"
     },
     "arch": {
      "aarch64": {
       "env": {
        "makefile": "../../cmpl_gcc_arm64.mak"
       }
      },
      "i686": {
       "env": {
        "makeFlags": "USE_ASM=",
        "makefile": "../../cmpl_gcc_x86.mak"
       }
      },
      "x86_64": {
       "env": {
        "makeFlags": "USE_ASM=",
        "makefile": "../../cmpl_gcc_x64.mak"
       }
      }
     }
    },
    "build-commands": [
     "make -j $FLATPAK_BUILDER_N_JOBS -f $makefile $makeFlags",
     "install -D b/*/7zz -t /app/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ip7z/7zip/archive/refs/tags/26.02.tar.gz",
      "sha256": "7e5600ad0b21918bc41803bd84d0c2967e097fb7fbaa2e7aeb90beeb1121e54b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 372314,
       "url-template": "https://github.com/ip7z/7zip/archive/refs/tags/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "rpm2cpio",
    "buildsystem": "simple",
    "build-commands": [
     "install -D rpm2cpio.py /app/bin/rpm2cpio"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ruda/rpm2cpio/archive/2017.tar.gz",
      "sha256": "d266a4f49e65b5d05956502549ceb1d5671f927375ff71299069e6d92363297a"
     },
     {
      "type": "patch",
      "path": "rpm2cpio.patch"
     }
    ]
   },
   {
    "name": "libportal",
    "buildsystem": "meson",
    "config-opts": [
     "-Ddocs=false",
     "-Dvapi=false",
     "-Dtests=false",
     "-Dintrospection=false",
     "-Dbackend-gtk3=disabled",
     "-Dbackend-qt5=disabled",
     "-Dbackend-gtk4=enabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/flatpak/libportal/releases/download/0.10.0/libportal-0.10.0.tar.xz",
      "sha256": "1c74a3f7becbd4ff745d7f565afd06e97e50eb080a0e268cb14bb55289a745bf",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/flatpak/libportal/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name==\"libportal-\" + $version + \".tar.xz\") | .browser_download_url"
      }
     }
    ]
   },
   {
    "name": "file-roller",
    "buildsystem": "meson",
    "config-opts": [
     "-Duse_native_appchooser=true"
    ],
    "cleanup": [
     "org.gnome.FileRoller.ArchiveManager1.service"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/file-roller/44/file-roller-44.7.tar.xz",
      "sha256": "67cada96a2409c859f378e82fbe868b0e9c00a69e6b7b885d542c64ea2a1297d",
      "x-checker-data": {
       "type": "gnome",
       "is-important": true,
       "name": "file-roller"
      }
     }
    ]
   }
  ]
 }
}