mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-16 08:10:25 +02:00
first stab at updating script not to make full tarball, which should also make this script less troublesome to use. Not tested yet
This commit is contained in:
parent
c7daafede2
commit
6dbcebbde4
@ -285,22 +285,8 @@ else
|
|||||||
reconf=1
|
reconf=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f "lib-src/libsndfile/Makefile" ]] ; then
|
|
||||||
# has a Makefile - is it newer than .am? (this is an automake package)
|
|
||||||
t2=$(date +%s -r "lib-src/libsndfile/Makefile")
|
|
||||||
t1=$(date +%s -r "lib-src/libsndfile/Makefile.am")
|
|
||||||
if [[ $t1 -gt $t2 ]] ; then
|
|
||||||
# not new enough, reconfigure
|
|
||||||
reconf=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# if no Makefile, need to configure libsndfile to get it built enough for
|
|
||||||
# Mac systems to complete the job
|
|
||||||
reconf=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# these are the arguments we will pass to configure when it is run
|
# these are the arguments we will pass to configure when it is run
|
||||||
configargs="--enable-maintainer-mode --with-libsndfile=local --with-lib-preference=\"local system\""
|
configargs="--enable-maintainer-mode --with-lib-preference=\"system\""
|
||||||
|
|
||||||
if [[ x"$reconf" = x1 ]] ; then
|
if [[ x"$reconf" = x1 ]] ; then
|
||||||
echo "Your Makefiles are out of date or missing. (Re)running configure to"
|
echo "Your Makefiles are out of date or missing. (Re)running configure to"
|
||||||
@ -384,17 +370,7 @@ cleanfulltree $mode;
|
|||||||
# line endings on the fly
|
# line endings on the fly
|
||||||
fixendings $mode;
|
fixendings $mode;
|
||||||
|
|
||||||
# Tar up that lot as the full source tarball
|
# now we have the full source tree, lets slim it down to the bits that
|
||||||
cd "${topdir}"
|
|
||||||
printf "Creating full source tarball .... "
|
|
||||||
tar cf "audacity-fullsrc-${version}.tar" "${tarname}"
|
|
||||||
printf "Done\n"
|
|
||||||
|
|
||||||
printf "Compressing full source tarball in the background .... "
|
|
||||||
xz "audacity-fullsrc-${version}.tar" &
|
|
||||||
cd "${tardir}"
|
|
||||||
|
|
||||||
# now we have the full source tarball, lets slim it down to the bits that
|
|
||||||
# you actually need to build audacity on a shared library system with the
|
# you actually need to build audacity on a shared library system with the
|
||||||
# relevant libraries installed on the system (e.g. Linux distros)
|
# relevant libraries installed on the system (e.g. Linux distros)
|
||||||
slimtree $mode;
|
slimtree $mode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user