macgstcopy: Copy libsoup
This commit is contained in:
parent
71a6d378d9
commit
00bc3f76cf
|
@ -130,3 +130,15 @@ for gst_plugin in $gst_plugins; do
|
|||
echo "Warning: Missing gstreamer plugin ${gst_plugin}."
|
||||
fi
|
||||
done
|
||||
|
||||
# libsoup is dynamically loaded by gstreamer, so it needs to be copied.
|
||||
if [ "${LIBSOUP_LIBRARY_PATH}" = "" ]; then
|
||||
echo "Warning: Set the LIBSOUP_LIBRARY_PATH environment variable for copying libsoup."
|
||||
else
|
||||
if [ -e "${LIBSOUP_LIBRARY_PATH}" ]; then
|
||||
mkdir -p "${bundledir}/Contents/Frameworks" || exit 1
|
||||
cp -v -f "${LIBSOUP_LIBRARY_PATH}" "${bundledir}/Contents/Frameworks/" || exit 1
|
||||
else
|
||||
echo "Warning: Missing libsoup ${LIBSOUP_LIBRARY_PATH}."
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue