diff options
author | Robin Gareus <robin@gareus.org> | 2015-07-02 05:04:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-07-02 05:04:42 +0200 |
commit | 4f562d3f3b6cfb6a090987e33087977250be9e9f (patch) | |
tree | 7d044fda47a51a06bd8f2e3b75f0bc5615dda157 /tools/linux_packaging/build | |
parent | 1561c727bca924bfe27149e6230897b3002032cd (diff) |
let’s call Mixbus “Mixbus”..
Diffstat (limited to 'tools/linux_packaging/build')
-rwxr-xr-x | tools/linux_packaging/build | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 2c40d4dcaf..8a1cebc498 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -29,6 +29,7 @@ PRINT_SYSDEPS= WITH_NLS= EXTERNAL_JACK= VENDOR=Ardour ; +EXENAME=ardour BUILDTYPE="" @@ -55,7 +56,8 @@ while [ $# -gt 0 ] ; do WITH_LADSPA=; STRIP=all APPNAME=Mixbus ; - VENDOR=Harrison ; + VENDOR=Harrison ; + EXENAME=mixbus ; shift ;; --public) WITH_NLS=1 ; @@ -237,14 +239,14 @@ echo export 'PATH=/usr/local/bin:/opt/bin:$PATH' >> $ENVIRONMENT # create startup helper script -sed -e "/^%ENV%/r $ENVIRONMENT" -e '/^%ENV%/d' -e 's/%VER%/'"${release_version}"'/' < ardour.sh.in > $APPBIN/ardour${major_version} -rm $ENVIRONMENT && chmod 775 $APPBIN/ardour${major_version} +sed -e "/^%ENV%/r $ENVIRONMENT" -e '/^%ENV%/d' -e 's/%VER%/'"${release_version}"'/;s/%EXENAME%/${EXENAME}/' < ardour.sh.in > $APPBIN/${EXENAME}${major_version} +rm $ENVIRONMENT && chmod 775 $APPBIN/${EXENAME}${major_version} MAIN_EXECUTABLE=ardour-${release_version} echo "Copying ardour executable ...." -cp $BUILD_ROOT/gtk2_ardour/$MAIN_EXECUTABLE $APPBIN +cp -v $BUILD_ROOT/gtk2_ardour/$MAIN_EXECUTABLE $APPBIN/${EXENAME}-${major_version} if test x$STRIP = xall ; then - strip $APPBIN/$MAIN_EXECUTABLE + strip $APPBIN/${EXENAME}-${major_version} fi # copy locale files @@ -576,15 +578,21 @@ done ### Mixbus plugins, etc if test -n "$MIXBUS"; then + echo "Adding Mixbus LADSPA and LV2s" + mkdir -p $APPLIB/LV2 mkdir -p $APPLIB/ladspa/strip/ # TODO find a good way to cache those locally - curl -s -S -o "${CACHEDIR}/harrison_lv2s.${HARCH}.zip" \ + curl -s -S \ + -z "${CACHEDIR}/harrison_lv2s.${HARCH}.zip" \ + -o "${CACHEDIR}/harrison_lv2s.${HARCH}.zip" \ http://www.harrisonconsoles.com/mixbus/mb3/${HARCH}/harrison_lv2s.zip - unzip -d "$APPLIB/LV2/" "${CACHEDIR}/harrison_lv2s.${HARCH}.zip" + unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/harrison_lv2s.${HARCH}.zip" - curl -s -S -o $APPLIB/ladspa/strip/harrison_channelstrip.so \ + curl -s -S \ + -z $APPLIB/ladspa/strip/harrison_channelstrip.so \ + -o $APPLIB/ladspa/strip/harrison_channelstrip.so \ http://www.harrisonconsoles.com/mixbus/mb3/${HARCH}/harrison_channelstrip.so METERS_VERSION=$(curl -s -S http://gareus.org/x42/linux/x42-meters.latest.txt) @@ -642,7 +650,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}/" < 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}/" < stage2.run.in > stage2.run chmod a+x stage2.run |