{
 "app_id": "com.alpineclient.AlpineClient",
 "source_url": "https://raw.githubusercontent.com/flathub/com.alpineclient.AlpineClient/master/com.alpineclient.AlpineClient.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=xdg-download:ro",
  "--filesystem=xdg-run/app/com.discordapp.Discord:create",
  "--filesystem=xdg-run/app/com.spotify.Client:create",
  "--filesystem=~/.alpineclient:create"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:06:52.509043+00:00",
 "manifest": {
  "id": "com.alpineclient.AlpineClient",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "alpine-client",
  "finish-args": [
   "--persist=.alpineclient",
   "--socket=x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--share=network",
   "--share=ipc",
   "--filesystem=xdg-download:ro",
   "--filesystem=home/.alpineclient:create",
   "--filesystem=xdg-run/app/com.spotify.Client:create",
   "--filesystem=xdg-run/app/com.discordapp.Discord:create"
  ],
  "build-options": {
   "env": [
    "GOBIN=/app/bin",
    "GOROOT=/usr/lib/sdk/golang",
    "CGO_ENABLED=0",
    "PKG=ci/pkg/linux/flatpak"
   ]
  },
  "modules": [
   {
    "name": "xrandr",
    "sources": [
     {
      "type": "archive",
      "url": "https://xorg.freedesktop.org/archive/individual/app/xrandr-1.5.1.tar.xz",
      "sha256": "7bc76daf9d72f8aff885efad04ce06b90488a1a169d118dea8a2b661832e8762"
     }
    ]
   },
   {
    "name": "alpineclient",
    "buildsystem": "simple",
    "build-commands": [
     "version=$(cat VERSION)",
     "$GOROOT/bin/go clean -cache -modcache -i -r",
     "$GOROOT/bin/go build -a -trimpath -buildmode=pie -mod=vendor -ldflags=\"-s -w -X main.version=${version}\" -o bin/alpine-client .",
     "install -Dm755 bin/alpine-client -t /app/bin/",
     "install -Dm644 $PKG/${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm644 $PKG/${FLATPAK_ID}.png -t /app/share/icons/hicolor/256x256/apps/",
     "install -Dm644 $PKG/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/alpine-client/pinnacle.git",
      "commit": "e2310b9a16ea0499a8b9014d538902cc9e2ad32f"
     }
    ]
   }
  ]
 }
}