Libsecrets with org.kde.Platform

I’m currently trying to package gitahead(a qt app) in a flatpak. gitahead requires libsecrets and gnome-keyring. I really don’t want to have to build libsecrets from source on the org.kde.Platform runtime. is there any way I avoid this?

What’s wrong about building libsecret on KDE runtime?

To build it, I would also need to build Vala which is a bit time consuming

libsecret doesn’t hard require Vala. It can be explicitly disabled with configure option -Dvapi=false, or you can just use the drop-in manifest from shared-modules.