# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kontact-specialdates/kontact-specialdates-4.2.2.ebuild,v 1.1 2009/04/11 23:44:55 alexxy Exp $ EAPI="2" KMNAME="kdepim" KMNOMODULE="true" inherit kde4-meta DESCRIPTION="Special Dates plugin for Kontact: displays a summary of important holidays and calendar events" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86" IUSE="debug" DEPEND=" >=kde-base/libkdepim-${PV}:${SLOT}[kdeprefix=] >=kde-base/libkholidays-${PV}:${SLOT}[kdeprefix=] " RDEPEND="${DEPEND} >=kde-base/kaddressbook-${PV}:${SLOT}[kdeprefix=] >=kde-base/korganizer-${PV}:${SLOT}[kdeprefix=] >=kde-base/kontact-${PV}:${SLOT}[kdeprefix=] " KMEXTRACTONLY=" kontactinterfaces/ kaddressbook korganizer libkholidays " KMEXTRA=" kontact/plugins/specialdates/ " src_prepare() { # Fix target_link_libraries for now sed -i -e's/korganizer_calendar kaddressbookprivate)/korganizer_calendar)/' \ kontact/plugins/specialdates/CMakeLists.txt \ || die "Failed to remove kaddressbookprivate from link" kde4-meta_src_prepare }