2017-05-23 00:36:21 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://pidgin.im/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Text-based multi-protocol instant messaging client"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-05-04 02:12:53 +02:00
|
|
|
TERMUX_PKG_VERSION=2.14.9
|
|
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/pidgin/pidgin-${TERMUX_PKG_VERSION}.tar.bz2
|
|
|
|
TERMUX_PKG_SHA256=1872d1629a26e9b775d9ec0bdd3d3fd348f721376f320b29bcd5ff3f0443222b
|
2021-12-31 04:49:01 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libiconv, libgnt, libgnutls, libsasl, libxml2, ncurses-ui-libs, glib"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="finch-dev"
|
|
|
|
TERMUX_PKG_REPLACES="finch-dev"
|
2017-05-23 00:36:21 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-gtkui
|
|
|
|
--disable-gstreamer
|
|
|
|
--disable-vv
|
|
|
|
--disable-idn
|
|
|
|
--disable-meanwhile
|
|
|
|
--disable-avahi
|
|
|
|
--disable-dbus
|
|
|
|
--disable-perl
|
|
|
|
--disable-tcl
|
|
|
|
--without-zephyr
|
|
|
|
--with-ncurses-headers=$TERMUX_PREFIX/include
|
2021-12-31 04:51:39 +01:00
|
|
|
--without-python3
|
2017-05-23 00:36:21 +02:00
|
|
|
"
|
2016-05-05 11:38:29 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/sounds/purple lib/purple-2/libmsn.so"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2016-09-04 00:45:08 +02:00
|
|
|
# For arpa:
|
|
|
|
CFLAGS+=" -isystem $TERMUX_PKG_BUILDER_DIR"
|
|
|
|
}
|
2016-05-06 00:25:32 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_configure() {
|
2019-02-12 09:23:21 +01:00
|
|
|
# Hack to compile first version of libpurple-ciphers.la
|
|
|
|
cp $TERMUX_PREFIX/lib/libxml2.so $TERMUX_PREFIX/lib/libpurple.so
|
2016-05-10 14:09:55 +02:00
|
|
|
|
2019-02-12 09:23:21 +01:00
|
|
|
cd $TERMUX_PKG_BUILDDIR/libpurple/ciphers
|
|
|
|
make libpurple-ciphers.la
|
|
|
|
cd ..
|
|
|
|
make libpurple.la
|
2016-05-10 14:09:55 +02:00
|
|
|
|
2019-02-12 09:23:21 +01:00
|
|
|
# Put a more proper version in lib:
|
|
|
|
cp .libs/libpurple.so $TERMUX_PREFIX/lib/
|
2016-05-10 14:09:55 +02:00
|
|
|
|
2019-02-12 09:23:21 +01:00
|
|
|
make clean
|
2016-05-10 14:09:55 +02:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_make_install() {
|
2019-02-12 09:23:21 +01:00
|
|
|
cd $TERMUX_PREFIX/lib
|
2019-04-09 14:04:24 +02:00
|
|
|
for lib in jabber oscar; do
|
2019-02-12 09:23:21 +01:00
|
|
|
ln -f -s purple-2/lib${lib}.so .
|
|
|
|
done
|
2016-05-06 00:25:32 +02:00
|
|
|
}
|