[X2Go-Commits] [x2goclient] 42/239: macbuild.sh: copy PulseAudio libraries and binaries.
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 24 23:27:12 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 443dbb23b342868ec8f9fed34dd517dcffa72d01
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun May 3 23:35:00 2015 +0200
macbuild.sh: copy PulseAudio libraries and binaries.
---
debian/changelog | 1 +
macbuild.sh | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b8627a2..4ed0231 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -81,6 +81,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
- macbuild.sh: define PulseAudio libraries and binaries to be later
copied. Discover them using MACPORTS_PREFIX. Error out if any component
was not found.
+ - macbuild.sh: copy PulseAudio libraries and binaries.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
diff --git a/macbuild.sh b/macbuild.sh
index ae7cc7f..c10c814 100755
--- a/macbuild.sh
+++ b/macbuild.sh
@@ -261,6 +261,23 @@ mkdir -p "${FRAMEWORKS_DIR}/"
phase "Copying nxproxy"
cp -av "${NXPROXY}" "${EXE_DIR}/"
+phase "Copying PulseAudio"
+for cur_binary in ${PULSEAUDIO_BINARIES_FULL[@]}; do
+ cp -av "${cur_binary}" "${EXE_DIR}/"
+done
+
+typeset intermediate_lib_dir=""
+for cur_binary in ${PULSEAUDIO_LIBRARIES_FULL[@]}; do
+set -x
+ intermediate_lib_dir="$(lazy_canonical_path "$(dirname "${cur_binary}")/")"
+ intermediate_lib_dir="${intermediate_lib_dir##"$(lazy_canonical_path "${MACPORTS_PREFIX}/lib/")"}"
+
+ mkdir -p "${FRAMEWORKS_DIR}/${intermediate_lib_dir}/"
+
+ cp -av "${cur_binary}" "${FRAMEWORKS_DIR}/${intermediate_lib_dir}/"
+set +x
+done
+
if [ "${BUNDLE}" = "1" ]; then
dylibbundler \
--fix-file "${EXE_DIR}/nxproxy" \
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list