diff options
Diffstat (limited to 'net-irc/kvirc/kvirc-3.2.0.ebuild')
-rw-r--r-- | net-irc/kvirc/kvirc-3.2.0.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/net-irc/kvirc/kvirc-3.2.0.ebuild b/net-irc/kvirc/kvirc-3.2.0.ebuild new file mode 100644 index 000000000000..9e26fd9dba24 --- /dev/null +++ b/net-irc/kvirc/kvirc-3.2.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-3.2.0.ebuild,v 1.1 2005/03/04 20:42:41 swegener Exp $ + +inherit eutils kde-functions + +DESCRIPTION="An advanced IRC Client" +HOMEPAGE="http://www.kvirc.net/" +SRC_URI="ftp://ftp.kvirc.net/pub/kvirc/${PV}/source/${P}.tar.bz2 \ + ftp://ftp.kvirc.de/pub/kvirc/${PV}/source/${P}.tar.bz2 \ + ftp://kvirc.firenze.linux.it/pub/kvirc/${PV}/source/${P}.tar.bz2" + +LICENSE="kvirc" +SLOT="3" +KEYWORDS="~x86 ~amd64 ~ppc ~sparc" +IUSE="debug esd ipv6 kde oss ssl" + +RDEPEND="esd? ( media-sound/esound ) + ssl? ( dev-libs/openssl ) + oss? ( media-libs/audiofile ) + kde? ( >=kde-base/kdelibs-3 ) + >=x11-libs/qt-3" + +DEPEND="${RDEPEND} + sys-apps/gawk + sys-apps/grep + sys-devel/libtool + sys-devel/gettext + sys-apps/sed" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/kvirc-3.0.1-kdedir-fix.patch +} + +src_compile() { + set-qtdir 3 + set-kdedir 3 + + # use aa even when kde support is disabled; remove the splash screen + # to speed up the startup. + local myconf="--with-aa-fonts --without-splash-screen + --with-big-channels --with-pizza" + + # For myconf, we can't do it the easy way (use_with) because the configure + # script will assume we're telling it not to include support. + myconf="${myconf} `use_with debug debug-symbols`" + use kde || myconf="${myconf} --without-kde-support --without-arts-support" + use ipv6 || myconf="${myconf} --without-ipv6-support" + use esd || myconf="${myconf} --without-esd-support" + use ssl || myconf="${myconf} --without-ssl-support" + + [ "${ARCH}" == "x86" ] && myconf="${myconf} --with-ix86-asm" + + need-autoconf 2.5 + need-automake 1.5 + + econf ${myconf} || die "failed to configure" + emake -j1 || die "failed to make" +} + +src_install() { + make install DESTDIR=${D} || die "make install failed" + make docs DESTDIR=${D} || die "make docs failed" + dodoc ChangeLog INSTALL README TODO +} |