{
 "app_id": "com.kymorphia.Daphne",
 "source_url": "https://raw.githubusercontent.com/flathub/com.kymorphia.Daphne/master/com.kymorphia.Daphne.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:08:17.060330+00:00",
 "manifest": {
  "id": "com.kymorphia.Daphne",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.ldc",
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "command": "daphne-music",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/import"
  ],
  "modules": [
   {
    "name": "daphne-music",
    "buildsystem": "simple",
    "no-autogen": true,
    "build-options": {
     "append-path": "/usr/lib/sdk/ldc/bin"
    },
    "build-commands": [
     "jq 'del(.configurations[] | select(.name != \"SQLite\"))' deps/ddbc/dub.json > tmp.json && mv tmp.json deps/ddbc/dub.json",
     "make update-config PREFIX=/app",
     "DUB_CACHE_PATH=${FLATPAK_BUILDER_BUILDDIR}/dub-cache DUB_HOME=${FLATPAK_BUILDER_BUILDDIR}/dub-home dub build --recipe=dub-local-deps.json --compiler ldc2 --verbose --cache=local --build=release",
     "install -Dm755 daphne-music /app/bin/daphne-music",
     "install -Dm644 com.kymorphia.Daphne.desktop /app/share/applications/com.kymorphia.Daphne.desktop",
     "install -Dm644 com.kymorphia.Daphne.svg /app/share/icons/hicolor/scalable/apps/com.kymorphia.Daphne.svg",
     "install -Dm644 com.kymorphia.Daphne.metainfo.xml /app/share/metainfo/com.kymorphia.Daphne.metainfo.xml",
     "install -dm755 /app/share/daphne-music/help",
     "install -Dm644 help/* /app/share/daphne-music/help/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/Kymorphia/daphne.git",
      "tag": "v1.0.9",
      "commit": "da7ab4d6ae80acae381219c9736d68ac0011d07a"
     },
     {
      "type": "git",
      "url": "https://github.com/Kymorphia/gid.git",
      "tag": "v0.9.9",
      "commit": "ddf1011ef8de8c323541d9060c8a985c68a8937b",
      "dest": "deps/gid",
      "disable-submodules": true
     },
     {
      "type": "git",
      "url": "https://github.com/Kymorphia/taglib-d.git",
      "tag": "v2.0.1",
      "commit": "663b16c0c35bb3bcd796de5143418a702896e338",
      "dest": "deps/taglib-d"
     },
     {
      "type": "git",
      "url": "https://codeberg.org/Kymorphia/markdown-browser.git",
      "tag": "v0.9.2",
      "commit": "2100777efdbcffcdf6d65355a2995f027946cf72",
      "dest": "deps/markdown-browser"
     },
     {
      "type": "git",
      "url": "https://github.com/buggins/ddbc.git",
      "tag": "v0.7.0",
      "commit": "7574333f6d95b6beddfd27777eb38feb6fd30d4d",
      "dest": "deps/ddbc"
     },
     {
      "type": "git",
      "url": "https://github.com/FreeSlave/mofile.git",
      "tag": "v0.2.1",
      "commit": "6dc54fdd4c1faf7dd9976a488ac84afc96a6ee28",
      "dest": "deps/mofile"
     },
     {
      "type": "git",
      "url": "https://github.com/veelo/gettext.git",
      "tag": "v1.0.10",
      "commit": "eb5c377034dfc44b05b0db964633681233c722bf",
      "dest": "deps/gettext"
     }
    ]
   }
  ]
 }
}