Commit | Line | Data |
---|---|---|
51720bdf OS |
1 | TERMUX_PKG_HOMEPAGE=http://profanity.im |
2 | TERMUX_PKG_DESCRIPTION="Profanity is a console based XMPP client written in C using ncurses and libstrophe, inspired by Irssi" | |
f2748b7e | 3 | TERMUX_PKG_VERSION=0.5.0 |
51720bdf OS |
4 | TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli" |
5 | TERMUX_PKG_SRCURL=http://profanity.im/profanity-${TERMUX_PKG_VERSION}.tar.gz | |
f2748b7e OS |
6 | TERMUX_PKG_DEPENDS="ncurses,glib,libstrophe,libcurl,readline,libuuid,libotr,gpgme,python" |
7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-python-plugins" | |
51720bdf OS |
8 | TERMUX_PKG_BUILD_IN_SRC=yes |
9 | ||
10 | termux_step_pre_configure() { | |
f2748b7e OS |
11 | CPPFLAGS+=" -I$TERMUX_PREFIX/include/python3.5m" |
12 | LDFLAGS+=" -lpython3.5m" | |
13 | } | |
14 | ||
15 | termux_step_post_configure() { | |
16 | # Enable python support manually, as trying to go using --enable-python-plugins | |
17 | # causes configure trying to execut python: | |
18 | echo '#define HAVE_PYTHON 1' >> $TERMUX_PKG_SRCDIR/src/config.h | |
19 | perl -p -i -e 's|#am__objects_2|am__objects_2|' $TERMUX_PKG_SRCDIR/Makefile | |
51720bdf | 20 | } |