-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
62 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
if [ -z "$APPDIR" ]; then | ||
APPDIR="$(dirname "$(readlink -f "$0")")" | ||
fi | ||
|
||
HERE="$(dirname "$(readlink -f "${0}")")" | ||
|
||
# export LD_LIBRARY_PATH="$HERE/usr/lib:${LD_LIBRARY_PATH}" | ||
export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${APPDIR}/usr/lib/gstreamer-1.0:${LD_LIBRARY_PATH}" | ||
|
||
export GST_REGISTRY_REUSE_PLUGIN_SCANNER="no" | ||
export GIO_EXTRA_MODULES="$HERE/usr/lib/gio/modules" | ||
export GIO_EXTRA_MODULES="${APPDIR}/usr/lib/gio/modules" | ||
|
||
export GST_PLUGIN_SYSTEM_PATH="${APPDIR}/usr/lib/gstreamer-1.0" | ||
export GST_PLUGIN_SYSTEM_PATH_1_0="${APPDIR}/usr/lib/gstreamer-1.0" | ||
export GST_PLUGIN_PATH="${APPDIR}/usr/lib/gstreamer-1.0" | ||
export GST_PLUGIN_PATH_1_0="${APPDIR}/usr/lib/gstreamer-1.0" | ||
export GST_PLUGIN_SCANNER="${APPDIR}/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" | ||
export GST_PLUGIN_SCANNER_1_0="${APPDIR}/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" | ||
export GST_PTP_HELPER="${APPDIR}/usr/lib/gstreamer1.0/gstreamer-1.0/gst-ptp-helper" | ||
export GST_PTP_HELPER_1_0="${APPDIR}/usr/lib/gstreamer1.0/gstreamer-1.0/gst-ptp-helper" | ||
|
||
export GST_PLUGIN_SYSTEM_PATH="$HERE/usr/lib/gstreamer-1.0" | ||
export GST_PLUGIN_SYSTEM_PATH_1_0="$HERE/usr/lib/gstreamer-1.0" | ||
export GST_PLUGIN_PATH="$HERE/usr/lib/gstreamer-1.0" | ||
export GST_PLUGIN_PATH_1_0="$HERE/usr/lib/gstreamer-1.0" | ||
export GST_PLUGIN_SCANNER="$HERE/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" | ||
export GST_PLUGIN_SCANNER_1_0="$HERE/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" | ||
export GST_PTP_HELPER="$HERE/usr/lib/gstreamer1.0/gstreamer-1.0/gst-ptp-helper" | ||
export GST_PTP_HELPER_1_0="$HERE/usr/lib/gstreamer1.0/gstreamer-1.0/gst-ptp-helper" | ||
export QT_QPA_PLATFORM="xcb" | ||
|
||
exec "$HERE/usr/bin/QGroundControl" "$@" | ||
exec "${APPDIR}/usr/bin/QGroundControl" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters