🏡 index : quine-global-labs/bazaar.git

{
  "id": "io.github.kolunmi.Bazaar",
  "runtime": "org.gnome.Platform",
  "runtime-version": "51",
  "sdk": "org.gnome.Sdk",
  "command": "bazaar-daemon",
  "sdk-extensions": [
    "org.freedesktop.Sdk.Extension.llvm22"
  ],
  "tags": [
    "nightly"
  ],
  "desktop-file-name-suffix": " (Nightly)",
  "finish-args": [
    "--share=network",
    "--share=ipc",
    "--socket=fallback-x11",
    "--socket=wayland",
    "--device=dri",
    "--filesystem=/var/lib/flatpak",
    "--filesystem=xdg-data/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",
    "--talk-name=org.freedesktop.impl.portal.PermissionStore"
  ],
  "cleanup": [
    "/share/zsh",
    "/share/gettext",
    "/include",
    "/lib/pkgconfig",
    "/lib/cmake",
    "/share/applications/mimeinfo.cache",
    "/share/bash-completion",
    "/share/zsh/site-functions",
    "/share/icons/hicolor/icon-theme.cache",
    "/share/man",
    "/share/pkgconfig",
    "*.la",
    "*.a"
  ],
  "modules": [
    {
      "name": "bazaar",
      "buildsystem": "meson",
      "build-options": {
        "append-path": "/usr/lib/sdk/llvm22/bin",
        "prepend-ld-library-path": "/usr/lib/sdk/llvm22/lib"
      },
      "config-opts": [
        "-Ddevelopment=true",
        "-Dsandboxed_libflatpak=true",
        "-Dhardcoded_main_config_path=/run/host/etc/bazaar/bazaar.yaml",
        "-Dhardcoded_content_config_path=/run/host/etc/bazaar/config.yaml",
        "-Dhardcoded_blocklist_path=/run/host/etc/bazaar/blocklist.txt"
      ],
      "sources": [
        {
          "type": "dir",
          "path": "../.."
        }
      ],
      "modules": [
        {
          "name": "md4c",
          "buildsystem": "cmake",
          "config-opts": [
            "-DBUILD_MD2HTML_EXECUTABLE=Off"
          ],
          "sources": [
            {
              "type": "git",
              "url": "https://github.com/mity/md4c.git",
              "commit": "472c417005c2c71b8617de4f7b8d6b30411d78f4",
              "tag": "release-0.5.3",
              "x-checker-data": {
                "type": "git",
                "tag-pattern": "^release-([\\d.]+)$"
              }
            }
          ]
        },
        {
          "name": "malcontent",
          "buildsystem": "meson",
          "config-opts": [
            "-Dui=disabled",
            "-Dinstalled_tests=false"
          ],
          "sources": [
            {
              "type": "git",
              "url": "https://gitlab.freedesktop.org/pwithnall/malcontent.git",
              "commit": "3ba80995bb25b7aeda7e21d547f9e39ff9a81736",
              "tag": "0.12.0"
            },
            {
              "type": "shell",
              "commands": [
                "sed -i \"/subdir('tests')/d\" libmalcontent/meson.build",
                "sed -i \"/subdir('tests')/d\" meson.build",
                "sed -i \"/subdir('pam')/d\" meson.build"
              ]
            }
          ]
        },
        {
          "name": "libxmlb",
          "buildsystem": "meson",
          "config-opts": [
            "-Dstemmer=false",
            "-Dintrospection=false",
            "-Dgtkdoc=false"
          ],
          "sources": [
            {
              "type": "git",
              "url": "https://github.com/hughsie/libxmlb.git",
              "commit": "d942cd68a7d78e35b312b9299e69f68f9cd2e503",
              "tag": "0.3.29",
              "x-checker-data": {
                "type": "anitya",
                "project-id": 179028,
                "tag-template": "$version"
              }
            }
          ]
        },
        {
          "name": "libyaml",
          "buildsystem": "autotools",
          "sources": [
            {
              "type": "git",
              "url": "https://github.com/yaml/libyaml",
              "commit": "2c891fc7a770e8ba2fec34fc6b545c672beb37e6",
              "tag": "0.2.5",
              "x-checker-data": {
                "type": "anitya",
                "project-id": 1800,
                "tag-template": "$version"
              }
            }
          ]
        },
        {
          "name": "libfyaml",
          "buildsystem": "cmake-ninja",
          "config-opts": [
            "-DENABLE_NETWORK=OFF",
            "-DENABLE_LIBCLANG=OFF",
            "-DBUILD_TESTING=OFF"
          ],
          "sources": [
            {
              "type": "git",
              "url": "https://github.com/pantoniou/libfyaml",
              "tag": "v0.9.6",
              "commit": "1ed9bae3b1e5fc57e31a14a2ea12810fdf423473",
              "x-checker-data": {
                "type": "anitya",
                "project-id": 383614,
                "tag-template": "v$version"
              }
            }
          ]
        },
        {
          "name": "appstream",
          "buildsystem": "meson",
          "config-opts": [
            "-Dgir=true",
            "-Dvapi=true",
            "-Ddocs=false",
            "-Dman=false",
            "-Dapidocs=false",
            "-Dstemming=false",
            "-Dblake3-support=false",
            "-Dsystemd=false",
            "-Dbash-completion=false"
          ],
          "sources": [
            {
              "type": "git",
              "url": "https://github.com/ximion/appstream.git",
              "commit": "ce52fb058e06f1f36320911e93e6773c6e3fe82e",
              "tag": "v1.2.0",
              "x-checker-data": {
                "type": "anitya",
                "project-id": 10385,
                "tag-template": "v$version"
              }
            }
          ]
        },
        {
          "name": "flatpak",
          "buildsystem": "meson",
          "config-opts": [
            "-Dgtkdoc=disabled",
            "-Ddocbook_docs=disabled",
            "-Dtests=false",
            "-Dman=disabled",
            "-Dseccomp=disabled",
            "-Dselinux_module=disabled",
            "-Dmalcontent=enabled",
            "-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": "8726a5aef7b26dc9574dc0556b3b7e6bd4dd71ec",
              "tag": "1.18.2",
              "x-checker-data": {
                "type": "git",
                "tag-pattern": "^(1\\.[0-8][02468]\\..*)$",
                "is-important": true
              }
            }
          ],
          "modules": [
            {
              "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/e4/11/b213bebff182584360cb8d17c72c1677fec5c5c228de439e63bcf8ab1c8f/pyparsing-3.3.3.tar.gz",
                  "sha256": "928ae7e20211f3b6f3915a72f06a0cfd29ab9d24279dd6346b6b1a7146397d36",
                  "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",
                    "versions": {
                      "<": "4"
                    }
                  }
                }
              ]
            },
            {
              "name": "python3-babel",
              "buildsystem": "simple",
              "cleanup": [
                "*"
              ],
              "build-commands": [
                "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} --no-build-isolation babel"
              ],
              "sources": [
                {
                  "type": "file",
                  "url": "https://files.pythonhosted.org/packages/7d/b2/51899539b6ceeeb420d40ed3cd4b7a40519404f9baf3d4ac99dc413a834b/babel-2.18.0.tar.gz",
                  "sha256": "b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c5750937c992d",
                  "x-checker-data": {
                    "type": "pypi",
                    "name": "babel"
                  }
                }
              ]
            },
            {
              "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",
                      "--enable-introspection=no",
                      "--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.4",
                      "commit": "4f4445a8912f70c604fa84a057a8f4e904e35a24",
                      "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": "f0fe358bb3a864a722f348cb942f30a29aafb9b2",
                      "tag": "0.1.8",
                      "x-checker-data": {
                        "type": "git",
                        "url-template": "$version"
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "bubblewrap",
      "buildsystem": "meson",
      "config-opts": [
        "-Dman=disabled",
        "-Dselinux=disabled",
        "-Dtests=false"
      ],
      "sources": [
        {
          "type": "git",
          "url": "https://github.com/containers/bubblewrap",
          "commit": "2a76602a8c71f36c1527cf9fc3417d9149822e0c",
          "tag": "v0.12.0",
          "x-checker-data": {
            "type": "git",
            "url-template": "$version"
          }
        }
      ]
    }
  ]
}