prepare.py: oops, add cmake as dependency and remove unneeded gettext

This commit is contained in:
Gautier Pelloux-Prayer 2015-07-03 11:54:58 +02:00
parent 69ec4c340a
commit 4ade3f01e3
2 changed files with 5 additions and 5 deletions

View file

@ -12,11 +12,9 @@ env:
before_install:
- brew update 1>/dev/null
- brew install doxygen nasm gettext yasm optipng imagemagick coreutils intltool ninja
- brew outdated cmake || brew upgrade cmake
- brew link gettext --force
- brew tap Gui13/linphone
- brew install antlr3.2
- brew install doxygen nasm yasm optipng imagemagick coreutils intltool ninj antlr3.2
- brew upgrade cmake
- wget --no-check-certificate https://raw.github.com/yuvi/gas-preprocessor/master/gas-preprocessor.pl
- chmod +x gas-preprocessor.pl
- sudo mv gas-preprocessor.pl /usr/local/bin

View file

@ -168,7 +168,7 @@ def check_tools():
print("Invalid location: linphone-iphone path should not contain any spaces.")
ret = 1
for prog in ["autoconf", "automake", "pkg-config", "doxygen", "java", "nasm", "gettext", "wget", "yasm", "optipng"]:
for prog in ["autoconf", "automake", "pkg-config", "doxygen", "java", "nasm", "cmake", "wget", "yasm", "optipng"]:
ret |= check_installed(prog, "it")
ret |= check_installed("ginstall", "coreutils")
ret |= check_installed("intltoolize", "intltool")
@ -492,6 +492,8 @@ def main(argv=None):
selected_platforms = list(set(selected_platforms))
if args.G__generator == 'Ninja':
if check_installed("ninja", "it") != 0:
return 1
generator = 'ninja -C'
else:
generator = '$(MAKE) -C'