WineBarrels-Wine/Platform-v1.0/wine/4.13.yaml

59 lines
2.3 KiB
YAML

name: wine-meta
modules:
- name: wine-64bit
sources:
- type: archive
url: https://dl.winehq.org/wine/source/4.x/wine-4.13.tar.xz
sha256: 79174151cbc403250d4727dc9c55df8d6a60a2fe28343642c2452a92c6431d67
buildsystem: simple
only-arches:
- x86_64
build-commands:
- mkdir -p build/64
- cd build/64; ../../configure
--prefix=/usr
--libdir=/usr/lib
--with-x
--enable-win64
CFLAGS=-O2\ -fstack-protector-strong\ -D_FORTIFY_SOURCE=2
CPPFLAGS=-O2\ -fstack-protector-strong\ -D_FORTIFY_SOURCE=2
- 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\ -fstack-protector-strong\ -D_FORTIFY_SOURCE=2
CPPFLAGS=-O2\ -fstack-protector-strong\ -D_FORTIFY_SOURCE=2
- make -C build/32 -j$FLATPAK_BUILDER_N_JOBS
- make -C build/32 DESTDIR=/usr/tmp_wine install
- make -C build/64 DESTDIR=/usr/tmp_wine install
- rm -rf /usr/tmp_wine/usr/share/man
- cp -arfv /usr/tmp_wine/usr/* /usr
- rm -rf /usr/tmp_wine
- name: wine-32bit
sources:
- type: archive
url: https://dl.winehq.org/wine/source/4.x/wine-4.13.tar.xz
sha256: 79174151cbc403250d4727dc9c55df8d6a60a2fe28343642c2452a92c6431d67
buildsystem: simple
only-arches:
- i386
build-commands:
- mkdir -p build/32
- cd build/32; ../../configure
--prefix=/usr
--libdir=/usr/lib
--with-x
CFLAGS=-O2\ -fstack-protector-strong\ -D_FORTIFY_SOURCE=2
CPPFLAGS=-O2\ -fstack-protector-strong\ -D_FORTIFY_SOURCE=2
- make -C build/32 -j$FLATPAK_BUILDER_N_JOBS
- make -C build/32 DESTDIR=/usr/tmp_wine install
- rm -rf /usr/tmp_wine/usr/share/man
- cp -arfv /usr/tmp_wine/usr/* /usr
- rm -rf /usr/tmp_wine