annotate deploy/linux/AppRun @ 383:583727d0650a

Package
author Chris Cannam
date Fri, 05 Jun 2020 16:55:47 +0100
parents f7b1e81991e4
children
rev   line source
Chris@371 1 #!/bin/sh
Chris@371 2
Chris@371 3 mydir=$(dirname "$0")
Chris@371 4 case "$mydir" in
Chris@371 5 /*) ;;
Chris@371 6 *) mydir="$PWD/$mydir";;
Chris@371 7 esac
Chris@371 8
Chris@371 9 PATH="$mydir/usr/bin:$mydir/bin:$PATH"
Chris@371 10 export PATH
Chris@371 11
Chris@371 12 LD_LIBRARY_PATH="$mydir/usr/lib:$mydir/usr/lib/x86_64-linux-gnu:$mydir/usr/lib64:$LD_LIBRARY_PATH"
Chris@371 13 export LD_LIBRARY_PATH
Chris@371 14
Chris@371 15 QT_PLUGIN_PATH="$mydir/usr/lib/qt5/plugins/:$mydir/usr/lib/x86_64-linux-gnu/qt5/plugins/:$mydir/usr/lib64/qt5/plugins/:$QT_PLUGIN_PATH"
Chris@371 16 export QT_PLUGIN_PATH
Chris@371 17
Chris@371 18 XDG_DATA_DIRS="$mydir/usr/share:$XDG_DATA_DIRS:/usr/local/share:/usr/share"
Chris@371 19 export XDG_DATA_DIRS
Chris@371 20
Chris@371 21 GSETTINGS_SCHEMA_DIR="$mydir/usr/share/glib-2.0/schemas:$GSETTINGS_SCHEMA_DIR"
Chris@371 22 export GSETTINGS_SCHEMA_DIR
Chris@371 23
Chris@377 24 exec "$mydir/usr/bin/sonic-annotator" "$@"