[X2Go-Commits] [x2goclient] 42/138: macbuild.sh: copy PulseAudio libraries and binaries.
git-admin at x2go.org
git-admin at x2go.org
Mon Jan 18 22:48:21 CET 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 39c79930f3a30924ed7ae144381bb5dfb40a5ca4
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 fe147c4..8bb9955 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -96,6 +96,7 @@ x2goclient (4.0.5.1-0x2go1) UNRELEASED; urgency=low
- 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.
* debian/control:
- Change apache2-dev | libc6-dev build dependency back to apache2-dev
only. Otherwise, apache2-dev is not installed at all, even though
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