{
 "app_id": "com.github.philip_scott.spice-up",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.philip_scott.spice-up/master/com.github.philip_scott.spice-up.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=home",
  "--talk-name=org.freedesktop.ScreenSaver"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:07:45.304593+00:00",
 "manifest": {
  "id": "com.github.philip_scott.spice-up",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "base": "io.elementary.BaseApp",
  "base-version": "circe-25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.vala"
  ],
  "build-options": {
   "prepend-path": "/usr/lib/sdk/vala/bin/",
   "prepend-ld-library-path": "/usr/lib/sdk/vala/lib"
  },
  "command": "com.github.philip_scott.spice-up",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=all",
   "--socket=wayland",
   "--filesystem=home",
   "--talk-name=org.freedesktop.ScreenSaver"
  ],
  "modules": [
   "shared-modules/libsoup/libsoup-2.4.json",
   {
    "name": "libevdev",
    "config-opts": [
     "--disable-static"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/share/man",
     "/lib/pkgconfig",
     "/lib/*.la"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.freedesktop.org/software/libevdev/libevdev-1.13.1.tar.xz",
      "sha256": "06a77bf2ac5c993305882bc1641017f5bec1592d6d1b64787bad492ab34f2f36"
     }
    ]
   },
   {
    "name": "spiceup",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Philip-Scott/Spice-up/archive/1.9.1.tar.gz",
      "sha256": "39ca3f5cbfc1dbd46bc0847c81f8f0e41326dbecb8d74d7eb107c5f970a4ef3d"
     },
     {
      "type": "patch",
      "paths": [
       "appid-rename-elementary-theme.patch",
       "appdata-app-id.patch"
      ]
     }
    ],
    "post-install": [
     "mkdir -p /app/share/icons/hicolor/scalable/apps",
     "mv /app/share/icons/hicolor/128x128@2/apps/${FLATPAK_ID}.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "find /app/share/icons/hicolor -type f -not -path \"*scalable*\" -not -path \"*actions*\" -name \"*.svg\" -delete"
    ]
   }
  ]
 }
}