sox: avoid silly work for play and rec
This commit is contained in:
parent
e87d81b81d
commit
805d524b80
@ -10,7 +10,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||||||
--with-pulseaudio=dyn
|
--with-pulseaudio=dyn
|
||||||
--without-sndfile
|
--without-sndfile
|
||||||
"
|
"
|
||||||
TERMUX_PKG_RM_AFTER_INSTALL="bin/play bin/rec share/man/man1/play.1 share/man/man1/rec.1"
|
|
||||||
# Depend on file for libmagic.so linking:
|
# Depend on file for libmagic.so linking:
|
||||||
TERMUX_PKG_DEPENDS="libltdl, file, libpng, libmp3lame, libogg, libvorbis, libandroid-glob, libflac, libid3tag, libmad, pulseaudio"
|
TERMUX_PKG_DEPENDS="libltdl, file, libpng, libmp3lame, libogg, libvorbis, libandroid-glob, libflac, libid3tag, libmad, pulseaudio"
|
||||||
|
|
||||||
@ -18,10 +17,3 @@ termux_step_pre_configure() {
|
|||||||
LDFLAGS+=" -landroid-glob"
|
LDFLAGS+=" -landroid-glob"
|
||||||
CPPFLAGS+=" -D_FSTDIO"
|
CPPFLAGS+=" -D_FSTDIO"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
termux_step_post_massage() {
|
|
||||||
cd "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/bin"
|
|
||||||
ln -sf sox play
|
|
||||||
ln -sf sox rec
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user