summaryrefslogtreecommitdiffstats
path: root/trinity-apps/koffice-libs/koffice-libs-9999.ebuild
blob: a769257f82d7413695bf2447443d3f96899824e6 (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
# Copyright 1999-2021 Gentoo Authors
# Copyright 2021 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

TRINITY_MODULE_NAME="koffice"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="lib lib/kwmf lib/store lib/kofficecore
		lib/kofficeui lib/kopainter
		lib/kopalette lib/kotext lib/kformula
		lib/koproperty lib/kross filters/olefilters
		filters/xsltfilter filters/generic_wrapper
		kounavail servicetypes mimetypes pics
		templates autocorrect interfaces plugins tools"
TSM_EXTRACT_ALSO="filters doc kchart"

inherit flag-o-matic trinity-meta-2

DESCRIPTION="Shared KOffice libraries for TDE [Trinity]"
HOMEPAGE="http://trinitydesktop.org/"

SLOT="${TRINITY_VER}"
if [[ ${PV} != *9999* ]] ; then
	KEYWORDS="~amd64 ~x86"
fi
IUSE=""

DEPEND="
	~trinity-base/tdelibs-${PV}
"

RDEPEND="$DEPEND"

src_prepare() {
	trinity-meta-2_src_prepare
}

src_configure() {
	append-cxxflags "-std=c++11"
	export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${TDEDIR}/$(get_libdir)/pkgconfig
	myconf=(--with-extra-libs=${TDEDIR}/$(get_libdir)
		--with-extra-includes=${TDEDIR}/include/arts
		--disable-scripting)

	trinity-econf ${myconf[@]}
}