{
 "app_id": "com.github.lxgr_linux.pokete",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.lxgr_linux.pokete/master/com.github.lxgr_linux.pokete.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--socket=pulseaudio"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:07:39.955328+00:00",
 "manifest": {
  "app-id": "com.github.lxgr_linux.pokete",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "pokete",
  "finish-args": [
   "--share=network",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/assets/AppImageBuilder.yml",
   "/assets/ss",
   "/assets/*.png",
   "/assets/*.kra",
   "/assets/*.kra~",
   "/assets/*.md",
   "/.github",
   "/*.md",
   "/.*",
   "/bash",
   "/gen_wiki.py",
   "/Pipfile*",
   "/prepare_pages.py",
   "/playsound/libplaysound.dll",
   "/playsound/libplaysound.osx.so",
   "/src/github.com",
   "/wrapper.sh"
  ],
  "modules": [
   {
    "name": "pokete",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/golang/bin",
     "env": {
      "GOBIN": "/app/bin",
      "GO111MODULE": false,
      "GOPATH": "/run/build/pokete/go-modules"
     }
    },
    "build-commands": [
     "cd playsound && go build -ldflags \"-s -w\" -buildmode=c-shared -o ./libplaysound.so",
     "cp -r . /app",
     "desktop-file-edit --set-icon=$FLATPAK_ID --set-key=Exec --set-value=pokete assets/pokete.desktop",
     "install -D assets/pokete.desktop /app/share/applications/com.github.lxgr_linux.pokete.desktop",
     "install -D assets/pokete.svg /app/share/icons/hicolor/scalable/apps/com.github.lxgr_linux.pokete.svg",
     "install -D assets/pokete.metainfo.xml /app/share/metainfo/com.github.lxgr_linux.pokete.metainfo.xml",
     "install -D wrapper.sh /app/bin/pokete",
     "echo 'environment=\"flatpak\"' >> /app/release.py"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/lxgr-linux/pokete/archive/refs/tags/0.9.2.tar.gz",
      "sha256": "19d9b7a526fdaacdc0e656407f4ccc0545f8fc6ab2beb292d15b686ec90fbc06"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/lxgr-linux/scrap_engine/1.4.0/scrap_engine.py",
      "sha256": "8f7221794ba3c528cf80cd530dcc69bff7b5229c7d39d2b05d935ed9e6f8c900"
     },
     {
      "type": "archive",
      "url": "https://github.com/hajimehoshi/oto/archive/refs/tags/v2.2.0.tar.gz",
      "sha256": "2138188978e144f87b99762654382a32b35d8fdfe06df4447d1663a92f031708",
      "dest": "go-modules/src/github.com/hajimehoshi/oto/v2"
     },
     {
      "type": "archive",
      "url": "https://github.com/hajimehoshi/go-mp3/archive/refs/tags/v0.3.3.tar.gz",
      "sha256": "5f51d7e3484c868faead7482dcd8af6436302290cc05dfbef999f72cf54984af",
      "dest": "go-modules/src/github.com/hajimehoshi/go-mp3"
     },
     {
      "type": "script",
      "commands": [
       "cd /app",
       "python3 pokete.py --log"
      ],
      "dest-filename": "wrapper.sh"
     }
    ]
   }
  ]
 }
}