diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-11-30 16:40:34 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-11-30 16:41:54 +0300 |
commit | c69ce97438b4e54f9c82ccfb99cbc6b03fea5485 (patch) | |
tree | 45aa4afeb96e6293ee6e1e0fb2a471d69e3fae94 /build_files/build_environment/install_deps.sh | |
parent | ecbbb02c8832d6e460bf21a4579fc28d7c18fd62 (diff) |
install_deps.sh: add libsndfile (seems to be mandatory for correct flac export?)
Related to T46886.
Diffstat (limited to 'build_files/build_environment/install_deps.sh')
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index 8a4e246d9b8..4ffe73c8224 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -2209,6 +2209,13 @@ install_DEB() { PRINT "" install_packages_DEB $_packages + PRINT"" + SNDFILE_DEV="libsndfile1-dev" + check_package_DEB $SNDFILE_DEV + if [ $? -eq 0 ]; then + install_packages_DEB $SNDFILE_DEV + fi + PRINT "" X264_DEV="libx264-dev" check_package_version_ge_DEB $X264_DEV $X264_VERSION_MIN @@ -2762,6 +2769,13 @@ install_RPM() { fi fi + PRINT"" + SNDFILE_DEV="libsndfile-devel" + check_package_RPM $SNDFILE_DEV + if [ $? -eq 0 ]; then + install_packages_RMP $SNDFILE_DEV + fi + if [ "$WITH_ALL" = true ]; then PRINT "" VPX_DEV="libvpx-devel" @@ -3125,6 +3139,13 @@ install_ARCH() { PRINT "" install_packages_ARCH $_packages + PRINT"" + SNDFILE_DEV="libsndfile" + check_package_ARCH $SNDFILE_DEV + if [ $? -eq 0 ]; then + install_packages_ARCH $SNDFILE_DEV + fi + PRINT "" X264_DEV="x264" check_package_version_ge_ARCH $X264_DEV $X264_VERSION_MIN @@ -3664,6 +3685,10 @@ print_info() { _buildargs="" + _1="-D WITH_CODEC_SNDFILE=ON" + PRINT " $_1" + _buildargs="$_buildargs $_1" + _1="-D PYTHON_VERSION=$PYTHON_VERSION_MIN" PRINT " $_1" _buildargs="$_buildargs $_1" @@ -3761,6 +3786,8 @@ print_info() { PRINT "" PRINT "If you're using SCons add this to your user-config:" + PRINT "WITH_BF_SNDFILE = true" + PRINT "BF_PYTHON_VERSION = $PYTHON_VERSION_MIN" if [ -d $INST/python-$PYTHON_VERSION_MIN ]; then PRINT "BF_PYTHON = '$INST/python-$PYTHON_VERSION_MIN'" |