Package commandline Lua-session tool
This commit is contained in:
parent
9aff22a9d2
commit
d3343700de
@ -477,6 +477,16 @@ for file in $BUILD_ROOT/session_utils/${lower_case_appname}${major_version}-*; d
|
||||
HAVE_SESSION_UTILS=true
|
||||
done
|
||||
|
||||
if test -x $BUILD_ROOT/tools/luadevel/luasession; then
|
||||
BN=${lower_case_appname}${major_version}-lua
|
||||
cp -v $BUILD_ROOT/tools/luadevel/luasession $APPLIB/$BN
|
||||
if test x$STRIP = xall ; then
|
||||
strip -s $APPLIB/${BN}
|
||||
fi
|
||||
ln -s ../lib/ardour-util.sh $APPBIN/${BN}
|
||||
HAVE_SESSION_UTILS=true
|
||||
fi
|
||||
|
||||
if test "$HAVE_SESSION_UTILS" = true ; then
|
||||
cat >> $APPLIB/ardour-util.sh << EOF
|
||||
#!/bin/sh
|
||||
|
@ -43,15 +43,16 @@ def build(bld):
|
||||
obj.install_path = None
|
||||
#########################################
|
||||
|
||||
# commandline luasession wrapper
|
||||
obj = bld(features = 'subst')
|
||||
obj.source = 'ardour-lua.sh.in'
|
||||
obj.target = 'ardour' + str (bld.env['MAJOR']) + '-lua'
|
||||
obj.chmod = Utils.O755
|
||||
obj.install_path = bld.env['BINDIR']
|
||||
obj.LIBDIR = os.path.normpath(bld.env['DLLDIR'])
|
||||
obj.DATADIR = os.path.normpath(bld.env['DATADIR'])
|
||||
obj.CONFDIR = os.path.normpath(bld.env['CONFDIR'])
|
||||
# commandline luasession wrapper script
|
||||
if bld.env['build_target'] != 'mingw':
|
||||
obj = bld(features = 'subst')
|
||||
obj.source = 'ardour-lua.sh.in'
|
||||
obj.target = 'ardour' + str (bld.env['MAJOR']) + '-lua'
|
||||
obj.chmod = Utils.O755
|
||||
obj.install_path = bld.env['BINDIR']
|
||||
obj.LIBDIR = os.path.normpath(bld.env['DLLDIR'])
|
||||
obj.DATADIR = os.path.normpath(bld.env['DATADIR'])
|
||||
obj.CONFDIR = os.path.normpath(bld.env['CONFDIR'])
|
||||
|
||||
# commandline luasession
|
||||
obj = bld (features = 'cxx c cxxprogram')
|
||||
@ -90,4 +91,8 @@ def build(bld):
|
||||
if bld.is_defined('NEED_INTL'):
|
||||
obj.linkflags = ' -lintl'
|
||||
|
||||
obj.install_path = bld.env['DLLDIR']
|
||||
if bld.env['build_target'] == 'mingw':
|
||||
obj.install_path = bld.env['BINDIR']
|
||||
obj.target = 'ardour' + str (bld.env['MAJOR']) + '-lua'
|
||||
else:
|
||||
obj.install_path = bld.env['DLLDIR']
|
||||
|
@ -428,6 +428,16 @@ for file in $BUILD_ROOT/session_utils/${lower_case_appname}${major_version}-*; d
|
||||
HAVE_SESSION_UTILS=true
|
||||
done
|
||||
|
||||
if test -x $BUILD_ROOT/tools/luadevel/luasession; then
|
||||
BN=${lower_case_appname}${major_version}-lua
|
||||
cp -v $BUILD_ROOT/tools/luadevel/luasession $Frameworks/$BN
|
||||
if test x$STRIP = xall ; then
|
||||
strip -s $Frameworks/${BN}
|
||||
fi
|
||||
ln -s ../lib/ardour-util.sh ${APPROOT}/MacOS/${BN}
|
||||
HAVE_SESSION_UTILS=true
|
||||
fi
|
||||
|
||||
# dynamically loaded NSS/SSL libs
|
||||
nsslibs="libsoftokn3.dylib libnsspem.dylib libnssckbi.dylib libfreebl3.dylib libnssdbm3.dylib libplds4.dylib"
|
||||
for nsslib in $nsslibs; do
|
||||
|
Loading…
Reference in New Issue
Block a user