mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
456b705ba1
Because it may damage the compilation environment of some packages. Co-Authored-By: Chongyun Lee <45286352+licy183@users.noreply.github.com>
26 lines
893 B
Bash
26 lines
893 B
Bash
TERMUX_PKG_HOMEPAGE=http://spek.cc/
|
|
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=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"
|
|
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() {
|
|
mkdir -p m4
|
|
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
|
|
}
|