I’ve had to build gnome-keyring in my attempt to make a flatpak of gitahead. I’ve run into the issue of cmake not finding gnome-keyring. could someone point me in the right direction. I’m building gnome keyring like so as without this the install segment tries to write outside the flatpak.
I am not familiar with gitahead, but in case you don’t know, the keyring is conceptually part of the host system, and applications should communicate with it over portals (instead of bundling it). See the “Secret” portal https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.impl.portal.Secret.xml
If your Flatpak uses the GNOME Platform runtime, you don’t need to bundle libsecret.
Anyway, gnome-keyring is built with autotools. So simply change the buildsystem entry to autotools in your flatpak manifest and drop the entire build-commands section.
gitahead is a qt application so I am gnome-keyring and libsecret from source since I am using the KDE runtime. gitahead has gnome-keyring and libsecret as a build dep. I will try your suggestion to use autools as the buildsystem