From a6476f206374ef2ecc430f137d24c5bfdb354faf Mon Sep 17 00:00:00 2001 From: Abhay Raj Singh Date: Mar 13 2019 06:55:22 +0000 Subject: Added support for 'pacman' package manager in linux setup script pacman is the package manager for many arch based distros Headers are generally provided with binaries so *-devel isn't required --- diff --git a/1-setup-linux-native.sh b/1-setup-linux-native.sh index ca23648..b2f315c 100755 --- a/1-setup-linux-native.sh +++ b/1-setup-linux-native.sh @@ -179,6 +179,47 @@ elif which zypper >/dev/null; then echo "Running zypper (you need root privelegies to do that)..." su -c "zypper install $PKG_LIST" || true fi +elif which pacman >/dev/null; then + # + # Arch Linux + # + PKG_LIST="git \ + atk \ + automake autoconf \ + boost \ + bzip2 \ + cairo \ + freetype2 \ + fftw \ + fontconfig \ + gtk3 \ + gettext \ + gtkmm3 \ + glibmm \ + gcc \ + imagemagick \ + jack \ + libxml2 \ + libxml++ \ + libxml++2.6 \ + libtiff \ + libx11 libxext libxt libxi libxinerama libxfixes libxdamage libxcomposite libxcursor libxft libxrender libxrandr \ + libtool \ + libpng \ + libsigc++ \ + libjpeg \ + libmng \ + openexr \ + ocl-icd \ + opencl-headers \ + pango \ + sdl \ + sdl2 \ + shared-mime-info" + echo "Running pacman (you need root previllages to do that)..." + echo + sudo pacman -S --needed --noconfirm $PKG_LIST || true + else echo "WARNING: This build script does not works with package mangement systems other than yum, zypper or apt! You should install dependent packages manually." echo "REQUIRED PACKAGES: "