{
 "app_id": "com.arteeh.Flasher",
 "source_url": "https://raw.githubusercontent.com/arteeh/pinetime-flasher/lastworking/build/com.arteeh.Flasher.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "43",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--share=network",
  "--device=all"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T17:31:50.451217+00:00",
 "manifest": {
  "app-id": "com.arteeh.Flasher",
  "runtime": "org.gnome.Platform",
  "runtime-version": "43",
  "sdk": "org.gnome.Sdk",
  "command": "pinetime-flasher",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=network",
   "--device=all"
  ],
  "modules": [
   {
    "name": "libusb",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libusb/libusb.git",
      "tag": "v1.0.24",
      "commit": "c6a35c56016ea2ab2f19115d2ea1e85e0edae155"
     }
    ]
   },
   {
    "name": "openocd",
    "config-opts": [
     "--enable-stlink"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://git.code.sf.net/p/openocd/code",
      "tag": "v0.11.0",
      "commit": "f342aac0845a69d591ad39a025d74e9c765f6420"
     }
    ]
   },
   {
    "name": "libhandy",
    "buildsystem": "meson",
    "builddir": true,
    "config-opts": [
     "-Dexamples=false",
     "-Dtests=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.gnome.org/GNOME/libhandy.git",
      "tag": "1.0.3",
      "commit": "7126d2e8da9dcdeb5751e60ff6a74930804f9637"
     }
    ]
   },
   {
    "name": "flasher",
    "buildsystem": "simple",
    "subdir": "build",
    "build-commands": [
     "make",
     "install -D pinetime-flasher /app/bin/pinetime-flasher",
     "install -D ../src/flash-init.ocd /app/bin/flash-init.ocd",
     "install -D ../src/flash-program.ocd /app/bin/flash-program.ocd",
     "install -D ../src/swd-stlink.ocd /app/bin/swd-stlink.ocd",
     "install -D icon.svg /app/share/icons/hicolor/scalable/apps/com.arteeh.Flasher.svg",
     "install -D icon.png /app/share/icons/hicolor/128x128/apps/com.arteeh.Flasher.png",
     "install -D com.arteeh.Flasher.desktop /app/share/applications/com.arteeh.Flasher.desktop",
     "install -D com.arteeh.Flasher.metainfo.xml /app/share/metainfo/com.arteeh.Flasher.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/arteeh/pinetime-flasher.git",
      "tag": 1.1
     }
    ]
   }
  ]
 }
}