diff --git a/msys2/ps/bin/ps-setup b/msys2/ps/bin/ps-setup index 3bfde5c74..cd98b8ec0 100644 --- a/msys2/ps/bin/ps-setup +++ b/msys2/ps/bin/ps-setup @@ -1,31 +1,18 @@ check_install () { + echo "Installing: $1" pacman -Q $1 > /dev/null if [ $? == 1 ]; then pacman --noconfirm --overwrite='*' -S $1 fi } -clean_64 () { - rm -rf /mingw64/share/qt5/examples - pacman --noconfirm --overwrite='*' -Scc -} - setup_proxspace () { - if [ "$MSYSTEM" == "MINGW64" ]; then - check_install mingw-w64-x86_64-gcc - check_install mingw-w64-x86_64-readline - check_install mingw-w64-x86_64-libsndfile - check_install mingw-w64-x86_64-cmake - check_install mingw-w64-x86_64-lua - check_install mingw-w64-x86_64-bzip2 - check_install mingw-w64-x86_64-python - check_install mingw-w64-x86_64-jansson - check_install git - check_install make - check_install pkg-config - check_install mingw-w64-x86_64-qt5 - clean_64 + if [ "$MSYSTEM" == "MINGW64" ]; then + for pkg in $(grep "^[^#;]" /ps/packages.txt); do + check_install $pkg + done + echo $(date '+%Y-%m-%d %H:%M:%S') > /ps/installed64.txt fi } diff --git a/msys2/ps/packages.txt b/msys2/ps/packages.txt new file mode 100644 index 000000000..1d95695cd --- /dev/null +++ b/msys2/ps/packages.txt @@ -0,0 +1,27 @@ +############################## +# General # +############################## +git +make +pkg-config +cmake +############################## +# Proxmark3 # +############################## +mingw-w64-x86_64-gcc +mingw-w64-x86_64-readline +mingw-w64-x86_64-libsndfile +mingw-w64-x86_64-lua +mingw-w64-x86_64-bzip2 +mingw-w64-x86_64-python +mingw-w64-x86_64-jansson +mingw-w64-x86_64-qt5 +############################## +# ChameleonMini # +############################## +#mingw-w64-x86_64-dfu-programmer +#mingw-w64-x86_64-avrdude +#mingw-w64-x86_64-avr-binutils +#mingw-w64-x86_64-avr-gcc +#mingw-w64-x86_64-avr-gdb +#mingw-w64-x86_64-avr-libc