How do I make a flatpak manifest for wine app?

I want to port an windows app to flatpak. How do I use wine for that? I can’t find any good example manifest. I have found some but those are old and build wine manually.
But I want to use Wine | Flathub.
Is it possible to use org.winehq.Wine as runtime?

For example if I want to create a 7-zip app for windows manifest for flatpak. What could be the example? This should use org.winehq.Wine as runtime.

1 Like

You can use wine as a base for the flatpak using the base and base-version tags.

Similar to how bottles does it here: