summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/tdegraphics-tdefile-plugins/tdegraphics-tdefile-plugins-9999.ebuild
blob: 3655a5629ddd9fe2fbed6907e489356fb382356c (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
TRINITY_MODULE_NAME="tdegraphics"

inherit trinity-meta

DESCRIPTION="kfile plugins from kdegraphics"
KEYWORDS=
IUSE="tiff openexr pdf"

DEPEND="
	tiff? ( media-libs/tiff:= )
	openexr? ( >=media-libs/openexr-1.2.2-r2 )
	pdf? ( app-text/poppler )"
RDEPEND="$DEPEND"

TSM_EXTRACT_ALSO="kghostview/dscparse/"

src_configure() {
	mycmakeargs=(
		$(cmake-utils_use_with tiff TIFF)
		$(cmake-utils_use_with openexr OPENEXR)
		$(cmake-utils_use_with pdf PDF)
	)

	trinity-meta_src_configure
}