flatpak install flathub org.freedesktop.Platform.Compat.i386/x86_64/20.08
flatpak-builder --arch=i386 build-dir --force-clean wine.yml
giving error:
bwrap: execvp ./configure: No such file or directory
Whereas 64bit sdk: org.freedesktop.Sdk
find ./configure and starts the building process, 32 bit (as above can’t find configure); How to build 32 bit wine using compat.i386 sdk?
Here’s the yml
---
app-id: org.winehq.wine
branch: master
runtime: org.freedesktop.Platform.Compat.i386/x86_64
sdk: org.freedesktop.Sdk.Compat.i386/x86_64
runtime-version: '20.08'
command: wine
build-options:
cflags: "-O1 -pipe"
env:
WINEPREFIX: "/var/data/winedir"
WINEDLLOVERRIDES: mscoree=d;mshtml=d
V: '0'
finish-args:
- "--socket=x11"
- "--device=dri"
- "--allow=multiarch"
- "--socket=pulseaudio"
- "--filesystem=xdg-documents"
modules:
- name: wine
build-options:
make-args:
# - "--silent"
config-opts:
- "--libdir=/app/lib"
- "--enable-win64"
- "--disable-win16"
- "--with-x"
- "--without-cups"
- "--without-curses"
- "--without-capi"
- "--without-glu"
- "--without-gphoto"
- "--without-gsm"
- "--without-hal"
- "--without-ldap"
- "--without-netapi"
cleanup:
- "/bin/function_grep.pl"
- "/bin/msiexec"
- "/bin/widl"
- "/bin/wine64-preloader"
- "/bin/winebuild"
- "/bin/wineconsole"
- "/bin/winedbg"
- "/bin/winefile"
- "/bin/winegcc"
- "/bin/winemine"
- "/bin/wrc"
- "/bin/msidb"
- "/bin/notepad"
- "/bin/regsvr32"
- "/bin/wineboot"
- "/bin/winecfg"
- "/bin/winecpp"
- "/bin/winedump"
- "/bin/wineg++"
- "/bin/winemaker"
- "/bin/winepath"
- "/bin/wmc"
- "/include"
- "/share/man"
- "/share/applications"
sources:
- type: archive
url: https://dl.winehq.org/wine/source/5.0/wine-5.0.3.tar.xz
sha256: 9c1a35362fd513dff5c845bf76da63ea105a794ac7144aa503f71361af36d22f