# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit kde MYP=${P//_/-} MYPV=${PV//_/-} S=${WORKDIR}/${MYP} DESCRIPTION="An advanced IRC Client" HOMEPAGE="http://www.kvirc.net/" SRC_URI="ftp://ftp.kvirc.net/pub/kvirc/{$PV}/source/kvirc-${PV}.tar.bz2" LICENSE="kvirc" SLOT="3" KEYWORDS="~x86 ~amd64" IUSE="kde ipv6 ssl oss esd" RDEPEND="esd? ( media-sound/esound ) ssl? ( dev-libs/openssl ) oss? ( media-libs/audiofile ) >=x11-libs/qt-3 kde? ( >=kde-base/kdelibs-3 ) sys-devel/gettext" DEPEND="${RDEPEND} sys-apps/gawk sys-apps/grep sys-apps/sed" use debug && RESTRICT="nostrip" src_compile() { # 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" myconf="${myconf} `use_with ipv6 ipv6-support` `use_with ssl ssl-support` `use_with oss af af-support` `use_with kde kde-support` `use_with kde arts-support` `use_with esd` `use_with debug debug-symbols`" [ "$ARCH" == "x86" ] && myconf="$myconf --with-ix86-asm" # always install into /usr regardless of kde support kvirc # doesn't have a kde-like installed file structure anyway #myconf="$myconf --prefix=/usr" # make sure we disable kde support as the configure script # can auto-enable it when it isn't wanted #use kde || export KDEDIR="" need-autoconf 2.5 need-automake 1.5 #use kde && kde_src_compile all \ # || { econf ${myconf} || die "failed to configure" emake || die "failed to make" #} } src_install() { #use kde && kde_src_install \ # || { emake install DESTDIR=${D} || die emake docs DESTDIR=${D} || die dodoc ChangeLog INSTALL README TODO #} }