build-runtime: true writable-sdk: true id: de.marko10_000.winebarrels.WineSdk id-platform: de.marko10_000.winebarrels.Wine branch: "{{WINE_BRANCH}}" sdk: de.marko10_000.winebarrels.Sdk runtime: de.marko10_000.winebarrels.Platform runtime-version: "v1.0" separate-locales: false inherit-extensions: - org.freedesktop.Platform.GL - org.freedesktop.Platform.Timezones - org.freedesktop.Platform.GStreamer - org.freedesktop.Platform.Icontheme - org.gtk.Gtk3theme - org.freedesktop.Platform.VAAPI.Intel - org.freedesktop.Platform.html5-codecs - org.freedesktop.Platform.GL32 - de.marko10_000.winebarrels.Platform.ExtensionsV1 modules: - name: test-arch buildsystem: simple build-commands: - false skip-arches: - x86_64 - name: wine sources: - type: archive url: {{WINE_SOURCE}} sha256: {{WINE_SOURCE_SHA256}} buildsystem: simple build-commands: - mkdir -p build/64 - cd build/64; ../../configure --prefix=/usr --libdir=/usr/lib --with-x --enable-win64 CFLAGS=-O2\ -D_FORTIFY_SOURCE=2 CPPFLAGS=-O2\ -D_FORTIFY_SOURCE=2 CC=ccache\ gcc CPP=ccache\ cpp - make -C build/64 -j$FLATPAK_BUILDER_N_JOBS - mkdir -p build/32 - cd build/32; ../../configure --prefix=/usr --libdir=/usr/lib32 --with-x --with-wine64=../64 CFLAGS=-O2\ -D_FORTIFY_SOURCE=2 CPPFLAGS=-O2\ -D_FORTIFY_SOURCE=2 CC=ccache\ gcc CPP=ccache\ cpp - make -C build/32 -j$FLATPAK_BUILDER_N_JOBS - make -C build/32 DESTDIR=/usr/tmp_wine install -j$FLATPAK_BUILDER_N_JOBS - make -C build/64 DESTDIR=/usr/tmp_wine install -j$FLATPAK_BUILDER_N_JOBS - rm -rf /usr/tmp_wine/usr/share/man - cp -arvP --remove-destination /usr/tmp_wine/usr/* /usr - rm -rf /usr/tmp_wine cleanup: - /share/man cleanup-platform: - /include - "*.a" - "*.la"