Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/thumbnailers/
Date: Sat, 25 Feb 2017 23:42:26
Message-Id: 1488066127.c8a1f034948acd8169658b1701d2f9137bcdb1cd.asturm@gentoo
1 commit: c8a1f034948acd8169658b1701d2f9137bcdb1cd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 23:41:46 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 23:42:07 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c8a1f034
7
8 kde-apps/thumbnailers: Add USE=raw
9
10 Reported-by: Ostashevskyi Viktor
11 Gentoo-bug: 610890
12
13 Package-Manager: Portage-2.3.3, Repoman-2.3.1
14
15 kde-apps/thumbnailers/thumbnailers-16.12.49.9999.ebuild | 17 ++++++++++++++---
16 kde-apps/thumbnailers/thumbnailers-9999.ebuild | 17 ++++++++++++++---
17 2 files changed, 28 insertions(+), 6 deletions(-)
18
19 diff --git a/kde-apps/thumbnailers/thumbnailers-16.12.49.9999.ebuild b/kde-apps/thumbnailers/thumbnailers-16.12.49.9999.ebuild
20 index a096140486..cbfbf50a2b 100644
21 --- a/kde-apps/thumbnailers/thumbnailers-16.12.49.9999.ebuild
22 +++ b/kde-apps/thumbnailers/thumbnailers-16.12.49.9999.ebuild
23 @@ -11,12 +11,23 @@ inherit kde5
24 DESCRIPTION="Thumbnail generators for PDF/PS and RAW files"
25 LICENSE="GPL-2+"
26 KEYWORDS=""
27 -IUSE=""
28 +IUSE="raw"
29
30 DEPEND="
31 $(add_frameworks_dep kio)
32 - $(add_kdeapps_dep libkdcraw)
33 - $(add_kdeapps_dep libkexiv2)
34 $(add_qt_dep qtgui)
35 + raw? (
36 + $(add_kdeapps_dep libkdcraw)
37 + $(add_kdeapps_dep libkexiv2)
38 + )
39 "
40 RDEPEND="${DEPEND}"
41 +
42 +src_configure() {
43 + local mycmakeargs=(
44 + $(cmake-utils_use_find_package raw KF5KExiv2)
45 + $(cmake-utils_use_find_package raw KF5KDcraw)
46 + )
47 +
48 + kde5_src_configure
49 +}
50
51 diff --git a/kde-apps/thumbnailers/thumbnailers-9999.ebuild b/kde-apps/thumbnailers/thumbnailers-9999.ebuild
52 index a096140486..cbfbf50a2b 100644
53 --- a/kde-apps/thumbnailers/thumbnailers-9999.ebuild
54 +++ b/kde-apps/thumbnailers/thumbnailers-9999.ebuild
55 @@ -11,12 +11,23 @@ inherit kde5
56 DESCRIPTION="Thumbnail generators for PDF/PS and RAW files"
57 LICENSE="GPL-2+"
58 KEYWORDS=""
59 -IUSE=""
60 +IUSE="raw"
61
62 DEPEND="
63 $(add_frameworks_dep kio)
64 - $(add_kdeapps_dep libkdcraw)
65 - $(add_kdeapps_dep libkexiv2)
66 $(add_qt_dep qtgui)
67 + raw? (
68 + $(add_kdeapps_dep libkdcraw)
69 + $(add_kdeapps_dep libkexiv2)
70 + )
71 "
72 RDEPEND="${DEPEND}"
73 +
74 +src_configure() {
75 + local mycmakeargs=(
76 + $(cmake-utils_use_find_package raw KF5KExiv2)
77 + $(cmake-utils_use_find_package raw KF5KDcraw)
78 + )
79 +
80 + kde5_src_configure
81 +}