2009-02-27 16:16:02 -05:00
|
|
|
TOP=`dirname "$0"`/..
|
2007-01-09 18:24:54 -05:00
|
|
|
|
|
|
|
#export G_DEBUG=fatal_criticals
|
|
|
|
|
2009-02-26 18:43:10 -05:00
|
|
|
libs=$TOP/@LIBS@
|
2009-02-26 17:30:13 -05:00
|
|
|
|
2012-05-18 13:24:06 -04:00
|
|
|
#
|
|
|
|
# when running ardev, the various parts of Ardour have not been consolidated into the locations that they
|
|
|
|
# would normally end up after an install. We therefore need to set up environment variables so that we
|
|
|
|
# can find all the components.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-09-29 15:17:54 -04:00
|
|
|
export ARDOUR_PATH=$TOP/gtk2_ardour/icons:$TOP/gtk2_ardour/pixmaps:$TOP/build/gtk2_ardour:$TOP/gtk2_ardour:.
|
2013-01-07 13:28:09 -05:00
|
|
|
export ARDOUR_SURFACES_PATH=$libs/surfaces/osc:$libs/surfaces/generic_midi:$libs/surfaces/tranzport:$libs/surfaces/powermate:$libs/surfaces/mackie:$libs/surfaces/wiimote
|
2011-01-26 20:31:03 -05:00
|
|
|
export ARDOUR_PANNER_PATH=$libs/panners/2in2out:$libs/panners/1in2out:$libs/panners/vbap
|
2013-01-25 08:06:28 -05:00
|
|
|
export ARDOUR_DATA_PATH=$TOP:$TOP/build:$TOP/gtk2_ardour:$TOP/build/gtk2_ardour:.
|
2012-05-08 11:25:57 -04:00
|
|
|
export ARDOUR_MIDIMAPS_PATH=$TOP/midi_maps:.
|
2012-04-17 16:41:31 -04:00
|
|
|
export ARDOUR_MCP_PATH=$TOP/mcp:.
|
2012-07-24 20:22:30 -04:00
|
|
|
export ARDOUR_EXPORT_FORMATS_PATH=$TOP/export:.
|
2009-02-26 18:31:41 -05:00
|
|
|
|
2012-05-18 13:24:06 -04:00
|
|
|
#
|
|
|
|
# even though we set the above variables, ardour requires that these
|
|
|
|
# two also be set. the above settings will override them.
|
|
|
|
#
|
|
|
|
|
2012-05-19 12:41:36 -04:00
|
|
|
export ARDOUR_CONFIG_PATH=$TOP:$TOP/gtk2_ardour:$TOP/build:$TOP/build/gtk2_ardour
|
2012-05-18 13:24:06 -04:00
|
|
|
export ARDOUR_DLL_PATH=$libs
|
|
|
|
|
2009-02-26 17:30:13 -05:00
|
|
|
if test -d $HOME/gtk/inst ; then
|
|
|
|
export GTK_PATH=~/.ardour3:$libs/clearlooks-newer
|
|
|
|
else
|
|
|
|
export GTK_PATH=~/.ardour3:$libs/clearlooks-older
|
|
|
|
fi
|
2009-02-26 18:31:41 -05:00
|
|
|
|
2010-09-28 21:58:47 -04:00
|
|
|
export VAMP_PATH=$libs/vamp-plugins${VAMP_PATH:+:$VAMP_PATH}
|
2009-02-26 17:30:13 -05:00
|
|
|
|
2012-12-14 11:18:47 -05:00
|
|
|
export LD_LIBRARY_PATH=$libs/qm-dsp:$libs/vamp-sdk:$libs/surfaces:$libs/surfaces/control_protocol:$libs/ardour:$libs/midi++2:$libs/pbd:$libs/rubberband:$libs/soundtouch:$libs/gtkmm2ext:$libs/gnomecanvas:$libs/libsndfile:$libs/appleutility:$libs/taglib:$libs/evoral:$libs/evoral/src/libsmf:$libs/audiographer:$libs/timecode:$libs/libltc:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
2009-02-26 17:30:13 -05:00
|
|
|
|
|
|
|
# DYLD_LIBRARY_PATH is for darwin.
|
|
|
|
export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
EXECUTABLE=@EXECUTABLE@
|