MIXBUS=
WITH_HARRISON_LV2=
WITH_X42_LV2=
-WITH_LADSPA=0
WITH_HARVID=
STRIP=all
PRINT_SYSDEPS=
USEWINE=false
BUILDTYPE=""
NOSTRIP="libsuil|libserd|libsord|liblilv|libsratom|liblrdf|libardour|libpbd|libevoral"
+
: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
WITH_HARRISON_LV2=1 ;
WITH_X42_LV2=1 ;
WITH_NLS=1 ;
- WITH_LADSPA=;
STRIP=all
APPNAME=Mixbus ;
VENDOR=Harrison ;
WITH_HARRISON_LV2=1 ;
WITH_X42_LV2=1 ;
WITH_NLS=1 ;
- WITH_LADSPA=;
STRIP=all
APPNAME=Mixbus32C ;
VENDOR=Harrison ;
major_version=""
shift ;;
--public)
+ WITH_HARRISON_LV2=1 ;
WITH_NLS=1 ;
- WITH_LADSPA=;
STRIP=all ;
APPNAME=Ardour ;
shift ;;
--allinone)
WITH_NLS= ;
- WITH_LADSPA=1;
STRIP=all;
shift ;;
- --test) WITH_LADSPA=; STRIP= ; shift ;;
+ --test) STRIP= ; shift ;;
#
# specific build flags
#
--nojack) INTERNAL_JACK= ; shift ;;
- --noladspa) WITH_LADSPA= ; shift ;;
--strip) STRIP=$2 ; shift ; shift ;;
--sysdeps) PRINT_SYSDEPS=1; shift ;;
--nls) WITH_NLS=1 ; shift ;;
cp $GTKSTACK_ROOT/lib/gtk-2.0/2.10.0/engines/libpixmap.so $Libraries
(cd $GTK_ENGINE_DIR && ln -s ../../libpixmap.so . )
-# LADSPA
-if test x$WITH_LADSPA != x ; then
- if test x$MIXBUS != x ; then
- plugdir=mixbus_ladspa
- else
- plugdir=ladspa
- fi
- echo "Copying `ls $plugdir | wc -l` plugins ..."
- if [ -d $plugdir ] ; then
- mkdir -p $Plugins
- cp -r $plugdir/* $Plugins
- fi
-fi
-
# Control Surfaces
cp $BUILD_ROOT/libs/surfaces/*/libardour_*.so* $Surfaces
cp $BUILD_ROOT/libs/surfaces/control_protocol/libardourcp.so* $Libraries
# Lua Scripts Files
# got to be careful with names here
for x in $BUILD_ROOT/../scripts/*.lua ; do
+ BN=$(basename $x)
+ if test "${BN:0:1}" = "_"; then
+ continue;
+ fi
cp "$x" $LuaScripts
done
echo $OURLIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
checkedIdx=0
-deplibs=
+
+# these are dynamically loaded by NSS
+deplibs="libfreeblpriv3.so libsoftokn3.so libnsspem.so"
+cp -v $GTKSTACK_ROOT/lib/libsoftokn3.so $Libraries/
+cp -v $GTKSTACK_ROOT/lib/libfreeblpriv3.so $Libraries/
+cp -v $GTKSTACK_ROOT/lib/libnsspem.so $Libraries/
+chrpath -r foo $Libraries/libsoftokn3.so
+chrpath -r foo $Libraries/libfreeblpriv3.so
+chrpath -r foo $Libraries/libnsspem.so
while [ true ] ; do
missing=false
cp ../../system_config $Etc/system_config
cp ../../instant.xml $Shared/instant.xml
cp ../../gtk2_ardour/icons/*.png ${Shared}/icons
-cp -r ../../gtk2_ardour/icons/icons/cursor_* ${Shared}/icons/
+cp -r ../../gtk2_ardour/icons/cursor_* ${Shared}/icons/
cp ../../gtk2_ardour/ArdourMono.ttf $Shared
cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
-# Themes. Grab only the ones for this program
+# Themes: only install those named for this app
lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
-for colors in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
-do
- install_name=`echo $colors | sed "s/-$lower_case_appname//"`
- install_name=`basename $install_name`
- cp $colors $Themes/$install_name
-done
+cp ../../gtk2_ardour/themes/*-${lower_case_appname}.colors $Themes
#
# put sooper sekrit ingredients here and they will be copied
fi
if test x$WITH_X42_LV2 != x ; then
- METERS_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/x42-meters.latest.txt)
- rsync -a -q --partial \
- rsync://x42-plugins.com/x42/linux/x42-meters-lv2-linux-${WARCH}-${METERS_VERSION}.zip \
- "${CACHEDIR}/x42-meters-lv2-linux-${WARCH}-${METERS_VERSION}.zip"
- unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/x42-meters-lv2-linux-${WARCH}-${METERS_VERSION}.zip"
-
- EQ_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/x42-eq.latest.txt)
- rsync -a -q --partial \
- rsync://x42-plugins.com/x42/linux/x42-eq-lv2-linux-${WARCH}-${EQ_VERSION}.zip \
- "${CACHEDIR}/x42-eq-lv2-linux-${WARCH}-${EQ_VERSION}.zip"
- unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/x42-eq-lv2-linux-${WARCH}-${EQ_VERSION}.zip"
-
- SETBFREE_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/setBfree.latest.txt)
- rsync -a -q --partial \
- rsync://x42-plugins.com/x42/linux/setBfree-lv2-linux-${WARCH}-${SETBFREE_VERSION}.zip \
- "${CACHEDIR}/setBfree-lv2-linux-${WARCH}-${SETBFREE_VERSION}.zip"
- unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/setBfree-lv2-linux-${WARCH}-${SETBFREE_VERSION}.zip"
-
- MIDIFILTER_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/x42-midifilter.latest.txt)
- rsync -a -q --partial \
- rsync://x42-plugins.com/x42/linux/x42-midifilter-lv2-linux-${WARCH}-${MIDIFILTER_VERSION}.zip \
- "${CACHEDIR}/x42-midifilter-lv2-linux-${WARCH}-${MIDIFILTER_VERSION}.zip"
- unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/x42-midifilter-lv2-linux-${WARCH}-${MIDIFILTER_VERSION}.zip"
+ mkdir -p $APPLIB/LV2
+
+ echo "Adding x42 Plugins"
+ for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree; do
+ X42_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/${proj}.latest.txt)
+ rsync -a -q --partial \
+ rsync://x42-plugins.com/x42/linux/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip \
+ "${CACHEDIR}/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip"
+ unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip"
+ done
fi
################################################################################
echo "Building tarball ..."
-rm -f $APPDIR.tar.bz2
-tar -cjf $APPDIR.tar.bz2 $APPDIR
+rm -f $APPDIR.tar
+tar -cf $APPDIR.tar $APPDIR
echo "Calculating bundle size"
du -sb $APPDIR/ | awk '{print $1}' > $APPDIR.size