{
 "app_id": "io.github.Soundux",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Soundux/master/io.github.Soundux.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri",
  "--filesystem=xdg-run/pipewire-0",
  "--filesystem=xdg-download:ro",
  "--filesystem=xdg-music:ro",
  "--filesystem=xdg-documents:ro",
  "--filesystem=/run/media:ro",
  "--filesystem=/media:ro"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:10:29.195864+00:00",
 "manifest": {
  "app-id": "io.github.Soundux",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "command": "soundux-startup",
  "finish-args": [
   "--device=dri",
   "--socket=pulseaudio",
   "--socket=x11",
   "--share=network",
   "--share=ipc",
   "--filesystem=xdg-run/pipewire-0",
   "--filesystem=xdg-music:ro",
   "--filesystem=xdg-download:ro",
   "--filesystem=xdg-documents:ro",
   "--filesystem=/run/media:ro",
   "--filesystem=/media:ro"
  ],
  "modules": [
   "shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json",
   {
    "name": "libwnck",
    "buildsystem": "meson",
    "config-opts": [
     "-Dgtk_doc=false"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libwnck/43/libwnck-43.3.tar.xz",
      "sha256": "6af8ac41a8f067ade1d3caaed254a83423b5f61ad3f7a460fcacbac2e192bdf7",
      "x-checker-data": {
       "type": "gnome",
       "name": "libwnck",
       "versions": {
        ">=": "40.0"
       },
       "url-template": "https://download.gnome.org/sources/libwnck/$major/libwnck-$version.tar.xz",
       "stable-only": true
      }
     }
    ]
   },
   {
    "name": "soundux",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DUSE_FLATPAK=ON",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
     "-DCMAKE_CXX_FLAGS=-Wno-error=deprecated-declarations"
    ],
    "post-install": [
     "install -Dm 644 -t /app/share/metainfo deployment/appstream/io.github.Soundux.metainfo.xml",
     "desktop-file-edit --set-key=Exec --set-value='soundux-startup %U' deployment/appstream/io.github.Soundux.desktop",
     "install -Dm 644 -t /app/share/applications deployment/appstream/io.github.Soundux.desktop",
     "install -Dm 644 deployment/flatpak/icons/io.github.Soundux-256.png /app/share/icons/hicolor/256x256/apps/io.github.Soundux.png",
     "install -Dm 755 -t /app/bin soundux-startup"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Soundux/Soundux/releases/download/0.2.7/soundux-0.2.7.tar.gz",
      "sha512": "e813be41d324536065a1f98d397027b98a9db504faed7abb074bd0cc6ac65a7804d120cc559c5fa509acf39ff851aa74d02c4da0f3c49ad8f01286cb81776bd3",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Soundux/Soundux/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name|endswith(\".tar.gz\")) | .browser_download_url"
      },
      "strip-components": 2
     },
     {
      "type": "patch",
      "paths": [
       "guardpp-build-fix.patch",
       "pipewire-build-fix.patch",
       "webviewpp-build-fix.patch"
      ]
     },
     {
      "type": "file",
      "path": "soundux-startup"
     },
     {
      "type": "archive",
      "dest": "lib/cpp-httplib",
      "archive-type": "tar-gzip",
      "url": "https://api.github.com/repos/yhirose/cpp-httplib/tarball/v0.56.0",
      "sha512": "184e16c2e7f92395c999ab0f8fea18b49c8984221f4012a459b84e967225f7c0a700143bad28eec1700903d114d6218bff9f8ec32e1e92f00bacd16d24e032cb",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/yhirose/cpp-httplib/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".tarball_url"
      }
     }
    ]
   },
   {
    "name": "yt-dlp",
    "no-autogen": true,
    "no-make-install": true,
    "make-args": [
     "yt-dlp",
     "PYTHON=/usr/bin/python"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/yt-dlp/yt-dlp/releases/download/2026.08.19/yt-dlp.tar.gz",
      "sha512": "a61c308d8cb34e37030a95d6bf9924d43f349674e73bc3ff16306a8a89cc4d154da18c146a1675c32bbdb35a3dd12dde337b2f8e461786b2067f69dd7d600bb0",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name|endswith(\".tar.gz\")) | .browser_download_url"
      }
     },
     {
      "type": "file",
      "path": "youtube-dl"
     }
    ],
    "post-install": [
     "install -Dm0755 -t /app/bin yt-dlp",
     "install -Dm0755 -t /app/bin youtube-dl"
    ]
   }
  ]
 }
}