2 # Setup development environment on Fedora Linux for MinGW-w64
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
8 # SPDX-License-Identifier: GPL-2.0-or-later
10 # We drag in tools that might not be needed by all users; it's easier
14 function print_usage
() {
15 printf "\\nUtility to setup a Fedora MinGW-w64 system for Wireshark development.\\n"
16 printf "The basic usage installs the needed software\\n\\n"
17 printf "Usage: %s [...other options...]\\n" "$0"
18 printf "\\t--install-all: install everything\\n"
19 printf "\\t[other]: other options are passed as-is to pacman\\n"
20 printf "\\tPass --noconfirm to bypass any \"are you sure?\" messages.\\n"
33 OPTIONS
="$OPTIONS $arg"
38 BASIC_LIST
="mingw64-gcc \
44 mingw64-qt6-qt5compat \
45 mingw64-qt6-qtmultimedia \
69 ACTUAL_LIST
=$BASIC_LIST
71 dnf
install $ACTUAL_LIST $OPTIONS