{
 "app_id": "io.github.jardon.Outlet",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.jardon.Outlet/master/io.github.jardon.Outlet.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=/var/tmp",
  "--filesystem=/var/lib/flatpak",
  "--filesystem=~/.var/app",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-21T13:08:06.423805+00:00",
 "manifest": {
  "app-id": "io.github.jardon.Outlet",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "command": "outlet",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=/var/lib/flatpak",
   "--talk-name=org.freedesktop.Flatpak",
   "--system-talk-name=org.freedesktop.Flatpak.SystemHelper",
   "--filesystem=/var/tmp",
   "--filesystem=~/.var/app",
   "--system-talk-name=org.freedesktop.Accounts",
   "--env=FLATPAK_ENABLED=1"
  ],
  "modules": [
   {
    "name": "outlet",
    "buildsystem": "simple",
    "build-options": {
     "arch": {
      "x86_64": {
       "env": {
        "BUNDLE_PATH": "build/linux/x64/release/bundle"
       }
      },
      "aarch64": {
       "env": {
        "BUNDLE_PATH": "build/linux/arm64/release/bundle"
       }
      }
     },
     "append-path": "/usr/lib/sdk/llvm20/bin:/var/lib/flutter/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm20/lib",
     "env": {
      "PUB_CACHE": "/run/build/outlet/.pub-cache"
     }
    },
    "build-commands": [
     "setup-flutter.sh",
     "flutter build linux --release --no-pub",
     "install -D $BUNDLE_PATH/outlet /app/bin/outlet",
     "cp -r $BUNDLE_PATH/lib /app/bin/lib",
     "cp -r $BUNDLE_PATH/data /app/bin/data"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/jardon/outlet.git",
      "commit": "a9a6cce6486ba0f8ce2ec1add6b5cd855dec00e7",
      "tag": "1.1.1",
      "disable-submodules": true
     },
     {
      "type": "git",
      "url": "https://github.com/canonical/appstream.dart",
      "commit": "9e4641d0d6b98855e2f2657091a360af91b9251a",
      "dest": "lib/appstream.dart"
     },
     {
      "type": "patch",
      "path": "flatpak-spawn.patch"
     },
     {
      "type": "patch",
      "path": "launch-url.patch"
     },
     "generated/sources/pubspec.json"
    ],
    "post-install": [
     "install -Dm644 dist/${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 dist/${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 dist/${FLATPAK_ID}.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg"
    ],
    "modules": [
     {
      "name": "flatpak",
      "buildsystem": "meson",
      "config-opts": [
       "-Dgtkdoc=disabled",
       "-Ddocbook_docs=disabled",
       "-Dtests=false",
       "-Dman=disabled",
       "-Dseccomp=disabled",
       "-Dselinux_module=disabled",
       "-Dmalcontent=disabled",
       "-Dsandboxed_triggers=false",
       "-Dsystem_helper=enabled",
       "-Dsystemd=disabled",
       "-Dsystem_install_dir=/var/lib/flatpak",
       "-Dsystem_bubblewrap=bwrap",
       "-Dsystem_dbus_proxy=xdg-dbus-proxy",
       "--sysconfdir=/var/run/host/etc"
      ],
      "cleanup": [
       "/bin/flatpak-bisect",
       "/bin/flatpak-coredumpctl",
       "/etc/profile.d",
       "/lib/systemd",
       "/share/dbus-1/interfaces/org.freedesktop.*",
       "/share/dbus-1/services/org.freedesktop.*",
       "/share/flatpak/triggers",
       "/share/gdm",
       "/share/zsh",
       "/share/fish",
       "/lib/sysusers.d",
       "/lib/tmpfiles.d"
      ],
      "post-install": [
       "install -Dpm0755 -t /app/bin /usr/bin/update-{mime,desktop}-database"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/flatpak/flatpak",
        "commit": "9b21874f1a175a9b7c79175a221fa043e202ca73",
        "tag": "1.17.6",
        "x-checker-data": {
         "type": "git",
         "url-template": "$version",
         "is-important": true
        }
       }
      ],
      "modules": [
       {
        "name": "bubblewrap",
        "buildsystem": "meson",
        "config-opts": [
         "-Dman=disabled",
         "-Dselinux=disabled",
         "-Dtests=false"
        ],
        "sources": [
         {
          "type": "git",
          "url": "https://github.com/containers/bubblewrap",
          "commit": "1b80120ef26a28e065e67f89bfef873f13bdd317",
          "tag": "v0.11.2",
          "x-checker-data": {
           "type": "git",
           "url-template": "$version"
          }
         }
        ]
       },
       {
        "name": "python3-pyparsing",
        "buildsystem": "simple",
        "cleanup": [
         "*"
        ],
        "build-commands": [
         "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyparsing"
        ],
        "sources": [
         {
          "type": "file",
          "url": "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz",
          "sha256": "c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc",
          "x-checker-data": {
           "type": "pypi",
           "name": "pyparsing"
          }
         },
         {
          "type": "file",
          "url": "https://files.pythonhosted.org/packages/69/59/b6fc2188dfc7ea4f936cd12b49d707f66a1cb7a1d2c16172963534db741b/flit_core-3.12.0.tar.gz",
          "sha256": "18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2",
          "x-checker-data": {
           "type": "pypi",
           "name": "flit_core"
          }
         }
        ]
       },
       {
        "name": "polkit",
        "buildsystem": "meson",
        "config-opts": [
         "-Dlibs-only=true",
         "-Dintrospection=false",
         "-Dauthfw=shadow"
        ],
        "rm-configure": true,
        "build-options": {
         "env": {
          "CFLAGS": "-Wno-implicit-function-declaration"
         }
        },
        "cleanup": [
         "/bin/*",
         "/etc/dbus-1",
         "/etc/pam.d",
         "/include",
         "/lib/pkgconfig",
         "/lib/polkit-1",
         "/share/dbus-1/system-services/*",
         "/share/polkit-1"
        ],
        "sources": [
         {
          "type": "git",
          "url": "https://github.com/polkit-org/polkit",
          "commit": "9e4894c969eecf26a3ba762f4f7a268aa0fb3e51",
          "tag": "127",
          "x-checker-data": {
           "type": "git",
           "tag-pattern": "^([\\d.]+)$"
          }
         }
        ],
        "modules": [
         {
          "name": "ostree",
          "build-options": {
           "env": {
            "BASH_COMPLETIONSDIR": "/app/share/bash-completion/completions"
           },
           "config-opts": [
            "--disable-man",
            "--with-curl",
            "--without-libsystemd"
           ]
          },
          "cleanup": [
           "/bin",
           "/etc/grub.d",
           "/etc/ostree",
           "/share/ostree",
           "/libexec"
          ],
          "sources": [
           {
            "type": "git",
            "url": "https://github.com/ostreedev/ostree",
            "tag": "v2026.1",
            "commit": "84fcfe17adcc69b926e8205782c1f735c09bfdd9",
            "x-checker-data": {
             "type": "anitya",
             "project-id": 10899,
             "tag-template": "v$version",
             "is-important": true
            }
           }
          ],
          "modules": [
           {
            "name": "libfuse",
            "build-options": {
             "env": {
              "MOUNT_FUSE_PATH": "../tmp/"
             }
            },
            "config-opts": [
             "UDEV_RULES_PATH=/app/etc/udev/rules.d",
             "INIT_D_PATH=/app/etc/init.d"
            ],
            "cleanup": [
             "/bin/ulockmgr_server",
             "/etc"
            ],
            "post-install": [
             "install -Dpm0755 ./fusermount-wrapper.sh /app/bin/fusermount"
            ],
            "sources": [
             {
              "type": "archive",
              "url": "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz",
              "sha256": "d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5"
             },
             {
              "type": "patch",
              "path": "fuse-2.9.2-namespace-conflict-fix.patch"
             },
             {
              "type": "patch",
              "path": "fuse-disable-sys-mount-under-flatpak.patch"
             },
             {
              "type": "patch",
              "path": "fuse-2.9.2-closefrom.patch"
             },
             {
              "type": "file",
              "path": "fusermount-wrapper.sh"
             }
            ]
           }
          ]
         },
         {
          "name": "xdg-dbus-proxy",
          "buildsystem": "meson",
          "config-opts": [
           "-Dman=disabled",
           "-Dtests=false"
          ],
          "sources": [
           {
            "type": "git",
            "url": "https://github.com/flatpak/xdg-dbus-proxy",
            "commit": "6a170fa77e3cbecb48f9dd2478fe5c0a119eb467",
            "tag": "0.1.7",
            "x-checker-data": {
             "type": "git",
             "url-template": "$version"
            }
           }
          ]
         }
        ]
       }
      ]
     },
     "generated/modules/flutter-sdk-3.41.0.json"
    ]
   }
  ]
 }
}