diff --git a/packages/toxic/build.sh b/packages/toxic/build.sh index db4a280c349660..356bc6946916c1 100644 --- a/packages/toxic/build.sh +++ b/packages/toxic/build.sh @@ -3,10 +3,12 @@ TERMUX_PKG_DESCRIPTION="A command line client for Tox" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="0.15.1" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/JFreegman/toxic/archive/v${TERMUX_PKG_VERSION}/toxic-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=56cedc37b22a1411c68fd8b395f40f515d6a4779be02540c5cd495665caa127c TERMUX_PKG_AUTO_UPDATE=true -TERMUX_PKG_DEPENDS="c-toxcore, libconfig, libcurl, libqrencode, ncurses, zlib" +# audio and video sending in calls does not work. audio and video receiving in calls does work. +TERMUX_PKG_DEPENDS="c-toxcore, libconfig, libx11, libvpx, openal-soft, libcurl, libqrencode, ncurses, zlib" TERMUX_PKG_BUILD_IN_SRC=true termux_step_make() { diff --git a/packages/toxic/cfg-checks-audio.mk.patch b/packages/toxic/cfg-checks-audio.mk.patch deleted file mode 100644 index afce119e4ad248..00000000000000 --- a/packages/toxic/cfg-checks-audio.mk.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr toxic-0.9.0/cfg/checks/audio.mk toxic-0.9.0.mod/cfg/checks/audio.mk ---- toxic-0.9.0/cfg/checks/audio.mk 2020-11-14 21:30:56.000000000 +0200 -+++ toxic-0.9.0.mod/cfg/checks/audio.mk 2020-11-22 22:29:53.688081812 +0200 -@@ -8,7 +8,7 @@ - endif - - # Check if we can build audio support --CHECK_AUDIO_LIBS := $(shell $(PKG_CONFIG) --exists $(AUDIO_LIBS) || echo -n "error") -+CHECK_AUDIO_LIBS := $(shell echo -n "error") - ifneq ($(CHECK_AUDIO_LIBS), error) - LIBS += $(AUDIO_LIBS) - LDFLAGS += -lm