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

83 lines
2.6 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"
separate-locales: false
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
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
buildsystem: simple
build-commands:
- mkdir -p build/64
- cd build/64; ../../configure
--prefix=/usr
--libdir=/usr/lib
--with-x
--disable-tests
--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
--disable-tests
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-platform:
- /include
- "*.a"
- "*.la"