{
 "app_id": "com.github.wwmm.pulseeffects",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.wwmm.pulseeffects/master/com.github.wwmm.pulseeffects.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 22,
 "fetched_at": "2026-09-17T16:07:55.447332+00:00",
 "manifest": {
  "id": "com.github.wwmm.pulseeffects",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "pulseeffects",
  "rename-icon": "pulseeffects",
  "copy-icon": true,
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--socket=pulseaudio",
   "--env=LADSPA_PATH=/app/lib/ladspa",
   "--env=LV2_PATH=/app/lib/lv2"
  ],
  "cleanup": [
   "*.a",
   "*.h",
   "*.la",
   "/bin/analyseplugin",
   "/bin/applyplugin",
   "/bin/listplugins",
   "/include",
   "/lib/pkgconfig",
   "/lib/python*",
   "/share/info"
  ],
  "modules": [
   {
    "name": "pulseeffects",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/wwmm/easyeffects.git",
      "commit": "4c517815a483e8bb88b8762a0f6017218be1cfde"
     }
    ],
    "modules": [
     {
      "name": "boost",
      "buildsystem": "simple",
      "build-commands": [
       "./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=filesystem,system --with-toolset=gcc",
       "./b2 --build-type=minimal -j $FLATPAK_BUILDER_N_JOBS toolset=gcc variant=release link=shared threading=multi install"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://archives.boost.io/release/1.89.0/source/boost_1_89_0.tar.gz",
        "sha256": "9de758db755e8330a01d995b0a24d09798048400ac25c03fc5ea9be364b13c93",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 6845,
         "url-template": "https://archives.boost.io/release/$version/source/boost_${major}_${minor}_${patch}.tar.gz"
        }
       }
      ],
      "cleanup": [
       "/lib/cmake"
      ]
     },
     {
      "name": "gtkmm",
      "buildsystem": "meson",
      "config-opts": [
       "-Dbuild-documentation=false",
       "-Dbuild-demos=false",
       "-Dbuild-tests=false"
      ],
      "sources": [
       {
        "type": "archive",
        "//": "gtkmm must stay on the gtk 3 version, meaning we must keep gtkmm and a few gtkmm dependencies on older major versions",
        "url": "https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.11.tar.xz",
        "sha256": "19e383c82d5dd89db275e00b82864e90414d4c3fb3d100b2f996bcc2338a4cc7",
        "x-checker-data": {
         "type": "gnome",
         "name": "gtkmm",
         "versions": {
          "<": "3.89"
         },
         "//": "consider this module important in order to get updates semi frequently, since pulseeffects itself is rarely updated.",
         "is-important": true
        }
       }
      ],
      "cleanup": [
       "/lib/gdkmm*",
       "/lib/gtkmm*"
      ],
      "modules": [
       {
        "name": "glibmm",
        "buildsystem": "meson",
        "config-opts": [
         "-Dbuild-documentation=false",
         "-Dbuild-examples=false"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://download.gnome.org/sources/glibmm/2.66/glibmm-2.66.8.tar.xz",
          "sha256": "64f11d3b95a24e2a8d4166ecff518730f79ecc27222ef41faf7c7e0340fc9329",
          "x-checker-data": {
           "type": "gnome",
           "name": "glibmm",
           "versions": {
            "<": "2.67"
           }
          }
         }
        ],
        "cleanup": [
         "/lib/glibmm*",
         "/lib/giomm*"
        ],
        "modules": [
         {
          "name": "libsigc++",
          "buildsystem": "meson",
          "config-opts": [
           "-Dbuild-examples=false"
          ],
          "sources": [
           {
            "type": "archive",
            "url": "https://download.gnome.org/sources/libsigc++/2.12/libsigc++-2.12.1.tar.xz",
            "sha256": "a9dbee323351d109b7aee074a9cb89ca3e7bcf8ad8edef1851f4cf359bd50843",
            "x-checker-data": {
             "type": "gnome",
             "name": "libsigc++",
             "versions": {
              "<": "2.99"
             }
            }
           }
          ],
          "cleanup": [
           "/lib/sigc++*"
          ]
         }
        ]
       },
       {
        "name": "atkmm",
        "buildsystem": "meson",
        "config-opts": [
         "-Dbuild-documentation=false"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://download.gnome.org/sources/atkmm/2.28/atkmm-2.28.5.tar.xz",
          "sha256": "ae449192a582a2582a95e0602b15d792bbd639e836339b81ef916aa87540ac5c",
          "x-checker-data": {
           "type": "gnome",
           "name": "atkmm",
           "versions": {
            "<": "2.29"
           }
          }
         }
        ],
        "cleanup": [
         "/lib/atkmm*"
        ]
       },
       {
        "name": "cairomm",
        "buildsystem": "meson",
        "config-opts": [
         "-Dbuild-documentation=false",
         "-Dbuild-examples=false",
         "-Dbuild-tests=false"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://www.cairographics.org/releases/cairomm-1.14.6.tar.xz",
          "sha256": "7e0d5c7f29175d573a03ab5c45aef63f48dd91a5caf335a404cd763e4b7cea4a",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 7959,
           "url-template": "https://www.cairographics.org/releases/cairomm-$version.tar.xz",
           "versions": {
            "<": "1.15"
           }
          }
         }
        ],
        "cleanup": [
         "/lib/cairomm*"
        ]
       },
       {
        "name": "pangomm",
        "buildsystem": "meson",
        "config-opts": [
         "-Dbuild-documentation=false"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://download.gnome.org/sources/pangomm/2.46/pangomm-2.46.4.tar.xz",
          "sha256": "b92016661526424de4b9377f1512f59781f41fb16c9c0267d6133ba1cd68db22",
          "x-checker-data": {
           "type": "gnome",
           "name": "pangomm",
           "versions": {
            "<": "2.47"
           }
          }
         }
        ],
        "cleanup": [
         "/lib/pangomm*"
        ]
       }
      ]
     },
     {
      "name": "libebur128",
      "buildsystem": "cmake-ninja",
      "config-opts": [
       "-DCMAKE_BUILD_TYPE=Release",
       "-DBUILD_STATIC_LIBS=OFF",
       "-DCMAKE_INSTALL_LIBDIR=lib",
       "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/jiixyj/libebur128.git",
        "tag": "v1.2.6",
        "commit": "67b33abe1558160ed76ada1322329b0e9e058b02",
        "x-checker-data": {
         "type": "json",
         "url": "https://api.github.com/repos/jiixyj/libebur128/releases/latest",
         "tag-query": ".tag_name",
         "version-query": "$tag | sub(\"^jq-\"; \"\")",
         "timestamp-query": ".published_at"
        }
       }
      ]
     },
     {
      "name": "zita-convolver",
      "no-autogen": true,
      "subdir": "source",
      "make-install-args": [
       "PREFIX=${FLATPAK_DEST}",
       "LIBDIR=${FLATPAK_DEST}/lib"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-4.0.3.tar.bz2",
        "sha512": "62d7841757f10c094e43ed755e187f947c5743f302ed2a1ee6064a850c18921466f4505d8a2a7b3ad23619db7f1ad7307e1dfb2e8a1e7685e60ece2ffff4f6ca"
       },
       {
        "type": "patch",
        "path": "patch/zita-convolver/0001-Fix-makefile.patch"
       }
      ],
      "modules": [
       "shared-modules/linux-audio/fftw3f.json"
      ]
     },
     {
      "name": "gst-plugins-bad",
      "buildsystem": "meson",
      "no-make-install": true,
      "make-args": [
       "ext/bs2b/libgstbs2b.so",
       "ext/ladspa/libgstladspa.so",
       "ext/lv2/libgstlv2.so",
       "ext/webrtcdsp/libgstwebrtcdsp.so"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.26.7.tar.xz",
        "sha256": "a0ab17dddd4c029ecd7a423c30badd5a3c7599ea42707016d1d57545f5723ccf",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 21849,
         "url-template": "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$version.tar.xz"
        }
       }
      ],
      "post-install": [
       "install -Dm755 -t $FLATPAK_DEST/lib/gstreamer-1.0 ext/ladspa/libgstladspa.so ext/lv2/libgstlv2.so ext/bs2b/libgstbs2b.so ext/webrtcdsp/libgstwebrtcdsp.so"
      ],
      "modules": [
       "shared-modules/linux-audio/ladspa.json",
       "shared-modules/linux-audio/lv2.json",
       "shared-modules/linux-audio/lilv.json",
       {
        "name": "bs2b",
        "rm-configure": true,
        "sources": [
         {
          "type": "archive",
          "url": "https://downloads.sourceforge.net/sourceforge/bs2b/libbs2b-3.1.0.tar.gz",
          "sha256": "6aaafd81aae3898ee40148dd1349aab348db9bfae9767d0e66e0b07ddd4b2528"
         },
         {
          "type": "script",
          "dest-filename": "autogen.sh",
          "commands": [
           "cp -p /usr/share/automake-*/config.{sub,guess} build-aux",
           "autoreconf -vfi"
          ]
         },
         {
          "type": "patch",
          "path": "patch/bs2b/001-fix-automake-dist-lzma.patch"
         }
        ],
        "cleanup": [
         "/bin"
        ]
       },
       {
        "name": "rubberband",
        "buildsystem": "meson",
        "cleanup": [
         "/include",
         "/lib/*.a",
         "/lib/pkgconfig"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://breakfastquay.com/files/releases/rubberband-4.0.0.tar.bz2",
          "sha256": "af050313ee63bc18b35b2e064e5dce05b276aaf6d1aa2b8a82ced1fe2f8028e9",
          "x-checker-data": {
           "type": "html",
           "url": "https://www.breakfastquay.com/rubberband/",
           "version-pattern": "Rubber Band Library v(\\d\\.\\d+\\.?\\d*) source",
           "url-template": "https://breakfastquay.com/files/releases/rubberband-$version.tar.bz2"
          }
         }
        ]
       },
       {
        "name": "calf",
        "buildsystem": "cmake-ninja",
        "sources": [
         {
          "type": "git",
          "url": "https://github.com/calf-studio-gear/calf",
          "tag": "0.90.9",
          "commit": "60c4963333de726f0a6d502d97fffe8d7dec8499",
          "x-checker-data": {
           "type": "git",
           "tag-pattern": "^([\\d.]+)$"
          }
         }
        ],
        "cleanup": [
         "/bin",
         "/share/applications",
         "/share/bash-completion",
         "/share/calf",
         "/share/doc",
         "/share/icons",
         "/share/man"
        ],
        "modules": [
         "shared-modules/linux-audio/fluidsynth2.json"
        ]
       },
       {
        "//": "use older lsp temporarily since newer ones don't install the plugins correctly, https://github.com/wwmm/easyeffects/issues/2284",
        "name": "lsp-plugins",
        "no-autogen": true,
        "make-args": [
         "config",
         "PREFIX=/app",
         "FEATURES=lv2"
        ],
        "make-install-args": [
         "PREFIX=/app"
        ],
        "build-options": {
         "arch": {
          "aarch64": {
           "make-args": [
            "BUILD_PROFILE=aarch64"
           ]
          },
          "arm": {
           "make-args": [
            "BUILD_PROFILE=armv7a"
           ]
          }
         }
        },
        "sources": [
         {
          "type": "archive",
          "url": "https://github.com/sadko4u/lsp-plugins/releases/download/1.2.8/lsp-plugins-src-1.2.8.tar.gz",
          "sha256": "b9d558c91eab0ce0802a0829bd8e7c8e3a682e607ac178a2bef77363296413d7"
         }
        ]
       },
       {
        "name": "zam-plugins",
        "no-autogen": true,
        "make-args": [
         "PREFIX=${FLATPAK_DEST}",
         "PLUGINS=ZaMaximX2"
        ],
        "make-install-args": [
         "PREFIX=${FLATPAK_DEST}",
         "PLUGINS=ZaMaximX2"
        ],
        "build-options": {
         "arch": {
          "aarch64": {
           "make-args": [
            "NOOPT=true"
           ]
          },
          "arm": {
           "make-args": [
            "NOOPT=true"
           ]
          }
         }
        },
        "sources": [
         {
          "type": "git",
          "url": "https://github.com/zamaudio/zam-plugins.git",
          "tag": "4.2",
          "commit": "19307a52906821ad9549b9e4c1fdbd8b70bd228e",
          "x-checker-data": {
           "type": "git",
           "tag-pattern": "^([\\d.]+)$",
           "//": "newer versions result in runtime warnings like g_settings_bind: no property 'output-ceiling' on class 'ladspa-zamaximx2-ladspa-so-zamaximx2'",
           "versions": {
            "<": "4.3"
           }
          }
         }
        ],
        "cleanup": [
         "/lib/lv2",
         "/lib/vst"
        ]
       }
      ]
     },
     {
      "name": "rnnoise",
      "sources": [
       {
        "//": "get latest fixes from upstream to fix aarch64 build",
        "type": "archive",
        "url": "https://github.com/xiph/rnnoise/archive/2e3c812c62c32b3ac486c3cd4f4894e6f57d45fd.zip",
        "sha256": "5bb718f676214097c5cd0b8defbed1cef50f26c4cea981df5bc7a3abd4b4ea15"
       },
       {
        "//": "downloads the file as found by this script https://github.com/xiph/rnnoise/blob/2e3c812c62c32b3ac486c3cd4f4894e6f57d45fd/download_model.sh",
        "type": "file",
        "url": "https://media.xiph.org/rnnoise/models/rnnoise_data-4ac81c5c0884ec4bd5907026aaae16209b7b76cd9d7f71af582094a2f98f4b43.tar.gz",
        "sha256": "4ac81c5c0884ec4bd5907026aaae16209b7b76cd9d7f71af582094a2f98f4b43"
       }
      ],
      "cleanup": [
       "/share/doc/rnnoise"
      ]
     }
    ]
   }
  ]
 }
}