# $Header: /magellan-cvs/smage/kvirc/kvirc-3.4.0-r1.smage2,v 1.3 2008/04/06 18:43:01 niro Exp $ PNAME="kvirc" PVER="3.4.0" PBUILD="r1" PCATEGORIE="net-irc" STATE="unstable" DESCRIPTION="KVIrc is a free portable Internet Relay Chat client based on the Qt GUI toolkit." HOMEPAGE="http://www.kvirc.net/" DEPEND=">= kde-base/kdelibs-3.5 >= x11-libs/qt-3.3 >= dev-libs/openssl-0.9.8 >= dev-lang/perl-5.10 >= media-libs/audiofile-0.2.6" SDEPEND=">= dev-lang/nasm-2 >= sys-dev/automake-3 >= sys-dev/autoconf-5 >= kde-base/arts-1.5 >= media-sound/esound-0.2.38" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude kde3 SRC_URI=( ftp://ftp.kvirc.net/pub/${PNAME}/${PVER}/source/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # gcc4 doesn't like -pipe -> .LTHUNK0' can't be equated to undefined symbol export CFLAGS="${CFLAGS/-pipe/}" export CXXFLAGS="${CFLAGS}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # rebuild configure and makefiles ./autogen.sh || die } src_compile() { cd ${SRCDIR} local myconf [[ ${ARCH} = i*86 ]] && myconf=--with-ix86-asm kde3_configure \ --enable-ssl \ --enable-perl \ --with-big-channels \ --with-pizza \ --with-aa-fonts \ --with-qt-library-dir=/usr/$(mlibdir) \ --with-kde-library-dir=/usr/$(mlibdir) \ ${myconf} \ || die mmake || die }