Gentoo Archives: gentoo-commits

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