124 lines
4.9 KiB
YAML
124 lines
4.9 KiB
YAML
build-runtime: true
|
|
writable-sdk: true
|
|
|
|
id: de.marko10_000.winebarrels.WineSdk
|
|
id-platform: de.marko10_000.winebarrels.Wine
|
|
branch: "{{VERSION}}"
|
|
|
|
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
|
|
|
|
build-options:
|
|
env:
|
|
- SOURCE_DATE_EPOCH=1
|
|
- FLATPAK_BUILDER_N_JOBS=1
|
|
- HOME=/tmp
|
|
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: file
|
|
url: https://s3.marko10-000.de/general/flatpaks/wine/deterministic_pub1.diff
|
|
sha256: e8ab1abeae7191ebd6f9055238fa38e7d946e9cb492537e4387f54f94b008b1d
|
|
- type: file
|
|
url: https://s3.marko10-000.de/general/flatpaks/wine/deterministic_pub1_fix_old.diff
|
|
sha256: 2380b9f133a3869e83826701a4e5d36fab57daca59377138bc2116a846055fd0
|
|
- type: file
|
|
url: https://s3.marko10-000.de/general/flatpaks/wine/deterministic_ignore_env.diff
|
|
sha256: 38e8d54c305cde5eb06b4f343933edf7fef6b0f3b0eeb673e7aea15d535a9986
|
|
- type: shell
|
|
commands:
|
|
- "git apply -v deterministic_pub1.diff || (echo !!! OLD VERSION !!! && git apply -v deterministic_pub1_fix_old.diff)"
|
|
- git apply -v deterministic_ignore_env.diff
|
|
- rm deterministic_pub1.diff deterministic_pub1_fix_old.diff deterministic_ignore_env.diff
|
|
config-opts:
|
|
- --disable-tests
|
|
- --enable-win64
|
|
- --with-x
|
|
- --without-mingw
|
|
- 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: file
|
|
url: https://s3.marko10-000.de/general/flatpaks/wine/deterministic_pub1.diff
|
|
sha256: e8ab1abeae7191ebd6f9055238fa38e7d946e9cb492537e4387f54f94b008b1d
|
|
- type: file
|
|
url: https://s3.marko10-000.de/general/flatpaks/wine/deterministic_pub1_fix_old.diff
|
|
sha256: 2380b9f133a3869e83826701a4e5d36fab57daca59377138bc2116a846055fd0
|
|
- type: file
|
|
url: https://s3.marko10-000.de/general/flatpaks/wine/deterministic_ignore_env.diff
|
|
sha256: 38e8d54c305cde5eb06b4f343933edf7fef6b0f3b0eeb673e7aea15d535a9986
|
|
- type: shell
|
|
commands:
|
|
- "git apply -v deterministic_pub1.diff || (echo !!! OLD VERSION !!! && git apply -v deterministic_pub1_fix_old.diff)"
|
|
- git apply -v deterministic_ignore_env.diff
|
|
- rm deterministic_pub1.diff deterministic_pub1_fix_old.diff deterministic_ignore_env.diff
|
|
config-opts:
|
|
- --disable-tests
|
|
- --disable-win64
|
|
- --libdir=/usr/lib32
|
|
- --with-wine64=/usr/tmp/64bit/_flatpak_build
|
|
- --with-x
|
|
- --without-mingw
|
|
- CROSSCC=ccache i686-w64-mingw32-gcc
|
|
builddir: true
|
|
build-options:
|
|
ldflags-override: true
|
|
no-debuginfo-compression: true
|
|
post-install:
|
|
- find /usr/lib32/wine -name \*.dll -exec strip -v --strip-debug '{}' \;
|
|
- find /usr/lib32/wine -name \*.exe -exec strip -v --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 '{}' \;
|
|
build-options:
|
|
no-debuginfo-compression: true
|
|
|
|
cleanup-platform:
|
|
- /include
|
|
- "*.a"
|
|
- "*.la"
|
|
- /share/info
|
|
- /share/doc
|
|
- /share/man
|