pulseaudio: use new termux_git_clone_src function
This commit is contained in:
parent
0f5cf18c69
commit
7e662c4d6f
@ -1,6 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://www.freedesktop.org/wiki/Software/PulseAudio
|
||||
TERMUX_PKG_DESCRIPTION="A featureful, general-purpose sound server"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_SRCURL=https://github.com/pulseaudio/pulseaudio.git
|
||||
TERMUX_PKG_VERSION=13.0
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_DEPENDS="libltdl, libsndfile, libandroid-glob, libsoxr, speexdsp"
|
||||
@ -21,27 +22,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-neon-opt
|
||||
ax_cv_PTHREAD_PRIO_INHERIT=no"
|
||||
TERMUX_PKG_CONFFILES="etc/pulse/client.conf etc/pulse/daemon.conf etc/pulse/default.pa etc/pulse/system.pa"
|
||||
|
||||
termux_step_extract_package() {
|
||||
local CHECKED_OUT_FOLDER=$TERMUX_PKG_CACHEDIR/checkout-$TERMUX_PKG_VERSION
|
||||
if [ ! -d $CHECKED_OUT_FOLDER ]; then
|
||||
local TMP_CHECKOUT=$TERMUX_PKG_TMPDIR/tmp-checkout
|
||||
rm -Rf $TMP_CHECKOUT
|
||||
mkdir -p $TMP_CHECKOUT
|
||||
|
||||
git clone --depth 1 \
|
||||
--branch v$TERMUX_PKG_VERSION \
|
||||
https://github.com/pulseaudio/pulseaudio.git \
|
||||
$TMP_CHECKOUT
|
||||
cd $TMP_CHECKOUT
|
||||
git submodule update --init # --depth 1
|
||||
mv $TMP_CHECKOUT $CHECKED_OUT_FOLDER
|
||||
fi
|
||||
|
||||
mkdir $TERMUX_PKG_SRCDIR
|
||||
cd $TERMUX_PKG_SRCDIR
|
||||
cp -Rf $CHECKED_OUT_FOLDER/* .
|
||||
cp -Rf $CHECKED_OUT_FOLDER/.git .
|
||||
|
||||
termux_step_post_get_source() {
|
||||
NOCONFIGURE=1 ./bootstrap.sh
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user