{
 "app_id": "moe.launcher.sleepy-launcher",
 "source_url": "https://raw.githubusercontent.com/flathub/moe.launcher.sleepy-launcher/master/moe.launcher.sleepy-launcher.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all",
  "--filesystem=/media",
  "--filesystem=/mnt",
  "--filesystem=/run/media",
  "--allow=devel"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-18T07:33:38.272398+00:00",
 "manifest": {
  "app-id": "moe.launcher.sleepy-launcher",
  "command": "moe.launcher.sleepy-launcher",
  "rename-desktop-file": "sleepy-launcher.desktop",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--filesystem=/mnt",
   "--filesystem=/media",
   "--filesystem=/run/media",
   "--device=all",
   "--allow=devel"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/man",
   "/share/doc"
  ],
  "modules": [
   {
    "name": "gamemode",
    "buildsystem": "meson",
    "config-opts": [
     "-Dwith-examples=false",
     "-Dwith-util=false",
     "-Dwith-sd-bus-provider=no-daemon"
    ],
    "post-install": [
     "install -Dm775 ../data/gamemoderun -t /app/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/FeralInteractive/gamemode/releases/download/1.8.2/gamemode-1.8.2.tar.xz",
      "sha256": "98cd1bcf6101c92fe87f974c7776af23c7e18f29ce6ecfe572b1c39dcde5c181",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 17410,
       "url-template": "https://github.com/FeralInteractive/gamemode/releases/download/$version/gamemode-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "git",
    "buildsystem": "autotools",
    "config-opts": [
     "--without-tcltk"
    ],
    "post-install": [
     "rm -rf /app/share/gitweb",
     "cd /app/libexec/git-core\nkeep=\"git git-rev-parse git-remote git-remote-https git-fetch git-reset git-clone\"\nfor f in *; do [[ \" $keep \" =~ \" $f \" ]] || rm -f \"$f\"; done\n"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.55.0.tar.xz",
      "sha256": "457fdb04dc8728e007d4688695e6912e6f680727920f2a40bf11eacc17505357",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5350,
       "url-template": "https://mirrors.edge.kernel.org/pub/software/scm/git/git-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "p7zip",
    "buildsystem": "simple",
    "build-commands": [
     "make 7z install DEST_HOME=/app"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/p7zip-project/p7zip",
      "tag": "v17.05"
     }
    ]
   },
   {
    "name": "sleepy",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "./cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm775 target/release/sleepy-launcher /app/bin/sleepy-launcher",
     "install -Dm755 moe.launcher.sleepy-launcher.sh /app/bin/moe.launcher.sleepy-launcher",
     "install -Dm644 assets/images/icon.png /app/share/icons/hicolor/512x512/apps/moe.launcher.sleepy-launcher.png",
     "desktop-file-install --dir=/app/share/applications --set-key=Exec --set-value=moe.launcher.sleepy-launcher --set-key=Icon --set-value=moe.launcher.sleepy-launcher assets/sleepy-launcher.desktop",
     "install -Dm644 assets/moe.launcher.sleepy-launcher.metainfo.xml /app/share/metainfo/moe.launcher.sleepy-launcher.metainfo.xml",
     "mkdir -p /app/utils/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/an-anime-team/sleepy-launcher",
      "tag": "1.7.1"
     },
     {
      "type": "file",
      "path": "moe.launcher.sleepy-launcher.sh"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}