13
0

remove cruft from packaging scripts

This commit is contained in:
Robin Gareus 2016-09-15 12:51:32 +02:00
parent 77bd398153
commit 5eb36a3283
2 changed files with 3 additions and 43 deletions

View File

@ -24,7 +24,6 @@ fi
MIXBUS= MIXBUS=
WITH_HARRISON_LV2= WITH_HARRISON_LV2=
WITH_X42_LV2= WITH_X42_LV2=
WITH_LADSPA=0
WITH_HARVID= WITH_HARVID=
STRIP=all STRIP=all
PRINT_SYSDEPS= PRINT_SYSDEPS=
@ -36,6 +35,7 @@ GCC5ABI=false
USEWINE=false USEWINE=false
BUILDTYPE="" BUILDTYPE=""
NOSTRIP="libsuil|libserd|libsord|liblilv|libsratom|liblrdf|libardour|libpbd|libevoral" NOSTRIP="libsuil|libserd|libsord|liblilv|libsratom|liblrdf|libardour|libpbd|libevoral"
: ${HARRISONCHANNELSTRIP=harrison_channelstrip} : ${HARRISONCHANNELSTRIP=harrison_channelstrip}
@ -61,7 +61,6 @@ while [ $# -gt 0 ] ; do
WITH_HARRISON_LV2=1 ; WITH_HARRISON_LV2=1 ;
WITH_X42_LV2=1 ; WITH_X42_LV2=1 ;
WITH_NLS=1 ; WITH_NLS=1 ;
WITH_LADSPA=;
STRIP=all STRIP=all
APPNAME=Mixbus ; APPNAME=Mixbus ;
VENDOR=Harrison ; VENDOR=Harrison ;
@ -72,7 +71,6 @@ while [ $# -gt 0 ] ; do
WITH_HARRISON_LV2=1 ; WITH_HARRISON_LV2=1 ;
WITH_X42_LV2=1 ; WITH_X42_LV2=1 ;
WITH_NLS=1 ; WITH_NLS=1 ;
WITH_LADSPA=;
STRIP=all STRIP=all
APPNAME=Mixbus32C ; APPNAME=Mixbus32C ;
VENDOR=Harrison ; VENDOR=Harrison ;
@ -82,23 +80,20 @@ while [ $# -gt 0 ] ; do
--public) --public)
WITH_HARRISON_LV2=1 ; WITH_HARRISON_LV2=1 ;
WITH_NLS=1 ; WITH_NLS=1 ;
WITH_LADSPA=;
STRIP=all ; STRIP=all ;
APPNAME=Ardour ; APPNAME=Ardour ;
shift ;; shift ;;
--allinone) --allinone)
WITH_NLS= ; WITH_NLS= ;
WITH_LADSPA=1;
STRIP=all; STRIP=all;
shift ;; shift ;;
--test) WITH_LADSPA=; STRIP= ; shift ;; --test) STRIP= ; shift ;;
# #
# specific build flags # specific build flags
# #
--nojack) INTERNAL_JACK= ; shift ;; --nojack) INTERNAL_JACK= ; shift ;;
--noladspa) WITH_LADSPA= ; shift ;;
--strip) STRIP=$2 ; shift ; shift ;; --strip) STRIP=$2 ; shift ; shift ;;
--sysdeps) PRINT_SYSDEPS=1; shift ;; --sysdeps) PRINT_SYSDEPS=1; shift ;;
--nls) WITH_NLS=1 ; shift ;; --nls) WITH_NLS=1 ; shift ;;
@ -361,20 +356,6 @@ cp $BUILD_ROOT/libs/clearlooks-newer/libclearlooks.so $Libraries
cp $GTKSTACK_ROOT/lib/gtk-2.0/2.10.0/engines/libpixmap.so $Libraries cp $GTKSTACK_ROOT/lib/gtk-2.0/2.10.0/engines/libpixmap.so $Libraries
(cd $GTK_ENGINE_DIR && ln -s ../../libpixmap.so . ) (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 # Control Surfaces
cp $BUILD_ROOT/libs/surfaces/*/libardour_*.so* $Surfaces cp $BUILD_ROOT/libs/surfaces/*/libardour_*.so* $Surfaces
cp $BUILD_ROOT/libs/surfaces/control_protocol/libardourcp.so* $Libraries cp $BUILD_ROOT/libs/surfaces/control_protocol/libardourcp.so* $Libraries

View File

@ -20,7 +20,6 @@ MIXBUS32C=
WITH_HARVID=1 WITH_HARVID=1
WITH_HARRISON_LV2= WITH_HARRISON_LV2=
WITH_X42_LV2= WITH_X42_LV2=
WITH_LADSPA=1
STRIP=1 STRIP=1
PRINT_SYSDEPS= PRINT_SYSDEPS=
WITH_NLS= WITH_NLS=
@ -39,7 +38,6 @@ while [ $# -gt 0 ] ; do
--sae) --sae)
SAE=1 ; SAE=1 ;
WITH_LADSPA=1;
STRIP= ; STRIP= ;
PRODUCT_PKG_DIR=ArdourSAE ; PRODUCT_PKG_DIR=ArdourSAE ;
APPNAME=Ardour ; APPNAME=Ardour ;
@ -49,7 +47,6 @@ while [ $# -gt 0 ] ; do
WITH_X42_LV2=1 ; WITH_X42_LV2=1 ;
WITH_NLS=1 ; WITH_NLS=1 ;
SAE= ; SAE= ;
WITH_LADSPA=;
STRIP= ; STRIP= ;
PRODUCT_PKG_DIR=Mixbus; PRODUCT_PKG_DIR=Mixbus;
APPNAME=Mixbus ; APPNAME=Mixbus ;
@ -60,7 +57,6 @@ while [ $# -gt 0 ] ; do
WITH_X42_LV2=1 ; WITH_X42_LV2=1 ;
WITH_NLS=1 ; WITH_NLS=1 ;
SAE= ; SAE= ;
WITH_LADSPA=;
STRIP= ; STRIP= ;
PRODUCT_PKG_DIR=Mixbus32C; PRODUCT_PKG_DIR=Mixbus32C;
APPNAME=Mixbus32C-${major_version} ; APPNAME=Mixbus32C-${major_version} ;
@ -68,25 +64,22 @@ while [ $# -gt 0 ] ; do
shift ;; shift ;;
--public) --public)
SAE= ; SAE= ;
WITH_LADSPA=1;
WITH_HARRISON_LV2=1 ; WITH_HARRISON_LV2=1 ;
WITH_X42_LV2=1 ; WITH_X42_LV2=1 ;
PRODUCT_PKG_DIR=Ardour; PRODUCT_PKG_DIR=Ardour;
APPNAME=Ardour ; APPNAME=Ardour ;
shift ;; shift ;;
--allinone) SAE= ; --allinone) SAE= ;
WITH_LADSPA=1;
STRIP= ; STRIP= ;
PRODUCT_PKG_DIR=Ardour ; PRODUCT_PKG_DIR=Ardour ;
shift ;; shift ;;
--test) SAE= ; WITH_LADSPA=; STRIP= ; shift ;; --test) SAE= ; STRIP= ; shift ;;
# #
# specific build flags # specific build flags
# #
--noharvid) WITH_HARVID= ; shift ;; --noharvid) WITH_HARVID= ; shift ;;
--noladspa) WITH_LADSPA= ; shift ;;
--nostrip) STRIP= ; shift ;; --nostrip) STRIP= ; shift ;;
--sysdeps) PRINT_SYSDEPS=1; shift ;; --sysdeps) PRINT_SYSDEPS=1; shift ;;
--nls) WITH_NLS=1 ; shift ;; --nls) WITH_NLS=1 ; shift ;;
@ -348,20 +341,6 @@ cp $GTKSTACK_ROOT/lib/gtk-2.0/2.10.0/engines/libpixmap.so $Frameworks
(cd $GTK_ENGINE_DIR && ln -s ../../libpixmap.so) (cd $GTK_ENGINE_DIR && ln -s ../../libpixmap.so)
if test x$WITH_LADSPA != x ; then
if test x$SAE != x ; then
plugdir=sae_ladspa
elif test x$MIXBUS != x ; then
plugdir=mixbus_ladspa
else
plugdir=ladspa
fi
if [ -d $plugdir -a "x$(ls $plugdir)" != x ] ; then
echo "Copying `ls $plugdir | wc -l` plugins ..."
cp -r $plugdir/* $Plugins
fi
fi
# Control Surface shared libraries # Control Surface shared libraries
cp $BUILD_ROOT/libs/surfaces/*/libardour_*.dylib $Surfaces cp $BUILD_ROOT/libs/surfaces/*/libardour_*.dylib $Surfaces
cp $BUILD_ROOT/libs/surfaces/control_protocol/libardourcp*.dylib $Frameworks cp $BUILD_ROOT/libs/surfaces/control_protocol/libardourcp*.dylib $Frameworks