{
 "app_id": "org.denemo.Denemo",
 "source_url": "https://raw.githubusercontent.com/flathub/org.denemo.Denemo/master/org.denemo.Denemo.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=home",
  "--filesystem=xdg-run/pipewire-0"
 ],
 "module_count": 22,
 "fetched_at": "2026-09-17T16:14:26.669100+00:00",
 "manifest": {
  "app-id": "org.denemo.Denemo",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.texlive"
  ],
  "command": "denemo",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=home",
   "--device=all",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0",
   "--env=PATH=/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux:/app/bin:/usr/bin"
  ],
  "modules": [
   {
    "name": "fontforge",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DENABLE_DOCS=false",
     "-DENABLE_LIBSPIRO=false",
     "-DREAL_TYPE=double"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/fontforge/fontforge/archive/refs/tags/20230101.tar.gz",
      "sha256": "ab0c4be41be15ce46a1be1482430d8e15201846269de89df67db32c7de4343f1"
     },
     {
      "type": "patch",
      "path": "patches/fontforge-translation-errors.patch"
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "t1utils",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/kohler/t1utils/archive/v1.41.tar.gz",
      "sha256": "0129fbfabb212143f52ff1e5de8ccbef5e5295d46772bad3ed149115bab5a094"
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "texgyre",
    "sources": [
     {
      "type": "archive",
      "url": "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg2_501otf.zip",
      "sha256": "d7f8be5317bec4e644cf16c5abf876abeeb83c43dbec0ccb4eee4516b73b1bbe"
     }
    ],
    "buildsystem": "simple",
    "build-commands": [
     "mkdir /app/share/fonts",
     "install * /app/share/fonts"
    ]
   },
   {
    "name": "ghostscript",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/ghostscript-10.05.1.tar.xz",
      "sha256": "22f2bdca15c28830c9715cddc5c296ea66898bfdab0b604a4e0bcfeb03af6cad"
     }
    ],
    "config-opts": [
     "--disable-contrib",
     "--disable-cups",
     "--disable-dbus",
     "--disable-fontconfig",
     "--disable-gtk",
     "--with-drivers=PNG,PS",
     "--without-cal",
     "--without-ijs",
     "--without-libidn",
     "--without-libpaper",
     "--without-libtiff",
     "--without-pdftoraster",
     "--without-tesseract",
     "--without-urf",
     "--without-x"
    ],
    "make-args": [
     "so"
    ],
    "make-install-args": [
     "soinstall"
    ],
    "cleanup": [
     "/bin/dvipdf",
     "/bin/eps2eps",
     "/bin/gpcl6",
     "/bin/gsbj",
     "/bin/gsd*",
     "/bin/gsl",
     "/bin/gsnd",
     "/bin/gxps",
     "/include",
     "/share/doc",
     "/share/man"
    ]
   },
   {
    "name": "guile",
    "modules": [
     {
      "name": "gc",
      "config-opts": [
       "--disable-docs"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://www.hboehm.info/gc/gc_source/gc-8.2.8.tar.gz",
        "sha256": "7649020621cb26325e1fb5c8742590d92fb48ce5c259b502faf7d9fb5dabb160"
       }
      ],
      "cleanup": [
       "*.la"
      ]
     }
    ],
    "buildsystem": "autotools",
    "config-opts": [
     "--without-threads",
     "--disable-networking",
     "--disable-error-on-warning"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/guile/guile-2.2.7.tar.xz",
      "sha256": "cdf776ea5f29430b1258209630555beea6d2be5481f9da4d64986b077ff37504"
     },
     {
      "type": "patch",
      "path": "patches/guile2-never-recompile.patch"
     }
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/aclocal",
     "/share/info",
     "/share/man"
    ]
   },
   {
    "name": "lilypond",
    "buildsystem": "simple",
    "build-commands": [
     "./configure --prefix=/app --disable-documentation --enable-cairo-backend",
     "make",
     "make bytecode",
     "make install",
     "make install-bytecode"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://lilypond.org/download/sources/v2.24/lilypond-2.24.4.tar.gz",
      "sha256": "e96fa03571c79f20e1979653afabdbe4ee42765a3d9fd14953f0cd9eea51781c"
     }
    ],
    "build-options": {
     "arch": {
      "aarch64": {
       "prepend-path": "/usr/lib/sdk/texlive/bin/aarch64-linux:/usr/lib/sdk/texlive/bin"
      },
      "x86_64": {
       "prepend-path": "/usr/lib/sdk/texlive/bin/x86_64-linux:/usr/lib/sdk/texlive/bin"
      }
     }
    }
   },
   "shared-modules/intltool/intltool-0.51.json",
   {
    "name": "aubio",
    "buildsystem": "simple",
    "build-commands": [
     "./waf configure --prefix=/app --libdir=/app/lib --disable-avcodec",
     "./waf build -j $FLATPAK_BUILDER_N_JOBS",
     "./waf install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://aubio.org/pub/aubio-0.4.9.tar.bz2",
      "sha256": "d48282ae4dab83b3dc94c16cf011bcb63835c1c02b515490e1883049c3d1f3da"
     },
     {
      "type": "patch",
      "path": "patches/aubio-python.patch"
     },
     {
      "type": "patch",
      "path": "patches/aubio-imp-removed.patch"
     }
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig",
     "/share/doc",
     "*.a"
    ]
   },
   {
    "name": "gtksourceview3",
    "config-opts": [
     "--enable-gtk-doc=no",
     "--enable-introspection=yes"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/gtk-doc",
     "*.la"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-3.24.11.tar.xz",
      "sha256": "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd"
     },
     {
      "type": "patch",
      "path": "patches/gtksourceview3-0001-gcc14.patch"
     }
    ]
   },
   {
    "name": "fluidsynth",
    "modules": [
     {
      "name": "gcem",
      "buildsystem": "cmake-ninja",
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/kthohr/gcem/archive/refs/tags/v1.18.0.tar.gz",
        "sha256": "8e71a9f5b62956da6c409dda44b483f98c4a98ae72184f3aa4659ae5b3462e61"
       }
      ]
     }
    ],
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "cleanup": [
     "/include",
     "/lib/cmake",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.5.4.tar.gz",
      "sha256": "72f5720328fe44e2e5c67813885f0a6b4b004d048bd2eeeb0c0064074ebff530",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/FluidSynth/fluidsynth/releases/latest",
       "tag-query": ".tag_name",
       "version-query": ".tag_name",
       "timestamp-query": ".published_at",
       "url-query": "\"https://github.com/FluidSynth/fluidsynth/archive/refs/tags/\" + .tag_name + \".tar.gz\""
      }
     }
    ]
   },
   {
    "name": "vamp-plugin-sdk",
    "no-parallel-make": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://code.soundsoftware.ac.uk/attachments/download/2691/vamp-plugin-sdk-2.10.0.tar.gz",
      "sha256": "aeaf3762a44b148cebb10cde82f577317ffc9df2720e5445c3df85f3739ff75f"
     }
    ],
    "post-install": [
     "install -Dm644 -t /app/share/licenses/vamp-plugin-sdk COPYING"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig",
     "/share/licenses",
     "*.a"
    ]
   },
   {
    "name": "rubberband",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://breakfastquay.com/files/releases/rubberband-4.0.0.tar.bz2",
      "sha256": "af050313ee63bc18b35b2e064e5dce05b276aaf6d1aa2b8a82ced1fe2f8028e9"
     }
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/ladspa",
     "/share/licenses",
     "*.a"
    ]
   },
   {
    "name": "portaudio",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "/include",
     "/lib/cmake",
     "/lib/pkgconfig",
     "/share/doc"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz",
      "sha256": "47efbf42c77c19a05d22e627d42873e991ec0c1357219c0d74ce6a2948cb2def"
     }
    ]
   },
   {
    "name": "portmidi",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/app/lib",
     "-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=/app/lib",
     "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/app/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/PortMidi/portmidi/archive/refs/tags/v2.0.4.tar.gz",
      "sha256": "64893e823ae146cabd3ad7f9a9a9c5332746abe7847c557b99b2577afa8a607c"
     }
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/cmake"
    ]
   },
   {
    "name": "atril",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-caja",
     "--disable-gtk-doc-html",
     "--disable-schemas-compile",
     "--disable-synctex",
     "--enable-comics",
     "--prefix=/app",
     "--without-keyring"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/gtk-doc",
     "/share/help",
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mate-desktop/atril/releases/download/v1.28.1/atril-1.28.1.tar.xz",
      "sha256": "74c4f42979f3ead52def23767448d06ad7f715421e03c9b509404b096de8193e"
     }
    ],
    "modules": [
     {
      "name": "dconf",
      "buildsystem": "meson",
      "config-opts": [
       "-Dbash_completion=false",
       "-Dman=false",
       "-Dvapi=false"
      ],
      "cleanup": [
       "/include",
       "/lib/pkgconfig",
       "/lib/systemd"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/dconf/0.40/dconf-0.40.0.tar.xz",
        "sha256": "cf7f22a4c9200421d8d3325c5c1b8b93a36843650c9f95d6451e20f0bcb24533"
       }
      ]
     },
     {
      "name": "mate-desktop",
      "buildsystem": "autotools",
      "config-opts": [
       "--disable-gtk-doc-html",
       "--prefix=/app"
      ],
      "cleanup": [
       "/include",
       "/lib/pkgconfig",
       "/share/gtk-doc",
       "/share/man"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/mate-desktop/mate-desktop/releases/download/v1.28.2/mate-desktop-1.28.2.tar.xz",
        "sha256": "32bb4b792014b391c1e1b8ae9c18a82b4d447650984b4cba7d28e95564964aa2"
       }
      ]
     },
     {
      "name": "poppler-data",
      "no-autogen": true,
      "make-install-args": [
       "prefix=/app"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz",
        "sha256": "c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74"
       }
      ],
      "cleanup": [
       "/share/pkgconfig"
      ]
     },
     {
      "name": "poppler",
      "buildsystem": "cmake-ninja",
      "config-opts": [
       "-DCMAKE_INSTALL_LIBDIR=/app/lib",
       "-DCMAKE_INSTALL_INCLUDEDIR=/app/include",
       "-DENABLE_BOOST=OFF",
       "-DENABLE_LIBOPENJPEG=none",
       "-DENABLE_QT5=OFF",
       "-DENABLE_QT6=OFF"
      ],
      "cleanup": [
       "/bin",
       "/include",
       "/lib/pkgconfig",
       "/share/man",
       "/share/pkgconfig"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://poppler.freedesktop.org/poppler-25.02.0.tar.xz",
        "sha256": "21234cb2a9647d73c752ce4031e65a79d11a511a835f2798284c2497b8701dee"
       }
      ]
     }
    ]
   },
   {
    "name": "denemo",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-warnings"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://git.savannah.gnu.org/cgit/denemo.git/snapshot/denemo-2.6.49.tar.gz",
      "sha256": "a1da96eb23ed3a51e286803745df673379443043557b15c2a3b1e3ed1482b2b1"
     },
     {
      "type": "patch",
      "path": "patches/denemo-2.6.49.patch"
     }
    ],
    "post-install": [
     "mv ${FLATPAK_DEST}/share/pixmaps/org.denemo.Denemo.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/org.denemo.Denemo.png"
    ]
   }
  ]
 }
}