1 |
commit: 90be7a626b593164c1fb7f3506fa18e5ed273429 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 16 12:48:21 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 16 15:52:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=90be7a62 |
7 |
|
8 |
app-text/poppler: Bump 0.16.7 to EAPI-6 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
app-text/poppler/metadata.xml | 1 - |
13 |
app-text/poppler/poppler-0.16.7.ebuild | 36 +++++++++++++++++----------------- |
14 |
2 files changed, 18 insertions(+), 19 deletions(-) |
15 |
|
16 |
diff --git a/app-text/poppler/metadata.xml b/app-text/poppler/metadata.xml |
17 |
index acbbc9af..8560896f 100644 |
18 |
--- a/app-text/poppler/metadata.xml |
19 |
+++ b/app-text/poppler/metadata.xml |
20 |
@@ -7,6 +7,5 @@ |
21 |
<flag name="introspection">Enable GObject introspection.</flag> |
22 |
<flag name="nss">Enable signatures handling with <pkg>dev-libs/nss</pkg></flag> |
23 |
<flag name="utils">Install command-line PDF converters and various utilities.</flag> |
24 |
- <flag name="xpdf-headers"></flag> |
25 |
</use> |
26 |
</pkgmetadata> |
27 |
|
28 |
diff --git a/app-text/poppler/poppler-0.16.7.ebuild b/app-text/poppler/poppler-0.16.7.ebuild |
29 |
index 5fc2ce07..41d42639 100644 |
30 |
--- a/app-text/poppler/poppler-0.16.7.ebuild |
31 |
+++ b/app-text/poppler/poppler-0.16.7.ebuild |
32 |
@@ -2,7 +2,7 @@ |
33 |
# Distributed under the terms of the GNU General Public License v2 |
34 |
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.16.7.ebuild,v 1.5 2011/08/25 20:48:50 maekke Exp $ |
35 |
|
36 |
-EAPI="2" |
37 |
+EAPI=6 |
38 |
|
39 |
inherit cmake-utils qt3 |
40 |
|
41 |
@@ -11,10 +11,10 @@ HOMEPAGE="http://poppler.freedesktop.org/" |
42 |
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz" |
43 |
|
44 |
LICENSE="GPL-2" |
45 |
-KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
46 |
+KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
47 |
SLOT="0" |
48 |
IUSE="cairo cjk curl cxx debug doc exceptions +introspection jpeg |
49 |
-jpeg2k +lcms png qt3 qt4 +utils +xpdf-headers" |
50 |
+jpeg2k +lcms png qt3 qt4 +utils" |
51 |
|
52 |
# No test data provided |
53 |
RESTRICT="test" |
54 |
@@ -52,30 +52,30 @@ RDEPEND="${COMMON_DEPEND} |
55 |
cjk? ( >=app-text/poppler-data-0.2.1 ) |
56 |
" |
57 |
|
58 |
-DOCS=(AUTHORS ChangeLog NEWS README README-XPDF TODO) |
59 |
+DOCS=( AUTHORS ChangeLog NEWS README README-XPDF TODO ) |
60 |
|
61 |
src_configure() { |
62 |
mycmakeargs=( |
63 |
-DBUILD_GTK_TESTS=OFF |
64 |
-DBUILD_QT4_TESTS=OFF |
65 |
-DBUILD_CPP_TESTS=OFF |
66 |
- $(cmake-utils_use_with qt3) |
67 |
+ -DWITH_Qt3="$(usex qt3)" |
68 |
-DENABLE_ABIWORD=OFF |
69 |
-DENABLE_SPLASH=ON |
70 |
-DENABLE_ZLIB=ON |
71 |
- $(cmake-utils_use_enable curl LIBCURL) |
72 |
- $(cmake-utils_use_enable cxx CPP) |
73 |
- $(cmake-utils_use_enable jpeg2k LIBOPENJPEG) |
74 |
- $(cmake-utils_use_enable lcms) |
75 |
- $(cmake-utils_use_enable utils) |
76 |
- $(cmake-utils_use_enable xpdf-headers XPDF_HEADERS) |
77 |
- $(cmake-utils_use_with cairo) |
78 |
- $(cmake-utils_use_with cairo GTK) |
79 |
- $(cmake-utils_use_with introspection GObjectIntrospection) |
80 |
- $(cmake-utils_use_with jpeg) |
81 |
- $(cmake-utils_use_with png) |
82 |
- $(cmake-utils_use_with qt4) |
83 |
- $(cmake-utils_use exceptions USE_EXCEPTIONS) |
84 |
+ -DENABLE_LIBCURL="$(usex curl)" |
85 |
+ -DENABLE_CPP="$(usex cxx)" |
86 |
+ -DENABLE_LIBOPENJPEG="$(usex jpeg2k)" |
87 |
+ -DENABLE_LCMS="$(usex lcms)" |
88 |
+ -DENABLE_UTILS="$(usex utils)" |
89 |
+ -DENABLE_XPDF_HEADERS=ON |
90 |
+ -DWITH_Cairo="$(usex cairo)" |
91 |
+ -DWITH_GTK="$(usex cairo)" |
92 |
+ -DWITH_GObjectIntrospection="$(usex introspection)" |
93 |
+ -DWITH_JPEG="$(usex jpeg)" |
94 |
+ -DWITH_PNG="$(usex png)" |
95 |
+ -DWITH_Qt4="$(usex qt4)" |
96 |
+ -DUSE_EXCEPTIONS="$(usex exceptions)" |
97 |
) |
98 |
|
99 |
cmake-utils_src_configure |