fix(x11/spek): Change libandroid-stub to suggests
Because it may damage the compilation environment of some packages. Co-Authored-By: Chongyun Lee <45286352+licy183@users.noreply.github.com>
This commit is contained in:
parent
3e1adf6288
commit
456b705ba1
|
@ -3,10 +3,11 @@ TERMUX_PKG_DESCRIPTION="An acoustic spectrum analyser"
|
|||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.8.5
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=https://github.com/alexkay/spek/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=9053d2dec452dcde421daa0f5f59a9dee47927540f41d9c0c66800cb6dbf6996
|
||||
TERMUX_PKG_DEPENDS="ffmpeg, libc++, wxwidgets, libandroid-stub"
|
||||
TERMUX_PKG_DEPENDS="ffmpeg, libc++, wxwidgets"
|
||||
TERMUX_PKG_SUGGESTS="libandroid-stub"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_path_WX_CONFIG_PATH=$TERMUX_PREFIX/bin/wx-config"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
|
@ -14,3 +15,11 @@ termux_step_pre_configure() {
|
|||
cp $TERMUX_PREFIX/share/aclocal/wxwin.m4 m4/
|
||||
NOCONFIGURE=1 sh autogen.sh
|
||||
}
|
||||
|
||||
termux_step_create_subpkg_debscripts() {
|
||||
cat <<- EOF > ./postinst
|
||||
#!$TERMUX_PREFIX/bin/sh
|
||||
echo "Note: If you encounter Segmentation Fault, execute the following command:"
|
||||
echo "pkg install libandroid-stub"
|
||||
EOF
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue