Skip to content

Commit 5d5d51e

Browse files
committed
common-versions: add support for 7.1.0-1
1 parent 997af96 commit 5d5d51e

File tree

1 file changed

+134
-2
lines changed

1 file changed

+134
-2
lines changed

scripts/common-versions-source.sh

Lines changed: 134 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,141 @@ function build_versions()
2929
export QEMU_VERSION="$(echo "${RELEASE_VERSION}" | sed -e 's|-.*||')"
3030

3131
# Keep them in sync with combo archive content.
32-
# -------------------------------------------------------------------------
32+
# ---------------------------------------------------------------------------
33+
34+
if [[ "${RELEASE_VERSION}" =~ 7\.1\.0-1 ]]
35+
then
36+
(
37+
xbb_activate
38+
39+
# http://zlib.net/fossils/
40+
build_zlib "1.2.12"
41+
42+
if [ "${TARGET_PLATFORM}" != "win32" ]
43+
then
44+
# https://sourceware.org/pub/bzip2/
45+
build_bzip2 "1.0.8"
46+
fi
47+
48+
# # https://github.com/facebook/zstd/releases
49+
build_zstd "1.5.2"
50+
51+
# required by nettle
52+
# https://gmplib.org/download/gmp/
53+
build_gmp "6.2.1"
54+
55+
# https://sourceforge.net/projects/libpng/files/libpng16/
56+
build_libpng "1.6.37"
57+
58+
# http://www.ijg.org/files/
59+
build_jpeg "9e"
60+
61+
if [ "${TARGET_PLATFORM}" != "win32" ]
62+
then
63+
# https://gitlab.gnome.org/GNOME/libxml2/-/releases
64+
build_libxml2 "2.10.2" # "2.9.14"
65+
fi
66+
67+
# required by glib
68+
# https://ftp.gnu.org/pub/gnu/libiconv/
69+
build_libiconv "1.17" # "1.16"
70+
71+
if false # [ "${TARGET_PLATFORM}" == "darwin" ]
72+
then
73+
: # On macOS use Cocoa.
74+
else
75+
# https://www.libsdl.org/release/
76+
build_sdl2 "2.24.0" # "2.0.22"
77+
# https://www.libsdl.org/projects/SDL_image/release/
78+
build_sdl2_image "2.6.2" # "2.0.5"
79+
fi
80+
81+
# required by glib
82+
# https://github.com/libffi/libffi/releases
83+
build_libffi "3.4.2"
84+
85+
# required by glib
86+
# https://ftp.gnu.org/pub/gnu/gettext/
87+
build_gettext "0.21"
88+
89+
# TODO "2.72.1" (meson)
90+
# https://download.gnome.org/sources/glib/
91+
build_glib "2.73.3" # "2.56.4"
92+
93+
# Not toghether with nettle.
94+
# build_libgpg_error "1.43"
95+
# build_libgcrypt "1.9.4"
96+
97+
# https://github.com/Homebrew/homebrew-core/blob/master/Formula/gnutls.rb
98+
# gnutls
99+
100+
# libslirp
33101

34-
if [[ "${RELEASE_VERSION}" =~ 7\.0\.0-1 ]]
102+
# libcurl
103+
104+
if [ "${TARGET_PLATFORM}" != "win32" ]
105+
then
106+
# required by libssh
107+
# https://www.openssl.org/source/
108+
build_openssl "1.1.1q" # "1.1.1n"
109+
110+
# https://www.libssh.org/files/
111+
build_libssh "0.10.1" # "0.9.6"
112+
113+
# meson checks for ncursesw, make this explicit.
114+
NCURSES_DISABLE_WIDEC="n"
115+
# https://ftp.gnu.org/gnu/ncurses/
116+
build_ncurses "6.3"
117+
fi
118+
119+
if [ "${TARGET_PLATFORM}" == "win32" ]
120+
then
121+
# TODO: check if QEMU can use it or something else is needed.
122+
# https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/
123+
build_libusb_w32 "1.2.6.0"
124+
else
125+
# https://github.com/libusb/libusb/releases/
126+
build_libusb "1.0.26"
127+
fi
128+
129+
# https://www.oberhumer.com/opensource/lzo/
130+
build_lzo "2.10"
131+
132+
# https://ftp.gnu.org/gnu/nettle/
133+
build_nettle "3.8.1" # "3.7.3"
134+
135+
# https://www.cairographics.org/releases/
136+
build_pixman "0.40.0"
137+
138+
# https://github.com/Homebrew/homebrew-core/blob/master/Formula/snappy.rb
139+
# snappy - Compression/decompression library aiming for high speed
140+
141+
if [ "${TARGET_PLATFORM}" != "win32" ]
142+
then
143+
# required by vde
144+
# https://www.tcpdump.org/release/
145+
build_libpcap "1.10.1"
146+
# https://sourceforge.net/projects/vde/files/vde2/
147+
build_vde "2.3.2"
148+
fi
149+
150+
# Stick to upstream as long as possible.
151+
# https://github.com/qemu/qemu/tags
152+
153+
QEMU_GIT_URL="https://github.com/xpack-dev-tools/qemu.git"
154+
if [ "${IS_DEVELOP}" == "y" ]
155+
then
156+
QEMU_GIT_BRANCH="xpack-develop"
157+
else
158+
QEMU_GIT_BRANCH="xpack"
159+
fi
160+
QEMU_GIT_COMMIT="v${QEMU_VERSION}-xpack"
161+
162+
build_qemu "${QEMU_VERSION}" "riscv"
163+
)
164+
165+
# ---------------------------------------------------------------------------
166+
elif [[ "${RELEASE_VERSION}" =~ 7\.0\.0-1 ]]
35167
then
36168
(
37169
xbb_activate

0 commit comments

Comments
 (0)