summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/xchat/ChangeLog9
-rw-r--r--net-irc/xchat/Manifest12
-rw-r--r--net-irc/xchat/files/digest-xchat-1.8.11-r11
-rw-r--r--net-irc/xchat/files/digest-xchat-2.0.1-r11
-rw-r--r--net-irc/xchat/files/digest-xchat-2.0.6-r21
-rw-r--r--net-irc/xchat/files/digest-xchat-2.0.7-r11
-rw-r--r--net-irc/xchat/files/digest-xchat-2.0.8-r11
-rw-r--r--net-irc/xchat/xchat-1.8.11-r1.ebuild99
-rw-r--r--net-irc/xchat/xchat-2.0.1-r1.ebuild74
-rw-r--r--net-irc/xchat/xchat-2.0.6-r2.ebuild94
-rw-r--r--net-irc/xchat/xchat-2.0.7-r1.ebuild82
-rw-r--r--net-irc/xchat/xchat-2.0.8-r1.ebuild82
12 files changed, 455 insertions, 2 deletions
diff --git a/net-irc/xchat/ChangeLog b/net-irc/xchat/ChangeLog
index 4121abe242b0..c6b1b0d6c885 100644
--- a/net-irc/xchat/ChangeLog
+++ b/net-irc/xchat/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-irc/xchat
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.88 2004/04/05 15:04:17 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.89 2004/04/11 12:50:07 zul Exp $
+
+*xchat-2.0.8-r1 (11 Apr 2004)
+
+ 11 Apr 2004; Chuck Short <zul@gentoo.org> xchat-1.8.11-r1.ebuild,
+ xchat-2.0.1-r1.ebuild, xchat-2.0.6-r2.ebuild, xchat-2.0.7-r1.ebuild,
+ xchat-2.0.8-r1.ebuild:
+ Proper security bump.
05 Apr 2004; Guy Martin <gmsoft@gentoo.org> xchat-2.0.7.ebuild:
Marked stable on hppa.
diff --git a/net-irc/xchat/Manifest b/net-irc/xchat/Manifest
index 00a05b69681e..55b6a120298f 100644
--- a/net-irc/xchat/Manifest
+++ b/net-irc/xchat/Manifest
@@ -2,14 +2,24 @@ MD5 62d22a57c7fc83c90cdeaa4d96e5fcab xchat-2.0.1.ebuild 2023
MD5 6052d88e6598a25b1c9b1adf6edd23d5 xchat-2.0.6-r1.ebuild 2469
MD5 08703edc29fac00a3f855a66ffc10ce1 xchat-2.0.8.ebuild 2083
MD5 581a2aef2ec292c5245fc7b2ec485684 xchat-1.8.11.ebuild 2299
+MD5 1ecc17cb0af6f52691df04763d4e0547 xchat-2.0.1-r1.ebuild 2025
+MD5 bc3547d229a51313afca015e6a7f4b2e xchat-1.8.11-r1.ebuild 2301
+MD5 ba8693ac61017b97495f0392bb5f8de5 xchat-2.0.8-r1.ebuild 2086
MD5 cf27401e857eb5f5d60b5bfb27a0e162 xchat-2.0.7.ebuild 2078
-MD5 c088b316783e0977f53e26502b072d60 ChangeLog 12428
+MD5 02b8e03a0b9946fecf9d546be3c3a839 xchat-2.0.6-r2.ebuild 2469
+MD5 02f31c1b41b182252f975dbfb1a8557b xchat-2.0.7-r1.ebuild 2081
+MD5 1f1b99dd41e2dee1cba3ac0b01ba0e3b ChangeLog 12648
MD5 fb5772136a872c08434566d4f0bcdc7f metadata.xml 179
MD5 1ee812a2b3e28e3866413e75a80ff983 files/digest-xchat-2.0.1 64
MD5 15dadb9b77f7536f6c7769689fc883c9 files/digest-xchat-2.0.7 64
MD5 aac7b6be8968c5e6e1bdf580546a18fd files/digest-xchat-2.0.8 64
MD5 a8f607d224408d4a27777d2ffce8beac files/xc1811fixststint.diff 422
MD5 31de685eff3d16d9466416434c9fd6c3 files/xc208-fixsocks5.diff 688
+MD5 e2b99b2d2dfc54ba96e560c0ed8392df files/digest-xchat-1.8.11-r1 65
MD5 e2b99b2d2dfc54ba96e560c0ed8392df files/digest-xchat-1.8.11 65
+MD5 1ee812a2b3e28e3866413e75a80ff983 files/digest-xchat-2.0.1-r1 64
MD5 1c19b8dfe0dfe3574cb74726f3f04466 files/digest-xchat-2.0.6-r1 64
+MD5 1c19b8dfe0dfe3574cb74726f3f04466 files/digest-xchat-2.0.6-r2 64
+MD5 15dadb9b77f7536f6c7769689fc883c9 files/digest-xchat-2.0.7-r1 64
+MD5 aac7b6be8968c5e6e1bdf580546a18fd files/digest-xchat-2.0.8-r1 64
MD5 a834756e7ca9b9d6146f1fd60a2cad5d files/xchat-2.0.6-fix_dccsend.patch 430
diff --git a/net-irc/xchat/files/digest-xchat-1.8.11-r1 b/net-irc/xchat/files/digest-xchat-1.8.11-r1
new file mode 100644
index 000000000000..feaf933fc312
--- /dev/null
+++ b/net-irc/xchat/files/digest-xchat-1.8.11-r1
@@ -0,0 +1 @@
+MD5 951f5b2fe2d5deef08f7f519414072a1 xchat-1.8.11.tar.bz2 850453
diff --git a/net-irc/xchat/files/digest-xchat-2.0.1-r1 b/net-irc/xchat/files/digest-xchat-2.0.1-r1
new file mode 100644
index 000000000000..d14b83cc0a32
--- /dev/null
+++ b/net-irc/xchat/files/digest-xchat-2.0.1-r1
@@ -0,0 +1 @@
+MD5 d0fcc1137e704c2fe9417799e3e6e49c xchat-2.0.1.tar.bz2 718064
diff --git a/net-irc/xchat/files/digest-xchat-2.0.6-r2 b/net-irc/xchat/files/digest-xchat-2.0.6-r2
new file mode 100644
index 000000000000..89a4b9ec84bc
--- /dev/null
+++ b/net-irc/xchat/files/digest-xchat-2.0.6-r2
@@ -0,0 +1 @@
+MD5 5cc5e603083242fb598bc940b1a4fccc xchat-2.0.6.tar.bz2 942837
diff --git a/net-irc/xchat/files/digest-xchat-2.0.7-r1 b/net-irc/xchat/files/digest-xchat-2.0.7-r1
new file mode 100644
index 000000000000..38512effdb89
--- /dev/null
+++ b/net-irc/xchat/files/digest-xchat-2.0.7-r1
@@ -0,0 +1 @@
+MD5 f53bae43f4e89c6a8d873877d86df1b5 xchat-2.0.7.tar.bz2 943633
diff --git a/net-irc/xchat/files/digest-xchat-2.0.8-r1 b/net-irc/xchat/files/digest-xchat-2.0.8-r1
new file mode 100644
index 000000000000..5873ee762edd
--- /dev/null
+++ b/net-irc/xchat/files/digest-xchat-2.0.8-r1
@@ -0,0 +1 @@
+MD5 64cd419e7bb14e36e658b09726d3411f xchat-2.0.8.tar.bz2 997439
diff --git a/net-irc/xchat/xchat-1.8.11-r1.ebuild b/net-irc/xchat/xchat-1.8.11-r1.ebuild
new file mode 100644
index 000000000000..efd438abb1c4
--- /dev/null
+++ b/net-irc/xchat/xchat-1.8.11-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.8.11-r1.ebuild,v 1.1 2004/04/11 12:50:07 zul Exp $
+
+inherit eutils
+
+IUSE="ssl nls mmx gnome ipv6 python kde gtk perl"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="X-Chat is a graphical IRC client for UNIX operating systems."
+SRC_URI="http://www.xchat.org/files/source/1.8/${P}.tar.bz2"
+HOMEPAGE="http://www.xchat.org/"
+
+SLOT="1"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc ~sparc alpha"
+
+RDEPEND="gtk? ( =x11-libs/gtk+-1.2* )
+ python? ( >=dev-lang/python-2.2-r7 )
+ perl? ( >=dev-lang/perl-5.6.1 )
+ gnome? ( <gnome-base/gnome-panel-1.5.0
+ >=media-libs/gdk-pixbuf-0.22.0 )
+ ssl? ( >=dev-libs/openssl-0.9.6a )"
+
+DEPEND="${RDEPEND}
+ nls? ( >=sys-devel/gettext-0.10.38 )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/xc1811fixststint.diff
+
+ # Fix for sock5 vulnerability - see #46856
+ epatch ${FILESDIR}/xc208-fixsocks5.diff
+
+ use python && ( \
+ cp configure configure.orig
+ local mylibs=`/usr/bin/python-config`
+ sed -e 's:PY_LIBS=".*":PY_LIBS="'"$mylibs"'":' \
+ configure.orig > configure
+ )
+}
+
+src_compile() {
+
+ local myopts myflags
+
+ if [ ! `use perl` ]; then
+ use gnome \
+ && myopts="${myopts} --enable-gnome --enable-panel" \
+ CFLAGS="${CFLAGS} -I/usr/include/orbit-1.0" \
+ || myopts="${myopts} --enable-gtkfe --disable-gnome --disable-zvt --disable-gdk-pixbuf"
+ else
+ myopts="${myopts} --disable-gnome"
+ fi
+
+ use gtk \
+ || myopts="${myopts} --disable-gtkfe"
+
+ use ssl \
+ && myopts="${myopts} --enable-openssl"
+
+ use perl \
+ || myopts="${myopts} --disable-perl"
+
+ use nls \
+ && myopts="${myopts} --enable-nls --enable-hebrew --enable-japanese-conv" \
+ || myopts="${myopts} --disable-nls --disable-hebrew --disable-japanese-conv"
+
+ if use x86
+ then
+ use mmx \
+ && myopts="${myopts} --enable-mmx" \
+ || myopts="${myopts} --disable-mmx"
+ fi
+
+ use ipv6 \
+ && myopts="${myopts} --enable-ipv6"
+
+ use python \
+ && myflags="`python-config`" \
+ && myopts="${myopts} --enable-python"
+
+
+ econf ${myopts} || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ use gnome && ( \
+ insinto /usr/share/gnome/apps/Internet
+ doins xchat.desktop
+ )
+
+ dodoc AUTHORS COPYING ChangeLog README
+}
diff --git a/net-irc/xchat/xchat-2.0.1-r1.ebuild b/net-irc/xchat/xchat-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..fb6e0bfcf2fd
--- /dev/null
+++ b/net-irc/xchat/xchat-2.0.1-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.0.1-r1.ebuild,v 1.1 2004/04/11 12:50:07 zul Exp $
+
+IUSE="perl tcltk python ssl gtk mmx ipv6"
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="X-Chat is a graphical IRC client for UNIX operating systems."
+SRC_URI="http://www.xchat.org/files/source/2.0/${P}.tar.bz2"
+HOMEPAGE="http://www.xchat.org/"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="x86 ppc ~sparc ~alpha"
+
+RDEPEND=">=dev-libs/glib-2.0.3
+ >=x11-libs/gtk+-2.0.3
+ perl? ( >=dev-lang/perl-5.6.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6d )
+ python? ( dev-lang/python )
+ tcltk? ( dev-lang/tcl )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( >=sys-devel/gettext-0.10.38 )"
+
+src_compile() {
+ local myopts
+
+ use gtk \
+ && myopts="${myopts} --enable-gtkfe" \
+ || myopts="${myopts} --disable-gtkfe"
+ use ssl \
+ && myopts="${myopts} --enable-openssl" \
+ || myopts="${myopts} --disable-openssl"
+ use perl \
+ && myopts="${myopts} --enable-perl" \
+ || myopts="${myopts} --disable-perl"
+ use python \
+ && myopts="${myopts} --enable-python" \
+ || myopts="${myopts} --disable-python"
+ use tcltk \
+ && myopts="${myopts} --enable-tcl" \
+ || myopts="${myopts} --disable-tcl"
+ use mmx \
+ && myopts="${myopts} --enable-mmx" \
+ || myopts="${myopts} --disable-mmx"
+ use ipv6 \
+ && myopts="${myopts} --enable-ipv6" \
+ || myopts="${myopts} --disable-ipv6"
+
+ # Fix for sock5 vulnerabilty - #46856
+ epatch ${FILESDIR}/xc208-fixsocks5.diff
+
+ econf \
+ --program-suffix=-2 \
+ ${myopts} || die "Configure failed"
+
+ MAKEOPTS="-j1" emake || die "Compile failed"
+}
+
+src_install() {
+ # some magic to create a menu entry for xchat 2
+ mv xchat.desktop xchat.desktop.old
+ sed -e "s:Exec=xchat:Exec=xchat-2:" -e "s:Name=XChat IRC:Name=XChat 2 IRC:" xchat.desktop.old > xchat.desktop
+
+ einstall install || die "Install failed"
+
+ ! has_version "<xchat-2" \
+ && dosym /usr/bin/xchat-2 /usr/bin/xchat
+
+ dodoc AUTHORS COPYING ChangeLog README*
+}
diff --git a/net-irc/xchat/xchat-2.0.6-r2.ebuild b/net-irc/xchat/xchat-2.0.6-r2.ebuild
new file mode 100644
index 000000000000..b3a532460edd
--- /dev/null
+++ b/net-irc/xchat/xchat-2.0.6-r2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.0.6-r2.ebuild,v 1.1 2004/04/11 12:50:07 zul Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Graphical IRC client"
+SRC_URI="http://www.xchat.org/files/source/2.0/${P}.tar.bz2"
+HOMEPAGE="http://www.xchat.org/"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="x86 ~ppc sparc ~alpha hppa amd64"
+IUSE="perl tcltk python ssl mmx ipv6 nls"
+# Local use flag for the text frontend (bug #26427)
+IUSE="${IUSE} xchattext xchatnogtk"
+
+# Added for to fix a sparc seg fault issue by Jason Wever <weeve@gentoo.org>
+if [ ${ARCH} = "sparc" ]
+then
+ replace-flags "-O3" "-O2"
+fi
+
+
+RDEPEND=">=dev-libs/glib-2.0.3
+ !xchatnogtk? ( >=x11-libs/gtk+-2.0.3 )
+ perl? ( >=dev-lang/perl-5.6.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6d )
+ python? ( dev-lang/python )
+ tcltk? ( dev-lang/tcl )
+ nls? ( sys-devel/gettext )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.7"
+
+src_compile() {
+
+ # xchat's configure script uses sys.path to find library path
+ # instead of python-config (#25943)
+ unset PYTHONPATH
+
+ # test for local usage of xchatnogtk
+ local gtkconf
+ use xchatnogtk \
+ && gtkconf="--disable-gtkfe" \
+ || gtkconf="--enable-gtkfe"
+
+ # Fix for sock5 vulnerability - see 46856
+ epatch ${FILESDIR}/xc208-fixsocks5.diff
+
+ econf \
+ ${gtkconf} \
+ `use_enable ssl openssl` \
+ `use_enable perl` \
+ `use_enable python` \
+ `use_enable tcltk tcl` \
+ `use_enable mmx` \
+ `use_enable ipv6` \
+ `use_enable nls` \
+ `use_enable xchattext textfe` \
+ --program-suffix=-2 \
+ || die "Configure failed"
+
+ MAKEOPTS="-j1" emake || die "Compile failed"
+
+}
+
+src_install() {
+
+ # some magic to create a menu entry for xchat 2
+ mv xchat.desktop xchat.desktop.old
+ sed -e "s:Exec=xchat:Exec=xchat-2:" -e "s:Name=XChat IRC:Name=XChat 2 IRC:" xchat.desktop.old > xchat.desktop
+
+ einstall install || die "Install failed"
+
+ # install plugin development header
+ insinto /usr/include/xchat
+ doins src/common/xchat-plugin.h
+
+ dodoc AUTHORS COPYING ChangeLog README*
+
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # (Dec 12 2003 solar@gentoo) Bug #35623
+ # fix malformed dcc send bug.
+ # discovered by lloydbates Martin Wienold of University of Dortmund - Germany in #gentoo/#gentoo.de
+ # orig patch credits go to jcdutton
+ # secondary patch credits go to rac@gentoo which process the malformed dcc requests accordingly.
+ epatch ${FILESDIR}/${PN}-2.0.6-fix_dccsend.patch
+}
diff --git a/net-irc/xchat/xchat-2.0.7-r1.ebuild b/net-irc/xchat/xchat-2.0.7-r1.ebuild
new file mode 100644
index 000000000000..efbc9e5c0ab7
--- /dev/null
+++ b/net-irc/xchat/xchat-2.0.7-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.0.7-r1.ebuild,v 1.1 2004/04/11 12:50:07 zul Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Graphical IRC client"
+SRC_URI="http://www.xchat.org/files/source/2.0/${P}.tar.bz2"
+HOMEPAGE="http://www.xchat.org/"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="x86 sparc hppa ~ppc alpha ~amd64 ia64 ~mips"
+IUSE="perl tcltk python ssl mmx ipv6 nls"
+# Local use flag for the text frontend (bug #26427)
+IUSE="${IUSE} xchattext xchatnogtk"
+
+# Added for to fix a sparc seg fault issue by Jason Wever <weeve@gentoo.org>
+if [ ${ARCH} = "sparc" ]
+then
+ replace-flags "-O3" "-O2"
+fi
+
+
+RDEPEND=">=dev-libs/glib-2.0.3
+ !xchatnogtk? ( >=x11-libs/gtk+-2.0.3 )
+ perl? ( >=dev-lang/perl-5.6.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6d )
+ python? ( dev-lang/python )
+ tcltk? ( dev-lang/tcl )
+ nls? ( sys-devel/gettext )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.7"
+
+src_compile() {
+
+ # xchat's configure script uses sys.path to find library path
+ # instead of python-config (#25943)
+ unset PYTHONPATH
+
+ # test for local usage of xchatnogtk
+ local gtkconf
+ use xchatnogtk \
+ && gtkconf="--disable-gtkfe" \
+ || gtkconf="--enable-gtkfe"
+
+ # Fix for sock5 vulnerability - see #46856
+ epatch ${FILESDIR}/xc208-fixsocks5.diff
+
+ econf \
+ ${gtkconf} \
+ `use_enable ssl openssl` \
+ `use_enable perl` \
+ `use_enable python` \
+ `use_enable tcltk tcl` \
+ `use_enable mmx` \
+ `use_enable ipv6` \
+ `use_enable nls` \
+ `use_enable xchattext textfe` \
+ --program-suffix=-2 \
+ || die "Configure failed"
+
+ MAKEOPTS="-j1" emake || die "Compile failed"
+
+}
+
+src_install() {
+
+ # some magic to create a menu entry for xchat 2
+ mv xchat.desktop xchat.desktop.old
+ sed -e "s:Exec=xchat:Exec=xchat-2:" -e "s:Name=XChat IRC:Name=XChat 2 IRC:" xchat.desktop.old > xchat.desktop
+
+ einstall install || die "Install failed"
+
+ # install plugin development header
+ insinto /usr/include/xchat
+ doins src/common/xchat-plugin.h
+
+ dodoc AUTHORS COPYING ChangeLog README*
+
+}
diff --git a/net-irc/xchat/xchat-2.0.8-r1.ebuild b/net-irc/xchat/xchat-2.0.8-r1.ebuild
new file mode 100644
index 000000000000..19d5fb7426ae
--- /dev/null
+++ b/net-irc/xchat/xchat-2.0.8-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.0.8-r1.ebuild,v 1.1 2004/04/11 12:50:07 zul Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Graphical IRC client"
+SRC_URI="http://www.xchat.org/files/source/2.0/${P}.tar.bz2"
+HOMEPAGE="http://www.xchat.org/"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~x86 ~sparc ~hppa ~ppc ~alpha ~amd64 ~ia64 ~mips"
+IUSE="perl tcltk python ssl mmx ipv6 nls"
+# Local use flag for the text frontend (bug #26427)
+IUSE="${IUSE} xchattext xchatnogtk"
+
+# Added for to fix a sparc seg fault issue by Jason Wever <weeve@gentoo.org>
+if [ ${ARCH} = "sparc" ]
+then
+ replace-flags "-O3" "-O2"
+fi
+
+
+RDEPEND=">=dev-libs/glib-2.0.3
+ !xchatnogtk? ( >=x11-libs/gtk+-2.0.3 )
+ perl? ( >=dev-lang/perl-5.6.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6d )
+ python? ( dev-lang/python )
+ tcltk? ( dev-lang/tcl )
+ nls? ( sys-devel/gettext )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.7"
+
+src_compile() {
+
+ # xchat's configure script uses sys.path to find library path
+ # instead of python-config (#25943)
+ unset PYTHONPATH
+
+ # test for local usage of xchatnogtk
+ local gtkconf
+ use xchatnogtk \
+ && gtkconf="--disable-gtkfe" \
+ || gtkconf="--enable-gtkfe"
+
+ # fix for sock5 vulnerability - see #46856
+ epatch ${FILESDIR}/xc208-fixsocks5.diff
+
+ econf \
+ ${gtkconf} \
+ `use_enable ssl openssl` \
+ `use_enable perl` \
+ `use_enable python` \
+ `use_enable tcltk tcl` \
+ `use_enable mmx` \
+ `use_enable ipv6` \
+ `use_enable nls` \
+ `use_enable xchattext textfe` \
+ --program-suffix=-2 \
+ || die "Configure failed"
+
+ MAKEOPTS="-j1" emake || die "Compile failed"
+
+}
+
+src_install() {
+
+ # some magic to create a menu entry for xchat 2
+ mv xchat.desktop xchat.desktop.old
+ sed -e "s:Exec=xchat:Exec=xchat-2:" -e "s:Name=XChat IRC:Name=XChat 2 IRC:" xchat.desktop.old > xchat.desktop
+
+ einstall install || die "Install failed"
+
+ # install plugin development header
+ insinto /usr/include/xchat
+ doins src/common/xchat-plugin.h
+
+ dodoc AUTHORS COPYING ChangeLog README*
+
+}