{
 "app_id": "com.maestebanc.MyTag",
 "source_url": "https://raw.githubusercontent.com/maestebanc/MyTag/master/packaging/flatpak/com.maestebanc.MyTag.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-music"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-19T12:59:24.363226+00:00",
 "manifest": {
  "app-id": "com.maestebanc.MyTag",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "mytag",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--filesystem=home",
   "--filesystem=xdg-music"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/man",
   "/share/doc",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "flac",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_PROGRAMS=ON",
     "-DBUILD_EXAMPLES=OFF",
     "-DBUILD_TESTING=OFF",
     "-DBUILD_DOCS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/xiph/flac/releases/download/1.5.0/flac-1.5.0.tar.xz",
      "sha256": "f2c1c76592a82ffff8413ba3c4a1299b6c7ab06c734dee03fd88630485c2b920"
     }
    ]
   },
   {
    "name": "chromaprint",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
     "-DBUILD_TOOLS=ON",
     "-DBUILD_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/acoustid/chromaprint/releases/download/v1.6.1/chromaprint-1.6.1.tar.gz",
      "sha256": "3368805af0ee47b9df74df10b5001a44569e01df2844dab520031720dde9ad23"
     }
    ]
   },
   {
    "name": "python3-mutagen",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --no-index --no-build-isolation --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} mutagen"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/df/70/1675da133ea92227da41bf5b24e1c66be597ff736a1533ade41da986852f/mutagen-1.48.1.tar.gz",
      "sha256": "8f95637ab9f6f305cec6bd1294e197debe207998e3e068596563c74f86b0a173"
     }
    ]
   },
   {
    "name": "python3-pillow",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --no-index --no-build-isolation --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pillow"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz",
      "sha256": "3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce"
     }
    ]
   },
   {
    "name": "mytag",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --no-index --no-build-isolation --no-deps --prefix=${FLATPAK_DEST} .",
     "install -Dm644 data/com.maestebanc.MyTag.desktop ${FLATPAK_DEST}/share/applications/com.maestebanc.MyTag.desktop",
     "install -Dm644 data/com.maestebanc.MyTag.metainfo.xml ${FLATPAK_DEST}/share/metainfo/com.maestebanc.MyTag.metainfo.xml",
     "for size in 16 22 24 32 48 64 128 256 512; do install -Dm644 data/icons/hicolor/${size}x${size}/apps/com.maestebanc.MyTag.png ${FLATPAK_DEST}/share/icons/hicolor/${size}x${size}/apps/com.maestebanc.MyTag.png; done",
     "install -Dm644 data/icons/hicolor/scalable/apps/com.maestebanc.MyTag.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/com.maestebanc.MyTag.svg"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/maestebanc/MyTag/archive/refs/tags/v0.62.0.tar.gz",
      "sha256": "1b04a2717fd2585d2a886346f47985014e2a3f61a453d5f3f3e9d3b5af46b64c"
     }
    ]
   }
  ]
 }
}