{
 "app_id": "net.puddletag.puddletag",
 "source_url": "https://raw.githubusercontent.com/flathub/net.puddletag.puddletag/master/net.puddletag.puddletag.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-download",
  "--filesystem=xdg-music",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T16:13:42.311102+00:00",
 "manifest": {
  "app-id": "net.puddletag.puddletag",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "5.15-25.08",
  "command": "puddletag",
  "rename-desktop-file": "puddletag.desktop",
  "rename-icon": "puddletag",
  "finish-args": [
   "--device=dri",
   "--filesystem=xdg-music",
   "--filesystem=xdg-download",
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--socket=wayland"
  ],
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1"
   ]
  },
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "cleanup": [
   "/share/man",
   "/share/pixmaps"
  ],
  "modules": [
   {
    "name": "python3-configobj",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"configobj\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/f5/c4/c7f9e41bc2e5f8eeae4a08a01c91b2aea3dfab40a3e14b25e87e7db8d501/configobj-5.0.9.tar.gz",
      "sha256": "03c881bbf23aa07bccf1b837005975993c4ab4427ba57f959afdd9d1a2386848",
      "x-checker-data": {
       "type": "pypi",
       "name": "configobj"
      }
     }
    ]
   },
   {
    "name": "python3-mutagen",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"mutagen\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/df/70/1675da133ea92227da41bf5b24e1c66be597ff736a1533ade41da986852f/mutagen-1.48.1.tar.gz",
      "sha256": "8f95637ab9f6f305cec6bd1294e197debe207998e3e068596563c74f86b0a173",
      "x-checker-data": {
       "type": "pypi",
       "name": "mutagen"
      }
     }
    ]
   },
   {
    "name": "python3-pybind11",
    "buildsystem": "simple",
    "cleanup": [
     "*"
    ],
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pybind11\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/33/fd/8762f7ee3e4e4be6d1d846cffb4916dd9bb02b2f800d3603718a0efe494c/pybind11-3.1.0-py3-none-any.whl",
      "sha256": "b8488090f8acffbcb6b5d6a85571a6827a0a2981ffb75e5a0b27b87c4a6b7dd0",
      "x-checker-data": {
       "type": "pypi",
       "name": "pybind11",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "python3-pillow",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pillow\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz",
      "sha256": "3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce",
      "x-checker-data": {
       "type": "pypi",
       "name": "pillow"
      }
     }
    ]
   },
   {
    "name": "python3-unidecode",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"unidecode\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/94/7d/a8a765761bbc0c836e397a2e48d498305a865b70a8600fd7a942e85dcf63/Unidecode-1.4.0.tar.gz",
      "sha256": "ce35985008338b676573023acc382d62c264f307c8f7963733405add37ea2b23",
      "x-checker-data": {
       "type": "pypi",
       "name": "unidecode"
      }
     }
    ]
   },
   {
    "name": "chromaprint",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/acoustid/chromaprint/releases/download/v1.6.0/chromaprint-1.6.0.tar.gz",
      "sha256": "9d33482e56a1389a37a0d6742c376139fa43e3b8a63d29003222b93db2cb40da",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 286,
       "stable-only": true,
       "url-template": "https://github.com/acoustid/chromaprint/releases/download/v$version/chromaprint-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "puddletag",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py build",
     "python3 setup.py install --skip-build --prefix=${FLATPAK_DEST} --root=/ --optimize=1",
     "install -Dm644 puddletag.png -t /app/share/icons/hicolor/256x256/apps/",
     "install -Dm644 ${FLATPAK_ID}.appdata.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "sed -i '1s|#!python|#!/usr/bin/env python3|' /app/bin/puddletag"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/puddletag/puddletag/archive/refs/tags/2.5.0.tar.gz",
      "sha256": "aa04bd796a78ca726c91c28ade0b64a9d693cac307713728359dfc551d250815",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3727,
       "stable-only": true,
       "url-template": "https://github.com/puddletag/puddletag/archive/refs/tags/$version.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "net.puddletag.puddletag.appdata.xml"
     }
    ]
   }
  ]
 }
}