1 |
commit: ec8f7aa1eea82416779c5c3104736dab2dd16f85 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 7 16:21:59 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 7 16:21:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8f7aa1 |
7 |
|
8 |
app-text/poppler: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-text/poppler/poppler-0.62.0.ebuild | 126 --------------------------------- |
13 |
1 file changed, 126 deletions(-) |
14 |
|
15 |
diff --git a/app-text/poppler/poppler-0.62.0.ebuild b/app-text/poppler/poppler-0.62.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 9934ad402fa..00000000000 |
18 |
--- a/app-text/poppler/poppler-0.62.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,126 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils |
27 |
- |
28 |
-if [[ "${PV}" == "9999" ]] ; then |
29 |
- inherit git-r3 |
30 |
- EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}" |
31 |
- SLOT="0/9999" |
32 |
-else |
33 |
- SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz" |
34 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
35 |
- SLOT="0/72" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION |
36 |
-fi |
37 |
- |
38 |
-DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" |
39 |
-HOMEPAGE="https://poppler.freedesktop.org/" |
40 |
- |
41 |
-LICENSE="GPL-2" |
42 |
-IUSE="cairo cjk curl cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils" |
43 |
- |
44 |
-# No test data provided |
45 |
-RESTRICT="test" |
46 |
- |
47 |
-COMMON_DEPEND=" |
48 |
- >=media-libs/fontconfig-2.6.0 |
49 |
- >=media-libs/freetype-2.3.9 |
50 |
- sys-libs/zlib |
51 |
- cairo? ( |
52 |
- dev-libs/glib:2 |
53 |
- >=x11-libs/cairo-1.10.0 |
54 |
- introspection? ( >=dev-libs/gobject-introspection-1.32.1:= ) |
55 |
- ) |
56 |
- curl? ( net-misc/curl ) |
57 |
- jpeg? ( virtual/jpeg:0 ) |
58 |
- jpeg2k? ( media-libs/openjpeg:2= ) |
59 |
- lcms? ( media-libs/lcms:2 ) |
60 |
- nss? ( >=dev-libs/nss-3.19:0 ) |
61 |
- png? ( media-libs/libpng:0= ) |
62 |
- qt5? ( |
63 |
- dev-qt/qtcore:5 |
64 |
- dev-qt/qtgui:5 |
65 |
- dev-qt/qtxml:5 |
66 |
- ) |
67 |
- tiff? ( media-libs/tiff:0 ) |
68 |
-" |
69 |
-DEPEND="${COMMON_DEPEND} |
70 |
- virtual/pkgconfig |
71 |
-" |
72 |
-RDEPEND="${COMMON_DEPEND} |
73 |
- cjk? ( >=app-text/poppler-data-0.4.7 ) |
74 |
-" |
75 |
- |
76 |
-DOCS=(AUTHORS NEWS README README-XPDF) |
77 |
- |
78 |
-PATCHES=( |
79 |
- "${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch" |
80 |
- "${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch" |
81 |
- "${FILESDIR}/${PN}-0.61.0-respect-cflags.patch" |
82 |
- "${FILESDIR}/${PN}-0.62.0-openjpeg2.patch" |
83 |
- "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch" |
84 |
-) |
85 |
- |
86 |
-src_prepare() { |
87 |
- cmake-utils_src_prepare |
88 |
- |
89 |
- # Clang doesn't grok this flag, the configure nicely tests that, but |
90 |
- # cmake just uses it, so remove it if we use clang |
91 |
- if [[ ${CC} == clang ]] ; then |
92 |
- sed -i -e 's/-fno-check-new//' cmake/modules/PopplerMacros.cmake || die |
93 |
- fi |
94 |
- |
95 |
- if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then |
96 |
- sed '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \ |
97 |
- -i CMakeLists.txt || die |
98 |
- else |
99 |
- einfo "policy(SET CMP0002 OLD) - workaround can be removed" |
100 |
- fi |
101 |
- |
102 |
- # we need to up the C++ version, bug #622526, #643278 |
103 |
- append-cxxflags -std=c++11 |
104 |
-} |
105 |
- |
106 |
-src_configure() { |
107 |
- xdg_environment_reset |
108 |
- local mycmakeargs=( |
109 |
- -DBUILD_GTK_TESTS=OFF |
110 |
- -DBUILD_QT5_TESTS=OFF |
111 |
- -DBUILD_CPP_TESTS=OFF |
112 |
- -DENABLE_SPLASH=ON |
113 |
- -DENABLE_ZLIB=ON |
114 |
- -DENABLE_ZLIB_UNCOMPRESS=OFF |
115 |
- -DENABLE_XPDF_HEADERS=ON |
116 |
- -DSPLASH_CMYK=OFF |
117 |
- -DUSE_FIXEDPOINT=OFF |
118 |
- -DUSE_FLOAT=OFF |
119 |
- -DWITH_Cairo=$(usex cairo) |
120 |
- -DENABLE_LIBCURL=$(usex curl) |
121 |
- -DENABLE_CPP=$(usex cxx) |
122 |
- -DWITH_GObjectIntrospection=$(usex introspection) |
123 |
- -DWITH_JPEG=$(usex jpeg) |
124 |
- -DENABLE_DCTDECODER=$(usex jpeg libjpeg none) |
125 |
- -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none) |
126 |
- -DENABLE_CMS=$(usex lcms lcms2 none) |
127 |
- -DWITH_NSS3=$(usex nss) |
128 |
- -DWITH_PNG=$(usex png) |
129 |
- $(cmake-utils_use_find_package qt5 Qt5Core) |
130 |
- -DWITH_TIFF=$(usex tiff) |
131 |
- -DENABLE_UTILS=$(usex utils) |
132 |
- ) |
133 |
- |
134 |
- cmake-utils_src_configure |
135 |
-} |
136 |
- |
137 |
-src_install() { |
138 |
- cmake-utils_src_install |
139 |
- |
140 |
- # live version doesn't provide html documentation |
141 |
- if use cairo && use doc && [[ ${PV} != 9999 ]]; then |
142 |
- # For now install gtk-doc there |
143 |
- insinto /usr/share/gtk-doc/html/poppler |
144 |
- doins -r "${S}"/glib/reference/html/* |
145 |
- fi |
146 |
-} |