You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2012 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-r1.ebuild,v 1.3 2012/03/09 09:08:47 phajdan.jr Exp $
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
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? ( app-text/libwpg[tools(+)] )
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
KMEXTRA="filters/${KMMODULE}"
|
|
|
|
KMEXTRACTONLY="
|
|
|
|
KoConfig.h.cmake
|
|
|
|
libs/
|
|
|
|
plugins/
|
|
|
|
filters/
|
|
|
|
"
|
|
|
|
KMLOADLIBS="koffice-libs"
|
|
|
|
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-newlibwpd.patch" )
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|