2016-09-06 00:29:07 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://profanity.im
|
|
|
|
TERMUX_PKG_DESCRIPTION="Profanity is a console based XMPP client written in C using ncurses and libstrophe, inspired by Irssi"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2017-01-30 00:44:09 +01:00
|
|
|
TERMUX_PKG_VERSION=0.5.1
|
2019-02-20 16:48:39 +01:00
|
|
|
TERMUX_PKG_REVISION=3
|
2016-09-06 00:29:07 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
|
|
|
|
TERMUX_PKG_SRCURL=http://profanity.im/profanity-${TERMUX_PKG_VERSION}.tar.gz
|
2017-01-30 00:44:09 +01:00
|
|
|
TERMUX_PKG_SHA256=e3513713e74ec3363fbdbac2919bdc17e249988780cc5a4589d1425807a7feb8
|
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support,ncurses,glib,libmesode,libcurl,readline,libuuid,libotr,gpgme,python"
|
2016-09-17 01:44:12 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-python-plugins"
|
2016-09-06 00:29:07 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2018-10-21 21:16:53 +02:00
|
|
|
CPPFLAGS+=" -I$TERMUX_PREFIX/include/python3.7m"
|
|
|
|
LDFLAGS+=" -lpython3.7m"
|
2016-09-17 01:44:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure() {
|
|
|
|
# Enable python support manually, as trying to go using --enable-python-plugins
|
|
|
|
# causes configure trying to execut python:
|
|
|
|
echo '#define HAVE_PYTHON 1' >> $TERMUX_PKG_SRCDIR/src/config.h
|
|
|
|
perl -p -i -e 's|#am__objects_2|am__objects_2|' $TERMUX_PKG_SRCDIR/Makefile
|
2016-09-06 00:29:07 +02:00
|
|
|
}
|