From 7d704b405a0ad826001d58d4295cdacec778641e Mon Sep 17 00:00:00 2001 From: Marko Semet Date: Thu, 26 Sep 2019 21:05:11 +0200 Subject: [PATCH] Wine 4.15 --- Platform-v1.0/wine/4.15-staging.yaml | 72 ++++++++++++++++++++++++++++ Platform-v1.0/wine/4.15.yaml | 58 ++++++++++++++++++++++ latest.sh | 26 ++++++++++ 3 files changed, 156 insertions(+) create mode 100644 Platform-v1.0/wine/4.15-staging.yaml create mode 100644 Platform-v1.0/wine/4.15.yaml create mode 100755 latest.sh diff --git a/Platform-v1.0/wine/4.15-staging.yaml b/Platform-v1.0/wine/4.15-staging.yaml new file mode 100644 index 0000000..295b9e2 --- /dev/null +++ b/Platform-v1.0/wine/4.15-staging.yaml @@ -0,0 +1,72 @@ +name: wine-meta +modules: + - name: wine-64bit + sources: + - type: archive + url: https://dl.winehq.org/wine/source/4.x/wine-4.15.tar.xz + sha256: f8797587a7ecc9205c7d269eabb4b5b56ed700d2fb2310883b92ff94da26d02d + - type: archive + url: https://github.com/wine-staging/wine-staging/archive/v4.15-1.tar.gz + sha256: ca6a0910c45f5ef651a018cedd4cde3094bee7d139bc0aa85173fd8e567ca581 + dest: wine-staging-patches + - type: shell + commands: + - wine-staging-patches/patches/patchinstall.sh --all + 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\ -D_FORTIFY_SOURCE=2 + CPPFLAGS=-O2\ -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\ -D_FORTIFY_SOURCE=2 + CPPFLAGS=-O2\ -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.15.tar.xz + sha256: f8797587a7ecc9205c7d269eabb4b5b56ed700d2fb2310883b92ff94da26d02d + - type: archive + url: https://github.com/wine-staging/wine-staging/archive/v4.15-1.tar.gz + sha256: ca6a0910c45f5ef651a018cedd4cde3094bee7d139bc0aa85173fd8e567ca581 + dest: wine-staging-patches + - type: shell + commands: + - wine-staging-patches/patches/patchinstall.sh --all + buildsystem: simple + only-arches: + - i386 + build-commands: + - mkdir -p build/32 + - cd build/32; ../../configure + --prefix=/usr + --libdir=/usr/lib + --with-x + CFLAGS=-O2\ -D_FORTIFY_SOURCE=2 + CPPFLAGS=-O2\ -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 diff --git a/Platform-v1.0/wine/4.15.yaml b/Platform-v1.0/wine/4.15.yaml new file mode 100644 index 0000000..6f8ceca --- /dev/null +++ b/Platform-v1.0/wine/4.15.yaml @@ -0,0 +1,58 @@ +name: wine-meta +modules: + - name: wine-64bit + sources: + - type: archive + url: https://dl.winehq.org/wine/source/4.x/wine-4.15.tar.xz + sha256: f8797587a7ecc9205c7d269eabb4b5b56ed700d2fb2310883b92ff94da26d02d + 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\ -D_FORTIFY_SOURCE=2 + CPPFLAGS=-O2\ -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\ -D_FORTIFY_SOURCE=2 + CPPFLAGS=-O2\ -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.15.tar.xz + sha256: f8797587a7ecc9205c7d269eabb4b5b56ed700d2fb2310883b92ff94da26d02d + buildsystem: simple + only-arches: + - i386 + build-commands: + - mkdir -p build/32 + - cd build/32; ../../configure + --prefix=/usr + --libdir=/usr/lib + --with-x + CFLAGS=-O2\ -D_FORTIFY_SOURCE=2 + CPPFLAGS=-O2\ -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 diff --git a/latest.sh b/latest.sh new file mode 100755 index 0000000..b99a9a3 --- /dev/null +++ b/latest.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +REPO_PATH="$1" + +function install { + flatpak build-commit-from --gpg-sign=winebarrels@marko10-000.de "--src-repo=$REPO_PATH" "--src-ref=runtime/$1/$2" "$REPO_PATH" "runtime/$1/$3" +} + +# +# SETTINGS +# +LATEST_WINE="4.15" +LATEST_STAGING_WINE="4.15-staging" + +# +# Install +# +install "de.marko10_000.winebarrels.WineSdk" "x86_64/$LATEST_WINE" "x86_64/latest" +install "de.marko10_000.winebarrels.WineSdk" "i386/$LATEST_WINE" "i386/latest" +install "de.marko10_000.winebarrels.Wine" "x86_64/$LATEST_WINE" "x86_64/latest" +install "de.marko10_000.winebarrels.Wine" "i386/$LATEST_WINE" "i386/latest" + +install "de.marko10_000.winebarrels.WineSdk" "x86_64/$LATEST_STAGING_WINE" "x86_64/latest-staging" +install "de.marko10_000.winebarrels.WineSdk" "i386/$LATEST_STAGING_WINE" "i386/latest-staging" +install "de.marko10_000.winebarrels.Wine" "x86_64/$LATEST_STAGING_WINE" "x86_64/latest-staging" +install "de.marko10_000.winebarrels.Wine" "i386/$LATEST_STAGING_WINE" "i386/latest-staging"