diff options
Diffstat (limited to 'app-office/karbon/karbon-2.3.3.ebuild')
-rw-r--r-- | app-office/karbon/karbon-2.3.3.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-office/karbon/karbon-2.3.3.ebuild b/app-office/karbon/karbon-2.3.3.ebuild new file mode 100644 index 000000000000..a220ae24d957 --- /dev/null +++ b/app-office/karbon/karbon-2.3.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/karbon/karbon-2.3.3.ebuild,v 1.1 2011/02/24 12:00:56 dilfridge Exp $ + +EAPI=3 +KMNAME="koffice" +KMMODULE="${PN}" + +inherit kde4-meta + +DESCRIPTION="KOffice vector drawing application." + +KEYWORDS="~amd64 ~x86" +IUSE="+pstoedit wpg" + +DEPEND=" + media-libs/libart_lgpl + pstoedit? ( media-gfx/pstoedit ) + wpg? ( media-libs/libwpg ) +" +RDEPEND="${DEPEND}" + +KMEXTRA="filters/${KMMODULE}" +KMEXTRACTONLY=" + KoConfig.h.cmake + libs/ + plugins/ + filters/ +" +KMLOADLIBS="koffice-libs" + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with wpg) + $(cmake-utils_use_with pstoedit) + ) + kde4-meta_src_configure +} + +src_install() { + kde4-meta_src_install + + # this is already installed by koffice-data + rm -f "${D}/usr/include/config-opengl.h" + rm -f "${D}/usr/include/KoConfig.h" +} |