{
 "app_id": "org.kde.kwave",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.kwave/master/org.kde.kwave.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-21T13:30:20.678446+00:00",
 "manifest": {
  "id": "org.kde.kwave",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "kwave",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--system-talk-name=org.freedesktop.UDisks2"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/libmad/libmad.json",
   {
    "name": "libaudiofile",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-docs",
     "--disable-examples"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mpruett/audiofile",
      "commit": "b62c902dd258125cac86cd2df21fc898035a43d3"
     }
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "id3lib",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://downloads.sourceforge.net/id3lib/id3lib-3.8.3.tar.gz",
      "sha256": "2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079"
     },
     {
      "type": "patch",
      "paths": [
       "patches/00-add-libz-to-compilation.patch",
       "patches/05-create-m4-directory.patch",
       "patches/10-fix-compilation-with-cpp-headers.patch",
       "patches/15-fix-headers-of-main-functions.patch",
       "patches/30-fix-utf16.patch",
       "patches/31-fix-utf16-stringlists.patch",
       "patches/40-deal-with-mkstemp.patch",
       "patches/50-remove-outdated-check.patch",
       "patches/60-add-c-wrapper-functions.patch",
       "patches/60-fix_make_check.patch",
       "patches/60-id3lib-missing-nullpointer-check.patch",
       "patches/61-fix_vbr_stack_smash.patch",
       "patches/62-remove-remote-icons.patch"
      ]
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} ."
      ]
     }
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "kwave",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/release-service/26.08.1/src/kwave-26.08.1.tar.xz",
      "sha256": "7f64ac6a23a8e3d7600451f05e610e7d028220a1f0aedcbdcf7e249c3bab3f15",
      "x-checker-data": {
       "is-main-source": true,
       "type": "anitya",
       "project-id": 8763,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/release-service/$version/src/kwave-$version.tar.xz"
      }
     }
    ]
   }
  ]
 }
}