{
 "app_id": "ca.littlesvr.asunder",
 "source_url": "https://raw.githubusercontent.com/flathub/ca.littlesvr.asunder/master/ca.littlesvr.asunder.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--device=all",
  "--filesystem=home"
 ],
 "module_count": 13,
 "fetched_at": "2026-09-17T16:06:37.755080+00:00",
 "manifest": {
  "app-id": "ca.littlesvr.asunder",
  "runtime": "org.freedesktop.Platform",
  "sdk": "org.freedesktop.Sdk",
  "runtime-version": "25.08",
  "command": "asunder",
  "rename-desktop-file": "asunder.desktop",
  "rename-icon": "asunder",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--device=all",
   "--share=network",
   "--filesystem=home",
   "--env=TMPDIR=/var/tmp"
  ],
  "cleanup": [
   "/man",
   "/include",
   "/share/man",
   "/share/doc",
   "/lib/*.a",
   "/lib/*.la"
  ],
  "modules": [
   "shared-modules/gtk2/gtk2.json",
   {
    "name": "fdk-aac",
    "buildsystem": "autotools",
    "config-opts": [
     "--prefix=/app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mstorsjo/fdk-aac/archive/v2.0.3.tar.gz",
      "sha256": "e25671cd96b10bad896aa42ab91a695a9e573395262baed4e4a2ff178d6a3a78",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 16208,
       "url-template": "https://github.com/mstorsjo/fdk-aac/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "fdkaac",
    "buildsystem": "simple",
    "build-commands": [
     "autoreconf -i",
     "./configure --prefix=/app",
     "make",
     "make install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/nu774/fdkaac/archive/v1.0.7.tar.gz",
      "sha256": "145d4684c9325a2bd650e46a04b03327abe780a7b59cce47e6de8af2064fb2c7",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 14706,
       "url-template": "https://github.com/nu774/fdkaac/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "vorbis-tools",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.3.tar.gz",
      "sha256": "a1fe3ddc6777bdcebf6b797e7edfe0437954b24756ffcc8c6b816b63e0460dde",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5104,
       "url-template": "https://downloads.xiph.org/releases/vorbis/vorbis-tools-$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "patches-vorbis/0001-fix-build-with-gcc-14.patch"
     }
    ],
    "cleanup": [
     "/bin/vorbiscomment",
     "/bin/ogginfo",
     "/bin/oggdec",
     "/bin/vcut",
     "/share/locale",
     "/share/runtime"
    ]
   },
   {
    "name": "opus-file",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xiph.org/releases/opus/opusfile-0.12.tar.gz",
      "sha256": "118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10353,
       "url-template": "https://downloads.xiph.org/releases/opus/opusfile-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "opus-encoder",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://archive.mozilla.org/pub/opus/libopusenc-0.2.1.tar.gz",
      "sha256": "8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 17877,
       "url-template": "https://archive.mozilla.org/pub/opus/libopusenc-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "opus-tools",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://archive.mozilla.org/pub/opus/opus-tools-0.2.tar.gz",
      "sha256": "b4e56cb00d3e509acfba9a9b627ffd8273b876b4e2408642259f6da28fa0ff86",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 7905,
       "url-template": "https://archive.mozilla.org/pub/opus/opus-tools-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "musepack",
    "buildsystem": "autotools",
    "config-opts": [
     "LDFLAGS=-Wl,--allow-multiple-definition"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.musepack.net/source/musepack_src_r475.tar.gz",
      "sha256": "a4b1742f997f83e1056142d556a8c20845ba764b70365ff9ccf2e3f81c427b2b"
     },
     {
      "type": "patch",
      "paths": [
       "patches-musepack/libmpcdec.patch",
       "patches-musepack/libmpcdec-extern.patch",
       "patches-musepack/libmpcdec-fastmath-no-const.patch",
       "patches-musepack/libmpcdec-gcc14.patch"
      ]
     },
     {
      "type": "shell",
      "commands": [
       "touch include/config.h.in",
       "head -n 34 configure.in >> configure.ac",
       "echo \"AM_CONDITIONAL([HAVE_VISIBILITY], [false])\" >> configure.ac",
       "echo \"AC_CHECK_LIB([m],[cos])\" >> configure.ac",
       "tail -n 18 configure.in >> configure.ac",
       "rm configure.in",
       "autoreconf -i"
      ]
     }
    ]
   },
   "shared-modules/mac/mac.json",
   {
    "name": "libcddb",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://prdownloads.sourceforge.net/libcddb/libcddb-1.3.2.tar.bz2",
      "sha256": "35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1572,
       "url-template": "https://prdownloads.sourceforge.net/libcddb/libcddb-$version.tar.bz2"
      }
     },
     {
      "type": "patch",
      "path": "patches-libcddb/pointer-types.patch"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} ."
      ]
     }
    ]
   },
   {
    "name": "cdparanoia",
    "buildsystem": "simple",
    "build-commands": [
     "./configure --prefix=/app",
     "make all slib",
     "make install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz",
      "sha256": "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 15309,
       "url-template": "https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$version.src.tgz"
      }
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.sub ./configure.sub",
       "cp -p /usr/share/automake-*/config.guess ./configure.guess"
      ]
     }
    ]
   },
   {
    "name": "asunder",
    "buildsystem": "autotools",
    "config-opts": [
     "--prefix=/app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://littlesvr.ca/asunder/releases/asunder-3.0.2.tar.bz2",
      "sha256": "b71341d746ccf56aa77b1785c6af81aa641d084ac3d34b78beb537618848b64b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 124,
       "url-template": "http://littlesvr.ca/asunder/releases/asunder-$version.tar.bz2"
      }
     }
    ],
    "post-install": [
     "install -Dm 644 ./asunder.desktop -t /app/share/applications/",
     "install -Dm 644 ./pixmaps/asunder.png -t /app/share/icons/hicolor/128x128/apps/",
     "install -Dm 644 ./pixmaps/asunder.svg -t /app/share/icons/hicolor/scalable/apps/",
     "desktop-file-edit --set-key=Keywords --set-value='Extract;Compact;Disc;' /app/share/applications/asunder.desktop"
    ]
   },
   {
    "name": "metadata",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm 644 ca.littlesvr.asunder.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "file",
      "path": "ca.littlesvr.asunder.metainfo.xml"
     }
    ]
   }
  ]
 }
}