2018-10-09 22:46:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://hexchat.github.io/
|
|
|
|
TERMUX_PKG_DESCRIPTION="A popular and easy to use graphical IRC (chat) client"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2019-05-17 00:18:48 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2018-10-09 22:46:26 +02:00
|
|
|
TERMUX_PKG_VERSION=2.14.2
|
2019-05-25 16:12:18 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2018-10-09 22:46:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/hexchat/hexchat/archive/v2.14.2.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=4f2c2137020913513ea559f788c41039ca6230764d8158862d5d1ee8785592d9
|
|
|
|
TERMUX_PKG_DEPENDS="gdk-pixbuf, glib, gtk2, liblua, libnotify, libx11, openssl, pango-x, python"
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-Dwith-libproxy=false
|
|
|
|
-Dwith-libcanberra=false
|
|
|
|
-Dwith-dbus=false
|
|
|
|
-Dwith-lua=lua
|
|
|
|
-Dwith-text=true
|
|
|
|
-Dwith-perl=false
|
|
|
|
-Dwith-sysinfo=false
|
|
|
|
"
|
|
|
|
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/locale"
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
2019-01-21 17:50:21 +01:00
|
|
|
## TODO: patch it to force link with libandroid-shmem instead of
|
|
|
|
## using wrapper.
|
|
|
|
mkdir -p "${TERMUX_PREFIX}/libexec/"
|
|
|
|
mv "${TERMUX_PREFIX}/bin/hexchat" "${TERMUX_PREFIX}/libexec/"
|
|
|
|
sed "s|@TERMUX_PREFIX@|${TERMUX_PREFIX}|g" \
|
|
|
|
"${TERMUX_PKG_BUILDER_DIR}/hexchat.in" > "${TERMUX_PREFIX}/bin/hexchat"
|
|
|
|
chmod 700 "${TERMUX_PREFIX}/bin/hexchat"
|
2018-10-09 22:46:26 +02:00
|
|
|
}
|