WineBarrels-Wine/Platform-v2.0/Wine/Wine-staging-x86_64.yaml

96 lines
3.1 KiB
YAML

build-runtime: true
writable-sdk: true
id: de.marko10_000.winebarrels.WineSdk
id-platform: de.marko10_000.winebarrels.Wine
branch: "{{VERSION}}-staging"
sdk: de.marko10_000.winebarrels.Sdk
runtime: de.marko10_000.winebarrels.Platform
runtime-version: "v2.0"
inherit-extensions:
- org.freedesktop.Platform.GL32
- 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.openh264
- de.marko10_000.winebarrels.Platform.ExtensionsV2
- de.marko10_000.winebarrels.Platform.Gecko
- de.marko10_000.winebarrels.Platform.Mono
modules:
- name: test-arch
buildsystem: simple
build-commands:
- false
skip-arches:
- x86_64
- name: wine-64bit-buildonly
sources:
- type: archive
url: {{WINE_SOURCE}}
sha256: {{WINE_SOURCE_SHA256}}
- type: archive
url: "{{WINE_SOURCE_STAGING}}"
sha256: "{{WINE_SOURCE_STAGING_SHA256}}"
dest: wine-staging-patches
- type: shell
commands:
- wine-staging-patches/patches/patchinstall.sh --all
config-opts:
- --disable-tests
- --enable-win64
- --with-x
- CROSSCC=ccache x86_64-w64-mingw32-gcc
builddir: true
build-options:
ldflags-override: true
no-debuginfo: true
no-debuginfo-compression: true
strip: false
no-make-install: true
post-install:
- mkdir -pv /usr/tmp/64bit && cp -rav ../. /usr/tmp/64bit/
cleanup:
- /tmp
- name: wine-32bit
sources:
- type: archive
url: {{WINE_SOURCE}}
sha256: {{WINE_SOURCE_SHA256}}
- type: archive
url: "{{WINE_SOURCE_STAGING}}"
sha256: "{{WINE_SOURCE_STAGING_SHA256}}"
dest: wine-staging-patches
- type: shell
commands:
- wine-staging-patches/patches/patchinstall.sh --all
config-opts:
- --disable-tests
- --disable-win64
- --libdir=/usr/lib32
- --with-wine64=/usr/tmp/64bit/_flatpak_build
- --with-x
- CROSSCC=ccache i686-w64-mingw32-gcc
builddir: true
build-options:
ldflags-override: true
post-install:
- find /usr/lib32/wine -name \*.dll -exec strip --strip-debug '{}' \;
- find /usr/lib32/wine -name \*.exe -exec strip --strip-debug '{}' \;
- name: wine-64bit-install
buildsystem: simple
build-commands:
- cd /usr/tmp/64bit/_flatpak_build && make install
- find /usr/lib/x86_64-linux-gnu/wine -name \*.dll -exec strip -v --strip-debug '{}' \;
- find /usr/lib/x86_64-linux-gnu/wine -name \*.exe -exec strip -v --strip-debug '{}' \;
cleanup-platform:
- /include
- "*.a"
- "*.la"