diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /tools/mingw-rpm-setup.sh | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/mingw-rpm-setup.sh')
-rwxr-xr-x | tools/mingw-rpm-setup.sh | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/tools/mingw-rpm-setup.sh b/tools/mingw-rpm-setup.sh new file mode 100755 index 00000000..602c0fbc --- /dev/null +++ b/tools/mingw-rpm-setup.sh @@ -0,0 +1,70 @@ +#!/bin/bash +# Setup development environment on Fedora Linux for MinGW-w64 +# +# Wireshark - Network traffic analyzer +# By Gerald Combs <gerald@wireshark.org> +# Copyright 1998 Gerald Combs +# +# SPDX-License-Identifier: GPL-2.0-or-later +# +# We drag in tools that might not be needed by all users; it's easier +# that way. +# + +function print_usage() { + printf "\\nUtility to setup a Fedora MinGW-w64 system for Wireshark development.\\n" + printf "The basic usage installs the needed software\\n\\n" + printf "Usage: %s [...other options...]\\n" "$0" + printf "\\t--install-all: install everything\\n" + printf "\\t[other]: other options are passed as-is to pacman\\n" + printf "\\tPass --noconfirm to bypass any \"are you sure?\" messages.\\n" +} + +OPTIONS= +for arg; do + case $arg in + --help) + print_usage + exit 0 + ;; + --install-all) + ;; + *) + OPTIONS="$OPTIONS $arg" + ;; + esac +done + +BASIC_LIST="mingw64-gcc \ + mingw64-gcc-c++ \ + mingw64-glib2 \ + mingw64-libgcrypt \ + mingw64-c-ares \ + mingw64-qt6-qtbase \ + mingw64-qt6-qt5compat \ + mingw64-qt6-qtmultimedia \ + mingw64-qt6-qttools \ + mingw64-speexdsp \ + mingw32-nsis \ + mingw64-nsis \ + mingw64-gnutls \ + mingw64-brotli \ + mingw64-minizip \ + mingw64-opus \ + mingw64-wpcap \ + mingw64-libxml2 \ + ninja-build \ + flex \ + lemon \ + asciidoctor \ + libxslt \ + docbook-style-xsl \ + ccache \ + git \ + patch \ + cmake + cmake-rpm-macros" + +ACTUAL_LIST=$BASIC_LIST + +dnf install $ACTUAL_LIST $OPTIONS |