# Copyright 1999-2013 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.2.ebuild,v 1.5 2013/12/11 20:26:53 ago Exp $ EAPI=5 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' {} + # bug 481106, please remove in 4.11.1 and later use linguas_pl && rm "${S}"/${PN}-pl-${PV}/messages/kde-runtime/{accountwizard*,akonadi_*}.po 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 }