diff --git a/docs/02-for-app-authors/14-wine.md b/docs/02-for-app-authors/14-wine.md new file mode 100644 index 00000000..1f35b5cd --- /dev/null +++ b/docs/02-for-app-authors/14-wine.md @@ -0,0 +1,20 @@ +# Wine + +Flathub contains an unofficial Wine stable BaseApp, stylized as +[org.winehq.Wine](https://github.com/flathub/org.winehq.Wine), to have +and run Wine directly from within the Flatpak application. To use the +Wine BaseApp, we need to explicitly specify it in the manifest and +inherit all needed extensions: + +``` yaml +base: org.winehq.Wine +base-version: stable-22.08 # Version of Wine BaseApp +inherit-extensions: + - org.freedesktop.Platform.GL32 + - org.freedesktop.Platform.ffmpeg-full + - org.freedesktop.Platform.ffmpeg_full.i386 + - org.winehq.Wine.gecko + - org.winehq.Wine.mono + - org.winehq.Wine.DLLs +``` +