{
 "app_id": "de.danielnoethen.butt",
 "source_url": "https://raw.githubusercontent.com/flathub/de.danielnoethen.butt/master/de.danielnoethen.butt.json",
 "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",
  "--filesystem=home",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.mpris.MediaPlayer2.*",
  "--talk-name=org.gnome.Rhythmbox3"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T16:09:16.288789+00:00",
 "manifest": {
  "app-id": "de.danielnoethen.butt",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "butt",
  "rename-icon": "butt",
  "rename-desktop-file": "butt.desktop",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=network",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0",
   "--device=dri",
   "--filesystem=home",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.mpris.MediaPlayer2.*",
   "--talk-name=org.gnome.Rhythmbox3"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "*.a"
  ],
  "modules": [
   {
    "name": "portaudio",
    "buildsystem": "autotools",
    "config-opts": [
     "--enable-cxx"
    ],
    "no-parallel-make": true,
    "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": "portmidi",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/PortMidi/portmidi.git",
      "tag": "v2.0.8",
      "commit": "101dac9455e2718512c94e24cbcae6a6f34b908b"
     }
    ],
    "cleanup": [
     "/bin"
    ],
    "x-checker-data": {
     "type": "git",
     "tag-pattern": "^v([\\d.]+)$"
    }
   },
   {
    "name": "libdatachannel",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DUSE_GNUTLS=0",
     "-DUSE_NICE=0",
     "-DNO_EXAMPLES=1",
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/paullouisageneau/libdatachannel.git",
      "tag": "v0.24.2",
      "commit": "4e4f4892dccb2a57fe3a490d0c9d958de4244e74"
     }
    ],
    "x-checker-data": {
     "type": "git",
     "tag-pattern": "^v([\\d.]+)$"
    }
   },
   {
    "name": "libfdk-aac",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mstorsjo/fdk-aac.git",
      "tag": "v2.0.3",
      "commit": "716f4394641d53f0d79c9ddac3fa93b03a49f278"
     }
    ],
    "x-checker-data": {
     "type": "git",
     "tag-pattern": "^v([\\d.]+)$"
    }
   },
   "shared-modules/glu/glu-9.json",
   {
    "name": "fltk",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/fltk/fltk.git",
      "tag": "release-1.4.5",
      "commit": "a9b1113516ffd15fc7602a6d425a317df30f4720"
     }
    ],
    "x-checker-data": {
     "type": "git",
     "tag-pattern": "^release-1.4.([\\d.]+)$"
    }
   },
   {
    "name": "butt",
    "buildsystem": "autotools",
    "no-autogen": true,
    "config-opts": [
     "--with-client",
     "--enable-webrtc",
     "--prefix=/app"
    ],
    "post-install": [
     "cp -r usr/share /app"
    ],
    "cleanup": [
     "/share/icons/hicolor/512x512@2x"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://danielnoethen.de/butt/release/1.47.0/butt-1.47.0.tar.gz",
      "sha256": "d7b3a8bbbe011c337cf93c6a683071210cc39e0277f77482f94532becf126760",
      "x-checker-data": {
       "type": "html",
       "url": "https://danielnoethen.de/butt/",
       "version-pattern": "Latest version: ([\\d\\.-]*)",
       "url-template": "https://danielnoethen.de/butt/release/$version/butt-$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "metadata.patch"
     }
    ]
   }
  ]
 }
}