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

inherit trinity-meta

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

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

PATCHES=( "$FILESDIR/tdegraphics-poppler-tqt-remove-unnecessary-check.patch" )
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
}