2013-12-01 20:59:54 +11:00
|
|
|
# Description: GTK+ based IRC client.
|
|
|
|
# URL: http://hexchat.github.io/
|
2014-11-10 23:25:50 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2017-09-09 16:53:46 +10:00
|
|
|
# Depends on: autoconf-archive gtk iso-codes libnotify pciutils xorg-libxdamage
|
2016-09-25 11:55:02 +10:00
|
|
|
# Optional: enchant libcanberra lua
|
2013-12-01 20:59:54 +11:00
|
|
|
|
|
|
|
name=hexchat
|
2016-12-16 15:32:47 +11:00
|
|
|
version=2.12.4
|
2018-02-08 00:30:06 +11:00
|
|
|
release=3
|
2018-02-01 19:15:43 +11:00
|
|
|
source=(http://dl.hexchat.net/hexchat/$name-$version.tar.xz
|
2018-02-08 00:30:06 +11:00
|
|
|
hexchat-enchant2.0.patch
|
|
|
|
hexchat-enchant2.0_name.patch)
|
2013-12-01 20:59:54 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2018-02-01 19:15:43 +11:00
|
|
|
patch -p1 -i $SRC/hexchat-enchant2.0.patch
|
2018-02-08 00:30:06 +11:00
|
|
|
patch -p1 -i $SRC/hexchat-enchant2.0_name.patch
|
2018-02-01 19:15:43 +11:00
|
|
|
|
2016-09-25 11:55:02 +10:00
|
|
|
local LUA
|
|
|
|
if [ "$(pkginfo -i | grep '^lua ')" ]; then
|
|
|
|
LUA='--enable-lua'
|
|
|
|
else
|
|
|
|
LUA='--disable-lua'
|
|
|
|
fi
|
|
|
|
|
2018-04-06 20:23:16 +10:00
|
|
|
autoreconf -vi
|
|
|
|
|
2013-12-01 20:59:54 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-python=python2 \
|
2016-09-25 11:55:02 +10:00
|
|
|
--enable-textfe $LUA
|
2013-12-01 20:59:54 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
|
|
}
|