Fix xcode build instructions (#4345)

This commit is contained in:
Alexander Nestorov 2018-01-26 01:55:31 +01:00 committed by Viktor Oreshkin
parent 810fb45750
commit 9f4e5e4603
1 changed files with 6 additions and 4 deletions

View File

@ -16,6 +16,11 @@ Go to ***BuildPath*** and run
MACOSX_DEPLOYMENT_TARGET=10.8
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install automake fdk-aac git lame libass libtool libvorbis libvpx opus sdl shtool texi2html theora wget x264 xvid yasm automake libtool
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
git clone --recursive https://github.com/telegramdesktop/tdesktop.git
cd Libraries
@ -64,9 +69,6 @@ Go to ***BuildPath*** and run
sudo make install
cd ..
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install automake fdk-aac git lame libass libtool libvorbis libvpx opus sdl shtool texi2html theora wget x264 xvid yasm
git clone https://github.com/FFmpeg/FFmpeg.git ffmpeg
cd ffmpeg
git checkout release/3.4
@ -85,7 +87,7 @@ Go to ***BuildPath*** and run
cmake -D LIBTYPE:STRING=STATIC -D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8 ..
make -j4
sudo make install
cd ..
cd ../..
git clone https://chromium.googlesource.com/external/gyp
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git