# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-misc/konq-plugins/konq-plugins-4.3.3.ebuild,v 1.1 2009/11/09 19:34:57 ssuominen Exp $ EAPI=2 KDE_LINGUAS="af ar be bg bn br ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hne hr hsb hu is it ja kk km ko ku lt lv mai mk ml ms nb nds ne nl nn oc pa pl pt pt_BR ro ru se sk sl sr sv ta tg th tr uk uz uz@cyrillic vi xh zh_CN zh_TW" KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}" inherit kde4-base DESCRIPTION="Various plugins for konqueror" HOMEPAGE="http://kde.org/" SRC_URI="mirror://kde/stable/${PV}/src/extragear/${P}.tar.bz2" LICENSE="GPL-2 LGPL-2.1 FDL-1.2" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" SLOT="4" IUSE="debug +handbook tidy" DEPEND=">=kde-base/libkonq-${KDE_MINIMAL} tidy? ( app-text/htmltidy )" RDEPEND="${DEPEND} >=kde-base/kcmshell-${KDE_MINIMAL} >=kde-base/konqueror-${KDE_MINIMAL}" src_prepare() { # FIXME. Doesn't compile for 4.3.3: # adblock.cpp:284: error: ‘const class KHTMLSettings’ has no member named # ‘adFilteredBy’ sed -i \ -e 's:add_subdirectory(adblock)::' \ CMakeLists.txt || die kde4-base_src_prepare } src_configure() { mycmakeargs="${mycmakeargs} -DKdeWebKit=OFF -DWebKitPart=OFF $(cmake-utils_use_with tidy LibTidy)" kde4-base_src_configure }