diff --git a/make-ring.py b/make-ring.py index b7a6f45e0029a27eb4b2719d0209e99d686a40ac..597e57bb4067a5b313432b670b5dfc8a7d5e738d 100755 --- a/make-ring.py +++ b/make-ring.py @@ -156,6 +156,11 @@ OSX_DEPENDENCIES_UNLINK = [ 'libtool*', 'yasm*', 'automake*' ] +IOS_DEPENDENCIES = [ + 'autoconf', 'automake', 'cmake', 'yasm', 'libtool', 'opus', + 'pkg-config', 'gettext', 'swiftlint', 'swiftgen' +] + UNINSTALL_SCRIPT = [ 'make -C daemon uninstall', 'xargs rm < lrc/build-global/install_manifest.txt', @@ -222,6 +227,12 @@ def run_dependencies(args): {"packages": ' '.join(OSX_DEPENDENCIES)} ) + elif args.distribution == "iOS": + execute_script( + BREW_INSTALL_SCRIPT, + {"packages": ' '.join(IOS_DEPENDENCIES)} + ) + elif args.distribution == "Android": print("The Android version does not need more dependencies.\nPlease continue with the --install instruction.") sys.exit(1) @@ -376,7 +387,7 @@ def validate_args(parsed_args): """Validate the args values, exit if error is found""" # Check arg values - supported_distros = ['Android', 'Ubuntu', 'Debian', 'OSX', 'Fedora', 'Arch Linux', 'openSUSE', 'Automatic', 'mingw32', 'mingw64'] + supported_distros = ['Android', 'Ubuntu', 'Debian', 'OSX', 'iOS', 'Fedora', 'Arch Linux', 'openSUSE', 'Automatic', 'mingw32', 'mingw64'] if parsed_args.distribution not in supported_distros: print('Distribution \''+parsed_args.distribution+'\' not supported.\nChoose one of: %s' \