# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.11.5.ebuild,v 1.4 2014/02/16 07:19:15 ago Exp $ EAPI=5 KDE_HANDBOOK="optional" inherit kde4-base DESCRIPTION="KDE internationalization package" HOMEPAGE="http://l10n.kde.org" DEPEND=" sys-devel/gettext " RDEPEND="!> "${S}"/CMakeLists.txt fi done fi } src_prepare() { find "${S}" -name CMakeLists.txt -type f \ -exec sed -i -e 's:^ *add_subdirectory( *kdepim-runtime *):# no kdepim-runtime:g' {} + find "${S}" -name CMakeLists.txt -type f \ -exec sed -i -e 's:^ *add_subdirectory( *kdepim *):# no kdepim:g' {} + # quick workaround for bug 493278 find "${S}" -name "akonadi_knut_resource*" -delete kde4-base_src_prepare } src_configure() { mycmakeargs=( $(cmake-utils_use_build handbook docs) ) [[ -n ${A} ]] && kde4-base_src_configure } src_compile() { [[ -n ${A} ]] && kde4-base_src_compile } src_test() { [[ -n ${A} ]] && kde4-base_src_test } src_install() { [[ -n ${A} ]] && kde4-base_src_install }