hexchat: update to 2.10.2.

This commit is contained in:
Juan RP 2014-12-06 10:33:54 +01:00
parent b9c165650a
commit c46227bca8

View file

@ -1,31 +1,22 @@
# Template file for 'hexchat'
pkgname=hexchat
version=2.10.1
revision=3
version=2.10.2
revision=1
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config gdk-pixbuf-devel intltool"
hostmakedepends="pkg-config intltool glib-devel gdk-pixbuf-devel"
makedepends="gtk+-devel libressl-devel dbus-glib-devel perl python-devel
libnotify-devel libcanberra-devel libxml2-devel pciutils-devel iso-codes"
depends="desktop-file-utils enchant"
configure_args=" --enable-openssl --enable-dbus --disable-textfe --enable-ipv6"
libnotify-devel libcanberra-devel libxml2-devel pciutils-devel libproxy-devel"
depends="desktop-file-utils enchant iso-codes"
configure_args=" --enable-openssl --enable-dbus --disable-textfe --enable-ipv6
--enable-perl --enable-python"
short_desc="A GTK+ based IRC client successor of Xchat"
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="http://hexchat.github.io/"
license="GPL"
distfiles="http://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
checksum=ffccee6a3470d2f9539e75bd0dd2e3f35c65737004cb02e6d2106c1d5dcde9a9
checksum=87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c
pre_configure() {
local perlflags=
# Fix perl library path
if [ "$CROSS_BUILD" ];then
perlflags=`perl -MExtUtils::Embed -e ldopts | sed \
-e 's/-lgdbm //' \
-e "s#/usr/lib#${XBPS_CROSS_BASE}\0#"`
sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure
fi
}
post_install() {
# Remove useless files.
rm -rf ${DESTDIR}/usr/include