Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/build_environment/install_deps.sh')
-rwxr-xr-xbuild_files/build_environment/install_deps.sh33
1 files changed, 32 insertions, 1 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index 3b364c21f7d..7cd21b2885c 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -51,7 +51,7 @@ ARGS=$( \
getopt \
-o s:i:t:h \
--long source:,install:,tmp:,info:,threads:,help,show-deps,no-sudo,no-build,no-confirm,\
-with-all,with-opencollada,with-jack,with-embree,with-oidn,with-nanovdb,\
+with-all,with-opencollada,with-jack,with-pulseaudio,with-embree,with-oidn,with-nanovdb,\
ver-ocio:,ver-oiio:,ver-llvm:,ver-osl:,ver-osd:,ver-openvdb:,ver-xr-openxr:,\
force-all,force-python,force-boost,force-tbb,\
force-ocio,force-openexr,force-oiio,force-llvm,force-osl,force-osd,force-openvdb,\
@@ -157,6 +157,9 @@ ARGUMENTS_INFO="\"COMMAND LINE ARGUMENTS:
--with-jack
Install the jack libraries.
+ --with-pulseaudio
+ Install the pulseaudio libraries.
+
--ver-ocio=<ver>
Force version of OCIO library.
@@ -721,6 +724,9 @@ while true; do
--with-jack)
WITH_JACK=true; shift; continue;
;;
+ --with-pulseaudio)
+ WITH_PULSEAUDIO=true; shift; continue;
+ ;;
--ver-ocio)
OCIO_VERSION="$2"
OCIO_VERSION_MIN=$OCIO_VERSION
@@ -985,6 +991,7 @@ fi
if [ "$WITH_ALL" = true ]; then
WITH_JACK=true
WITH_NANOVDB=true
+ WITH_PULSEAUDIO=true
fi
if [ "$WITH_NANOVDB" = true ]; then
@@ -3877,6 +3884,10 @@ install_DEB() {
fi
fi
+ if [ "$WITH_PULSEAUDIO" = true ]; then
+ _packages="$_packages libpulse-dev"
+ fi
+
PRINT ""
install_packages_DEB $_packages
@@ -4499,6 +4510,10 @@ install_RPM() {
_packages="$_packages jack-audio-connection-kit-devel"
fi
+ if [ "$WITH_PULSEAUDIO" = true ]; then
+ _packages="$_packages pulseaudio-libs-devel"
+ fi
+
PRINT ""
install_packages_RPM $_packages
@@ -4542,6 +4557,10 @@ install_RPM() {
X264_USE=true
fi
+ if [ "$WITH_PULSEAUDIO" = true ]; then
+ _packages="$_packages libpulse-devel"
+ fi
+
if [ "$WITH_ALL" = true ]; then
PRINT ""
XVID_DEV="libxvidcore-devel"
@@ -5073,6 +5092,10 @@ install_ARCH() {
_packages="$_packages jack2"
fi
+ if [ "$WITH_PULSEAUDIO" = true ]; then
+ _packages="$_packages libpulse"
+ fi
+
PRINT ""
install_packages_ARCH $_packages
@@ -5888,6 +5911,14 @@ print_info() {
_buildargs="$_buildargs $_1 $_2"
fi
+ if [ "$WITH_PULSEAUDIO" = true ]; then
+ _1="-D WITH_PULSEAUDIO=ON"
+ _2="-D WITH_PULSEAUDIO_DYNLOAD=ON"
+ PRINT " $_1"
+ PRINT " $_2"
+ _buildargs="$_buildargs $_1 $_2"
+ fi
+
if [ "$ALEMBIC_SKIP" = false ]; then
_1="-D WITH_ALEMBIC=ON"
PRINT " $_1"