PageRenderTime 26ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/scripts/linux/fedora/install_dependencies.sh

https://github.com/jehc/openFrameworks
Shell | 28 lines | 23 code | 4 blank | 1 comment | 5 complexity | d1154c2f66d41536ac5fda485047268c MD5 | raw file
  1. ## thanks to Claudio for details on packages to install on fedora
  2. yum install freeglut-devel alsa-lib-devel libXmu-devel libXxf86vm-devel gcc-c++ libraw1394-devel gstreamer-devel gstreamer-plugins-base-devel libudev-devel libtheora-devel libvorbis-devel openal-soft-devel libsndfile-devel python-lxml gstreamer-devel glew-devel flac-devel freeimage-devel cairo-devel jack-audio-connection-kit-devel
  3. ARCH=$(uname -m)
  4. if [ "$ARCH" = "x86_64" ]; then
  5. LIBSPATH=linux64
  6. else
  7. LIBSPATH=linux
  8. fi
  9. WHO=`sudo who am i`;ID=`echo ${WHO%% *}`
  10. GROUP_ID=`id --group -n ${ID}`
  11. cd ../../../libs/openFrameworksCompiled/project/$LIBSPATH
  12. make Debug
  13. if [ $? != 0 ]; then
  14. echo "there has been a problem compiling Debug OF library"
  15. echo "please report this problem in the forums"
  16. exit
  17. fi
  18. chown -R $ID:$GROUP_ID obj ../../lib/${LIBSPATH}/*
  19. make Release
  20. if [ $? != 0 ]; then
  21. echo "there has been a problem compiling Release OF library"
  22. echo "please report this problem in the forums"
  23. fi
  24. chown -R $ID:$GROUP_ID obj ../../lib/${LIBSPATH}/*