{
 "app_id": "io.github.pantheon_tweaks.pantheon-tweaks",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.pantheon_tweaks.pantheon-tweaks/master/io.github.pantheon_tweaks.pantheon-tweaks.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=~/.local/share/sounds:create",
  "--filesystem=xdg-run/dconf",
  "--filesystem=~/.icons:create",
  "--filesystem=~/.config/gtk-3.0:create",
  "--filesystem=host:ro",
  "--filesystem=~/.local/share/themes:create",
  "--talk-name=org.freedesktop.Flatpak",
  "--talk-name=ca.desrt.dconf",
  "--system-talk-name=org.freedesktop.Accounts"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-20T15:25:45.713295+00:00",
 "manifest": {
  "id": "io.github.pantheon_tweaks.pantheon-tweaks",
  "base": "io.elementary.BaseApp",
  "base-version": "circe-25.08",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "start-pantheon-tweaks",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--filesystem=~/.config/gtk-3.0:create",
   "--filesystem=~/.icons:create",
   "--filesystem=~/.local/share/sounds:create",
   "--filesystem=~/.local/share/themes:create",
   "--talk-name=ca.desrt.dconf",
   "--filesystem=xdg-run/dconf",
   "--filesystem=host:ro",
   "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
   "--env=GIO_EXTRA_MODULES=/app/lib/gio/modules/",
   "--talk-name=org.freedesktop.Flatpak",
   "--system-talk-name=org.freedesktop.Accounts"
  ],
  "build-options": {
   "libdir": "/app/lib"
  },
  "cleanup": [
   "/include",
   "/lib/girepository-1.0",
   "/lib/pkgconfig",
   "/share/gir-1.0",
   "/share/vala"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "modules": [
   {
    "name": "dconf",
    "buildsystem": "meson",
    "config-opts": [
     "-Dbash_completion=false",
     "-Dman=false"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig",
     "/lib/systemd",
     "/libexec",
     "/share/dbus-1"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/dconf/0.49/dconf-0.49.0.tar.xz",
      "sha256": "16a47e49a58156dbb96578e1708325299e4c19eea9be128d5bd12fd0963d6c36"
     },
     {
      "type": "patch",
      "path": "dconf-override.patch"
     }
    ]
   },
   {
    "name": "system-settings",
    "buildsystem": "meson",
    "cleanup": [
     "/share/applications",
     "/share/metainfo",
     "/bin",
     "/share/glib-2.0/schemas/io.elementary.settings.gschema.xml",
     "/share/icons"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/elementary/settings/archive/8.0.3.tar.gz",
      "sha256": "cc41024b918cfcd0bd89b3c72e079ff12804cebefbaf34d5adb84191531ee7d1"
     }
    ],
    "modules": [
     {
      "name": "sassc",
      "cleanup": [
       "*"
      ],
      "buildsystem": "autotools",
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/sass/sassc/archive/3.6.2.tar.gz",
        "sha256": "608dc9002b45a91d11ed59e352469ecc05e4f58fc1259fc9a9f5b8f0f8348a03"
       },
       {
        "type": "script",
        "dest-filename": "autogen.sh",
        "commands": [
         "autoreconf -si"
        ]
       }
      ],
      "modules": [
       {
        "name": "libsass",
        "cleanup": [
         "*"
        ],
        "buildsystem": "autotools",
        "sources": [
         {
          "type": "archive",
          "url": "https://github.com/sass/libsass/archive/3.6.5.tar.gz",
          "sha256": "89d8f2c46ae2b1b826b58ce7dde966a176bac41975b82e84ad46b01a55080582"
         },
         {
          "type": "script",
          "dest-filename": "autogen.sh",
          "commands": [
           "autoreconf -si"
          ]
         }
        ]
       }
      ]
     }
    ]
   },
   {
    "name": "pantheon-tweaks",
    "buildsystem": "meson",
    "config-opts": [
     "-Dsystheme_rootdir=/var/run/host/usr/share"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/pantheon-tweaks/pantheon-tweaks.git",
      "tag": "2.5.2",
      "commit": "a44447be60048831c05d63dc206b835f14990f7c"
     },
     {
      "type": "file",
      "path": "start-pantheon-tweaks.sh"
     }
    ],
    "post-install": [
     "install -Dm 755 $FLATPAK_BUILDER_BUILDDIR/start-pantheon-tweaks.sh /app/bin/start-pantheon-tweaks",
     "desktop-file-edit --set-key=Exec --set-value=start-pantheon-tweaks /app/share/applications/io.github.pantheon_tweaks.pantheon-tweaks.desktop",
     "desktop-file-edit --set-key=StartupWMClass --set-value=pantheon-tweaks /app/share/applications/io.github.pantheon_tweaks.pantheon-tweaks.desktop"
    ]
   }
  ]
 }
}