[X2Go-Commits] [x2goclient] 42/217: macbuild.sh: copy PulseAudio libraries and binaries.
git-admin at x2go.org
git-admin at x2go.org
Wed Sep 21 01:08:26 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 c130d52f08c639233431250f2133f72ccd960bab
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 be2924c..69a7a3a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -77,6 +77,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.
-- X2Go Release Manager <git-admin at x2go.org> Mon, 19 Sep 2016 09:07:07 +0200
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