mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
packaging scripts: use rsync for video-tools
This commit is contained in:
parent
12584b7a7a
commit
377a016d59
2 changed files with 44 additions and 15 deletions
|
|
@ -14,6 +14,11 @@ ARDOURSTACK_ROOT=$HOME/a3/inst
|
|||
# the waf build tree to use when copying built/generated files
|
||||
BUILD_ROOT=../../build
|
||||
|
||||
# where harvid and xjadeo binaries are cached
|
||||
if test -z "$CACHEDIR" -o ! -d "$CACHEDIR"; then
|
||||
CACHEDIR=`pwd`
|
||||
fi
|
||||
|
||||
MIXBUS=
|
||||
WITH_LADSPA=0
|
||||
WITH_HARVID=
|
||||
|
|
@ -24,6 +29,7 @@ EXTERNAL_JACK=
|
|||
VENDOR=Ardour ;
|
||||
BUILDTYPE=""
|
||||
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
echo ""
|
||||
echo "ERROR - Please specify build type"
|
||||
|
|
@ -529,12 +535,24 @@ done
|
|||
|
||||
if test x$WITH_HARVID != x ; then
|
||||
cd $APPBIN
|
||||
HARVID_VERSION=$(curl http://ardour.org/files/video-tools/harvid_version.txt)
|
||||
curl -L http://ardour.org/files/video-tools/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz \
|
||||
| tar -x -z --exclude=README --exclude=harvid.1 --strip-components=1 || exit 1
|
||||
XJADEO_VERSION=$(curl http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
curl -L http://ardour.org/files/video-tools/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz \
|
||||
| tar -x -z --exclude=README --exclude=xjadeo.1 --strip-components=1 || exit 1
|
||||
HARVID_VERSION=$(curl -s -S http://ardour.org/files/video-tools/harvid_version.txt)
|
||||
XJADEO_VERSION=$(curl -s -S http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz \
|
||||
"$CACHEDIR/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz"
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz \
|
||||
"$CACHEDIR/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz"
|
||||
|
||||
tar -x -z \
|
||||
--exclude=README --exclude=harvid.1 --strip-components=1 \
|
||||
-f "$CACHEDIR/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz" || exit 1
|
||||
|
||||
tar -x -z \
|
||||
--exclude=README --exclude=xjadeo.1 --strip-components=1 \
|
||||
-f "$CACHEDIR/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz" || exit 1
|
||||
mv xjadeo xjremote
|
||||
cd -
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue