summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorGuy Sherman <guy@guysherman.com>2015-08-16 18:01:28 +0200
committerRobin Gareus <robin@gareus.org>2015-08-16 18:01:28 +0200
commit4f387f390ef0b9937637904ea894c82739c26900 (patch)
tree0fe76a120647ca98e54e391d79913a1149d37e7e /gtk2_ardour
parent1d2938b16228723c6de8be653db18fa8ac6fced6 (diff)
Tweaked build and run for windows
Quotes were appearing around the version number. Modified wscript to remove quotes from VERSION and PROGRAM_VERSION. One of the places windows looks for DLLs is in directories listed in PATH. A new file called ardev-win which sets up the contents of PATH and LD_LIBRARY_PATH as required.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardev-win6
-rw-r--r--gtk2_ardour/ardev_common.sh.in6
2 files changed, 9 insertions, 3 deletions
diff --git a/gtk2_ardour/ardev-win b/gtk2_ardour/ardev-win
new file mode 100644
index 0000000000..c7a8d4fe80
--- /dev/null
+++ b/gtk2_ardour/ardev-win
@@ -0,0 +1,6 @@
+#!/bin/sh
+TOP=`dirname "$0"`/..
+. $TOP/build/gtk2_ardour/ardev_common_waf.sh
+export UBUNTU_MENUPROXY=""
+export PATH=$libs/ptformat:$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:$libs/canvas:$libs/ardouralsautil${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}:$PATH
+exec $TOP/$EXECUTABLE "$@"
diff --git a/gtk2_ardour/ardev_common.sh.in b/gtk2_ardour/ardev_common.sh.in
index eca77916c0..cf372c0cca 100644
--- a/gtk2_ardour/ardev_common.sh.in
+++ b/gtk2_ardour/ardev_common.sh.in
@@ -5,9 +5,9 @@
libs=$TOP/@LIBS@
#
-# when running ardev, the various parts of Ardour have not been consolidated into the locations that they
+# 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.
+# can find all the components.
#
export ARDOUR_PATH=$TOP/gtk2_ardour/icons:$TOP/gtk2_ardour/pixmaps:$TOP/build/gtk2_ardour:$TOP/gtk2_ardour:.
@@ -24,7 +24,7 @@ export EVORAL_TEST_PATH=$TOP/libs/evoral/test/testdata
export MIDIPP_TEST_PATH=$TOP/patchfiles
#
-# even though we set the above variables, ardour requires that these
+# even though we set the above variables, ardour requires that these
# two also be set. the above settings will override them.
#