blob: 75c17dcd9e232a734ab1e9236c1a7c2c940c85f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/kword/kword-2.3.3-r1.ebuild,v 1.5 2011/12/11 15:38:48 ago Exp $
EAPI=3
KMNAME="koffice"
KMMODULE="${PN}"
inherit kde4-meta
DESCRIPTION="KOffice word processor"
KEYWORDS="amd64 ~x86"
IUSE="wpd"
SRC_URI+=" http://dev.gentoo.org/~dilfridge/distfiles/kword-2.3.3-libwpg02.patch.bz2"
DEPEND="
dev-libs/glib
gnome-extra/libgsf
wpd? ( app-text/libwpd )
"
RDEPEND="${DEPEND}
!app-text/wv2
"
PATCHES=( "${DISTDIR}/${PN}-2.3.3-libwpg02.patch.bz2" )
KMEXTRA="filters/${KMMODULE}/
filters/libmso/
"
KMEXTRACTONLY="
KoConfig.h.cmake
filters/
kspread/
libs/
plugins/
"
KMLOADLIBS="koffice-libs"
RESTRICT="test"
# bug 387791
src_configure() {
mycmakeargs=(
$(cmake-utils_use_with wpd)
-DWITH_DCMTK=OFF
)
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"
}
|