# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/smoke/smoke-3.5.10.ebuild,v 1.7 2009/10/12 05:45:35 abcd Exp $ KMNAME=kdebindings KMEXTRACTONLY="kalyptus/" KM_MAKEFILESREV=1 EAPI="1" inherit kde-meta DESCRIPTION="Scripting Meta Object Kompiler Engine: a language-agnostic bindings generator for qt and kde" HOMEPAGE="http://techbase.kde.org/Development/Languages/smoke/" KEYWORDS="amd64 ppc ppc64 sparc x86" IUSE="" DEPEND="dev-lang/perl x11-libs/qscintilla" # QScintilla is an optional dep, there's a configure # flag for it, but I don't want to introduce a local # noqscintilla use flag as it's a light dep. # Of course it'd be nice if someone told me what the difference # is between a smoke compiled with and without qscintilla # support. --danarmak PATCHES=( "${FILESDIR}/no-gtk-glib-check.diff" ) # enable-final works, but requires at least 1.5GB of RAM to complete without swapping, # so it's best to turn it off here. (I don't have that much RAM, so can't estimate # how much would be enough, but it's at least that much... --danarmak) src_compile() { # Remove this to avoid strange errors rm -f "${S}/kalyptus/configure.in" kde-meta_src_compile myconf # override myconf's setting of enable-final myconf="$myconf --disable-final" # Needs patch to fix paralell building again MAKEOPTS="$MAKEOPTS -j1" kde-meta_src_compile configure make }