/scripts/linux/archlinux/install_dependencies.sh
https://github.com/metropol/openFrameworks · Shell · 27 lines · 23 code · 2 blank · 2 comment · 5 complexity · bfa95476e966dbaa9943673e150bc89a MD5 · raw file
- pacman -Syu --needed make pkg-config gcc openal python-lxml glew freeglut freeimage jack gstreamer0.10-good-plugins gstreamer0.10-bad-plugins
- ARCH=$(uname -m)
- if [ "$ARCH" = "x86_64" ]; then
- LIBSPATH=linux64
- else
- LIBSPATH=linux
- fi
- WHO=`su -c 'who am i'`;ID=`echo ${WHO%% *}`
- #since users in arch have no default named group
- GROUP_ID=`id --group -n ${ID}`
- cd ../../../libs/openFrameworksCompiled/project/$LIBSPATH
- make Debug
- if [ $? != 0 ]; then
- echo "there has been a problem compiling Debug OF library"
- echo "please report this problem in the forums"
- exit
- fi
- chown -R $ID:$GROUP_ID obj ../../lib/${LIBSPATH}/*
- make Release
- if [ $? != 0 ]; then
- echo "there has been a problem compiling Release OF library"
- echo "please report this problem in the forums"
- fi
- chown -R $ID:$GROUP_ID obj ../../lib/${LIBSPATH}/*
- # libpoco-dev