2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://pidgin.im/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Text-based multi-protocol instant messaging client"
|
2016-09-08 22:18:44 +02:00
|
|
|
TERMUX_PKG_VERSION=2.11.0
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/pidgin/Pidgin/${TERMUX_PKG_VERSION}/pidgin-${TERMUX_PKG_VERSION}.tar.bz2
|
|
|
|
TERMUX_PKG_DEPENDS="libgnutls, libxml2, ncurses-ui-libs, glib"
|
|
|
|
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 --without-python"
|
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
|
|
|
|
2016-09-04 00:45:08 +02:00
|
|
|
termux_step_pre_configure () {
|
|
|
|
# For arpa:
|
|
|
|
CFLAGS+=" -isystem $TERMUX_PKG_BUILDER_DIR"
|
|
|
|
}
|
2016-05-06 00:25:32 +02:00
|
|
|
|
2016-05-10 14:09:55 +02:00
|
|
|
termux_step_post_configure () {
|
|
|
|
# Hack to compile first version of libpurple-ciphers.la
|
|
|
|
cp $TERMUX_PREFIX/lib/libxml2.so $TERMUX_PREFIX/lib/libpurple.so
|
|
|
|
|
|
|
|
cd $TERMUX_PKG_BUILDDIR/libpurple/ciphers
|
|
|
|
make libpurple-ciphers.la
|
|
|
|
cd ..
|
|
|
|
make libpurple.la
|
|
|
|
|
|
|
|
# Put a more proper version in lib:
|
|
|
|
cp .libs/libpurple.so $TERMUX_PREFIX/lib/
|
|
|
|
|
|
|
|
make clean
|
|
|
|
}
|
|
|
|
|
2016-05-06 00:25:32 +02:00
|
|
|
termux_step_post_make_install () {
|
|
|
|
cd $TERMUX_PREFIX/lib
|
|
|
|
for lib in jabber oscar ymsg; do
|
|
|
|
ln -f -s purple-2/lib${lib}.so.0 .
|
|
|
|
done
|
|
|
|
}
|