projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2016-07-29 Update zh.po for Ardoru 5.0
[ardour.git]
/
vst
/
ardourvst.in
diff --git
a/vst/ardourvst.in
b/vst/ardourvst.in
index 082be1c2fee6dbdabaf97796a66e9feda55292a5..639acb4b3f7b9e29d09b1187a17f3cdc987eff5f 100644
(file)
--- a/
vst/ardourvst.in
+++ b/
vst/ardourvst.in
@@
-1,10
+1,18
@@
#!/bin/sh
#!/bin/sh
-#
NOTE: the use of PREFIX is incorrect - it should be INSTALL_PREFIX,
-#
but somehow scons puts leading /'s on INSTALL_PREFIX and that causes
-#
wine to be unable to find the .exe.so file
+#
+#
Running Ardour requires these variables to be set
+#
-export GTK_PATH=%PREFIX%/lib/ardour3:$GTK_PATH
+export ARDOUR_DATA_PATH=@DATADIR@
+export ARDOUR_CONFIG_PATH=@CONFDIR@
+export ARDOUR_DLL_PATH=@LIBDIR@
-LD_LIBRARY_PATH=%PREFIX%/lib/ardour3:$LD_LIBRARY_PATH exec wine %PREFIX%/lib/ardour3/ardour_vst.exe.so "$@"
+export VAMP_PATH=@LIBDIR@/vamp${VAMP_PATH:+:$VAMP_PATH}
+export GTK_PATH=@LIBDIR@${GTK_PATH:+:$GTK_PATH}
+export LD_LIBRARY_PATH=@LIBDIR@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+# NSM needs a path to this script
+export ARDOUR_SELF="$0"
+
+exec wine @LIBDIR@/ardour-@VERSION@-vst.exe.so "$@"