2020-02-25 12:59:57 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://profanity-im.github.io
|
2016-09-06 00:29:07 +02:00
|
|
|
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"
|
2016-09-06 00:29:07 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
|
2022-03-31 12:06:04 +02:00
|
|
|
TERMUX_PKG_VERSION=0.12.0
|
2019-07-31 23:09:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/profanity-im/profanity/releases/download/$TERMUX_PKG_VERSION/profanity-$TERMUX_PKG_VERSION.tar.gz
|
2022-03-31 12:06:04 +02:00
|
|
|
TERMUX_PKG_SHA256=9e60de8cb7f747f3d433a5b091e4d439d6e2b71a958e1a7607681660638793d6
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2022-04-01 16:20:00 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support, libffi, ncurses, glib, libmesode, libcurl, readline, libuuid, libotr, gpgme, python, libassuan, libgpg-error, zlib, libsignal-protocol-c, libstrophe"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="profanity-dev"
|
|
|
|
TERMUX_PKG_REPLACES="profanity-dev"
|
2022-04-01 16:20:00 +02:00
|
|
|
# openssl, libexpat needed by libmesode, pcre needed by glib:
|
|
|
|
TERMUX_PKG_BUILD_DEPENDS="openssl, libexpat, pcre, libgcrypt, libcrypt"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-python-plugins --without-xscreensaver"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2016-09-06 00:29:07 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2022-04-01 16:20:00 +02:00
|
|
|
CPPFLAGS+=" -I$TERMUX_PREFIX/include/python3.10"
|
|
|
|
LDFLAGS+=" -lpython3.10"
|
|
|
|
}
|
2016-09-17 01:44:12 +02:00
|
|
|
|
2022-04-01 16:20:00 +02:00
|
|
|
termux_step_post_configure() {
|
|
|
|
# Enable python support manually, as trying to go using --enable-python-plugins
|
|
|
|
# causes configure trying to execute 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
|
|
|
}
|