[X2Go-Commits] [x2goclient] 43/45: macbuild.sh: copy PulseAudio libraries and binaries.

git-admin at x2go.org git-admin at x2go.org
Mon May 25 04:35:20 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit 0a9647c4290525b0c559777c3e7ef32c7fa0c3b1
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 cb951bb..bc7fdc6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -502,6 +502,7 @@ x2goclient (4.0.4.0-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.
 
   [ Fernando Pedemonte ]
   * New upstream release (4.0.4.0):
diff --git a/macbuild.sh b/macbuild.sh
index e7ca22d..6405b29 100755
--- a/macbuild.sh
+++ b/macbuild.sh
@@ -244,6 +244,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