blob: d17e297b41dcd888ff7246d8365587d5a28cd90f [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/karbon/karbon-2.1.0.ebuild,v 1.6 2010/01/24 13:40:00 ranger Exp $
EAPI="2"
KMNAME="koffice"
KMMODULE="${PN}"
inherit kde4-meta
DESCRIPTION="KOffice vector drawing application."
KEYWORDS="amd64 hppa ~ppc ~ppc64 x86"
IUSE="+pstoedit wpg"
DEPEND="
media-libs/libart_lgpl
pstoedit? ( media-gfx/pstoedit )
wpg? ( media-libs/libwpg )
"
RDEPEND="${DEPEND}"
KMEXTRA="filters/${KMMODULE}"
KMEXTRACTONLY="
libs/
plugins/
filters/
"
KMLOADLIBS="koffice-libs"
src_configure() {
mycmakeargs="${mycmakeargs}
$(cmake-utils_use_with wpg)
$(cmake-utils_use_with pstoedit)"
kde4-meta_src_configure
}