summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/build
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-12-16 22:39:00 +0100
committerRobin Gareus <robin@gareus.org>2015-12-16 23:22:05 +0100
commit259dbaea520be3a8f60fe517e2ea22da624691ef (patch)
treefaa30c97eb4f78bc5ad0e65e243825e1b09e7db0 /tools/linux_packaging/build
parent53d8b454579a2343c0976d9aafb3013e2a9d432a (diff)
fun hacks for wine
windows-VST? yes, we could.
Diffstat (limited to 'tools/linux_packaging/build')
-rwxr-xr-xtools/linux_packaging/build4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index baf4f5771f..f397386133 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -33,6 +33,7 @@ EXTERNAL_JACK=
VENDOR=Ardour ;
EXENAME=ardour
GCC5ABI=false
+USEWINE=false
BUILDTYPE=""
NOSTRIP="libsuil|libserd|libsord|liblilv|libsratom|liblrdf|libardour|libpbd|libevoral"
@@ -239,6 +240,7 @@ echo export 'PATH=/usr/local/bin:/opt/bin:$PATH' >> $ENVIRONMENT
# create startup helper script
if test -d $BUILD_ROOT/vst; then
WINEEXE=wine
+ USEWINE=true
echo export INSTALL_DIR >> $ENVIRONMENT
else
WINEEXE=
@@ -682,7 +684,7 @@ chmod a+x $APPBIN/${APP_VER_NAME}.uninstall.sh
#
# Add the stage2.run script
#
-sed -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/;s/%REPLACE_PGM%/${APPNAME}/;s/%REPLACE_VENDOR%/${VENDOR}/;s/%REPLACE_EXE%/${EXENAME}/;s/%REPLACE_GCC5%/${GCC5ABI}/" < stage2.run.in > stage2.run
+sed -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/;s/%REPLACE_PGM%/${APPNAME}/;s/%REPLACE_VENDOR%/${VENDOR}/;s/%REPLACE_EXE%/${EXENAME}/;s/%REPLACE_GCC5%/${GCC5ABI}/;s/%REPLACE_WINE%/${USEWINE}/" < stage2.run.in > stage2.run
chmod a+x stage2.run