forked from cross-rs/cross
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates from WINE 3.0 to 7.0 on `*-pc-windows-gnu` images using binary releases provide by WINE HQ. Closes cross-rs#390.
- Loading branch information
1 parent
5f4770f
commit bfc56da
Showing
3 changed files
with
35 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
# shellcheck disable=SC1091 | ||
. lib.sh | ||
|
||
main() { | ||
install_packages wget | ||
|
||
dpkg --add-architecture i386 | ||
|
||
# add repository for latest wine version and install from source | ||
# hardcode version, since we might want to avoid a version later. | ||
wget -nc https://dl.winehq.org/wine-builds/winehq.key | ||
mv winehq.key /usr/share/keyrings/winehq-archive.key | ||
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources | ||
mv winehq-bionic.sources /etc/apt/sources.list.d/ | ||
apt-get update | ||
apt install --no-install-recommends --assume-yes \ | ||
"winehq-stable=7.0.0.0~bionic-1" | ||
|
||
purge_packages | ||
} | ||
|
||
main "${@}" |