Closed bbhtt closed 6 months ago
A little bit more context and explanation would come a long way here
A little bit more context and explanation would come a long way here
You should drop these two lines and convert it to rename-appdata-file, rename-desktop-file see https://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html
Patch won't work here since it is generated during build
So I am guessing it would become:
rename-appdata-file: calibre-gui.metainfo.xml
# post-install for metainfo
#- cp $FLATPAK_DEST/share/metainfo/{calibre-gui,$FLATPAK_ID}.metainfo.xml
#- appstream-util modify $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml
# id $FLATPAK_ID
#- appstream-util modify $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml
# launchable $FLATPAK_ID.desktop
am I correct?
You need rename-desktop-file too, to update the launchable.
Thanks for the pointers
The manifest uses
appstream-util modify
. Please try to convert it to patch