{
 "app_id": "org.tenacityaudio.Tenacity",
 "source_url": "https://raw.githubusercontent.com/flathub/org.tenacityaudio.Tenacity/master/org.tenacityaudio.Tenacity.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--filesystem=/tmp",
  "--filesystem=host"
 ],
 "module_count": 17,
 "fetched_at": "2026-09-17T16:16:47.247188+00:00",
 "manifest": {
  "app-id": "org.tenacityaudio.Tenacity",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "tenacity.sh",
  "rename-icon": "tenacity",
  "rename-desktop-file": "tenacity.desktop",
  "rename-appdata-file": "tenacity.metainfo.xml",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=network",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=host",
   "--filesystem=/tmp",
   "--env=LD_LIBRARY_PATH=/app/lib/tenacity",
   "--env=ALSA_CONFIG_PATH=",
   "--env=LADSPA_PATH=/app/extensions/Plugins/ladspa",
   "--env=VST_PATH=/app/extensions/Plugins/vst",
   "--env=VST3_PATH=/app/extensions/Plugins/vst3",
   "--filesystem=xdg-run/pipewire-0:ro"
  ],
  "add-extensions": {
   "org.freedesktop.LinuxAudio.Plugins": {
    "directory": "extensions/Plugins",
    "version": "25.08",
    "add-ld-path": "lib",
    "merge-dirs": "ladspa;lv2;vst;vst3",
    "subdirectories": true,
    "no-autodownload": true
   }
  },
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "wxwidgets",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DwxUSE_LIBPNG=sys",
     "-DwxUSE_ZLIB=sys",
     "-DwxBUILD_CXX_STANDARD=17",
     "-DwxBUILD_TESTS=OFF",
     "-DwxUSE_WEBVIEW=OFF",
     "-DwxUSE_WEBVIEW_WEBKIT=OFF",
     "-DwxUSE_RIBBON=OFF",
     "-DwxUSE_PROPGRID=OFF",
     "-DwxUSE_RICHTEXT=OFF",
     "-DwxUSE_RICHTEXT_XML_HANDLER=OFF",
     "-DwxUSE_EXPAT=sys",
     "-DwxUSE_MDI=OFF",
     "-DwxUSE_STC=OFF",
     "-DwxUSE_MEDIACTRL=OFF",
     "-DwxUSE_PROTOCOL=OFF",
     "-DwxUSE_FS_INET=OFF",
     "-DwxUSE_URL=OFF",
     "-DwxUSE_MDI_ARCHITECTURE=OFF",
     "-DwxUSE_LIBJPEG=OFF",
     "-DwxUSE_LIBTIFF=OFF",
     "-DwxUSE_NANOSVG=OFF",
     "-DwxUSE_SVG=OFF",
     "-DwxUSE_DIALUP_MANAGER=OFF",
     "-DwxUSE_DYNAMIC_LOADER=OFF",
     "-DwxUSE_LIBGNOMEVFS=OFF",
     "-DwxUSE_AUI=OFF"
    ],
    "cleanup": [
     "/bin",
     "/lib/wx",
     "/share/bakefile"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/wxWidgets/wxWidgets",
      "tag": "v3.3.3.1",
      "commit": "565553ee980e925bbd8b3cdaeea0eb9f453d7dfd",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "libid3tag",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/tenacityteam/libid3tag.git",
      "tag": "0.16.4",
      "commit": "fff52d4e27a6f8e3a714bd304e4258d9e1b0dad8",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   "shared-modules/libmad/libmad.json",
   "shared-modules/linux-audio/lv2.json",
   "shared-modules/linux-audio/lilv.json",
   "deps/suil.json",
   {
    "name": "libebml",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Matroska-Org/libebml.git",
      "tag": "release-1.4.5",
      "commit": "1878e784321673561039a6a37076b2736f4dc98f",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^release-([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "libmatroska",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Matroska-Org/libmatroska.git",
      "tag": "release-1.7.1",
      "commit": "f5315fddda2d434e47035c038549a808d8b8eac7",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^release-([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "portaudio",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/PortAudio/portaudio.git",
      "tag": "v19.7.0",
      "commit": "147dd722548358763a8b649b3e4b41dfffbcfbb6",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "portsmf",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/tenacityteam/portsmf.git",
      "tag": "239",
      "commit": "951b636f7d0cba370d483a91f1897c71f3d98530",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "portmidi",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/PortMidi/portmidi.git",
      "tag": "v2.0.8",
      "commit": "101dac9455e2718512c94e24cbcae6a6f34b908b",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "soxr",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "cleanup": [
     "/share/doc/libsoxr/examples"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/chirlu/soxr.git",
      "tag": "0.1.3",
      "commit": "945b592b70470e29f917f4de89b4281fbbd540c0",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "libsbsms",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/claytonotey/libsbsms.git",
      "tag": "2.3.0",
      "commit": "e99cd7e6c6367e476577be34d2fdbe2023904d7e",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "vamp-plugin-sdk",
    "no-parallel-make": true,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/vamp-plugins/vamp-plugin-sdk.git",
      "tag": "vamp-plugin-sdk-v2.10",
      "commit": "67adfc2bf9486912a0fce5123cf54360ea2678bc"
     }
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "soundtouch",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/soundtouch/soundtouch.git",
      "tag": "2.4.1",
      "commit": "0047e0b1ecfceb041348579119bf79b73a322a3a",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "twolame",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/njh/twolame/releases/download/0.4.0/twolame-0.4.0.tar.gz",
      "sha256": "cc35424f6019a88c6f52570b63e1baf50f62963a3eac52a03a800bb070d7c87d"
     }
    ]
   },
   {
    "name": "tenacity",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "build-options": {
     "cxxflags": "-include cstdint"
    },
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DWX_CONFIG=/app/bin/wx-config",
     "-DSBSMS=On"
    ],
    "post-install": [
     "install -d /app/extensions/Plugins",
     "install -Dm755 ../tenacity.sh /app/bin/tenacity.sh"
    ],
    "cleanup": [
     "/share/tenacity/include",
     "/share/audacity/include",
     "/share/pixmaps"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/tenacityteam/tenacity.git",
      "tag": "v1.3.5",
      "commit": "52ef74db0a2ee8a9e42be1f4a2ff57d90d6564d7"
     },
     {
      "type": "script",
      "dest-filename": "tenacity.sh",
      "commands": [
       "export LV2_PATH=$HOME/.lv2:/app/extensions/Plugins/lv2:/app/lib/lv2",
       "exec tenacity \"$@\""
      ]
     }
    ]
   }
  ]
 }
}