{
 "app_id": "com.github.Flacon",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.Flacon/master/com.github.Flacon.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=xdg-run/gvfs",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 14,
 "fetched_at": "2026-09-17T16:07:24.905171+00:00",
 "manifest": {
  "app-id": "com.github.Flacon",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "flacon",
  "rename-desktop-file": "flacon.desktop",
  "rename-icon": "flacon",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--share=network",
   "--filesystem=home",
   "--filesystem=xdg-run/gvfs",
   "--filesystem=xdg-run/gvfsd",
   "--env=TMPDIR=/var/tmp"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "alacenc",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/flacon/alacenc.git",
      "tag": "v0.4.1",
      "commit": "9dcfb54438822c0955da98077f63e36ce3d19dd8",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "faac",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/faac/files/faac-src/faac-1.30/faac-1_30.tar.gz",
      "sha256": "adc387ce588cca16d98c03b6ec1e58f0ffd9fc6eadb00e254157d6b16203b2d2"
     }
    ]
   },
   {
    "name": "vorbis-tools",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.3.tar.gz",
      "sha256": "a1fe3ddc6777bdcebf6b797e7edfe0437954b24756ffcc8c6b816b63e0460dde",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5104,
       "url-template": "https://downloads.xiph.org/releases/vorbis/vorbis-tools-$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "/bin/vorbiscomment",
     "/bin/ogginfo",
     "/bin/oggdec",
     "/bin/vcut",
     "/share/locale",
     "/share/runtime"
    ]
   },
   {
    "name": "opus-file",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xiph.org/releases/opus/opusfile-0.12.tar.gz",
      "sha256": "118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10353,
       "url-template": "https://downloads.xiph.org/releases/opus/opusfile-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "opus-encoder",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://archive.mozilla.org/pub/opus/libopusenc-0.2.1.tar.gz",
      "sha256": "8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 17877,
       "url-template": "https://archive.mozilla.org/pub/opus/libopusenc-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "opus-tools",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://archive.mozilla.org/pub/opus/opus-tools-0.2.tar.gz",
      "sha256": "b4e56cb00d3e509acfba9a9b627ffd8273b876b4e2408642259f6da28fa0ff86",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 7905,
       "url-template": "https://archive.mozilla.org/pub/opus/opus-tools-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "sox",
    "buildsystem": "autotools",
    "config-opts": [
     "--without-dyn-default",
     "--without-static",
     "--disable-symlinks",
     "--without-alsa",
     "--without-pulseaudio",
     "--without-oss",
     "--without-gsm",
     "--without-lpc10",
     "--with-flac=yes",
     "--with-mp3=yes",
     "--with-oggvorbis=yes",
     "--with-sndfile=no",
     "--with-wavpack=yes"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/sox/files/sox/14.4.2/sox-14.4.2.tar.bz2",
      "sha256": "81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4858,
       "url-template": "https://sourceforge.net/projects/sox/files/sox/$version/sox-$version.tar.bz2"
      }
     },
     {
      "type": "patch",
      "path": "patches/sox-build.patch"
     }
    ]
   },
   {
    "name": "ttaenc",
    "buildsystem": "simple",
    "build-commands": [
     "if [ \"$FLATPAK_ARCH\" = \"aarch64\" ]; then\n  $(sed -i 's/-msse//g' ./Makefile)\nfi\n",
     "make",
     "install -m 755 ttaenc /app/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/tta/files/tta/ttaenc-src/ttaenc-3.4.1-src.tgz",
      "sha256": "b2c9c8b015acc5864f082a0157f2e09c5117d1445321cb6178e925b448be3dc6"
     }
    ]
   },
   "shared-modules/mac/mac.json",
   {
    "name": "utfcpp",
    "disabled": true,
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/nemtrif/utfcpp/archive/refs/tags/v4.0.9.tar.gz",
      "sha256": "397a9a2a6ed5238f854f490b0177b840abc6b62571ec3e07baa0bb94d3f14d5a",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 20545,
       "url-template": "https://github.com/nemtrif/utfcpp/archive/refs/tags/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "taglib",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://taglib.org/releases/taglib-1.13.1.tar.gz",
      "sha256": "c8da2b10f1bfec2cd7dbfcd33f4a2338db0765d851a50583d410bacf055cfd0b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1982,
       "url-template": "https://taglib.org/releases/taglib-$version.tar.gz",
       "versions": {
        "<": "2"
       }
      }
     }
    ]
   },
   {
    "name": "uchardet",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_BINARY=NO",
     "-DBUILD_STATIC=NO",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz",
      "sha256": "e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 9265,
       "url-template": "https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "flacon",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DFLATPAK_BUNDLE=YES"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/flacon/flacon/archive/v12.0.0.tar.gz",
      "sha256": "78199ff925b7cd0ffeb628d47909ca4172f8ff0d8fd8192bb537e0c012e6f4c6",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 8408,
       "url-template": "https://github.com/flacon/flacon/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "flacon-progs",
    "buildsystem": "simple",
    "build-commands": [
     "ln -s /usr/bin/flac /app/bin/flac",
     "ln -s /usr/bin/lame /app/bin/lame",
     "ln -s /usr/bin/wavpack /app/bin/wavpack",
     "ln -s /usr/bin/wvunpack /app/bin/wvunpack"
    ]
   }
  ]
 }
}