1 |
dilfridge 14/05/23 22:49:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: poppler-0.26.1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.424 app-text/poppler/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?rev=1.424&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?rev=1.424&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?r1=1.423&r2=1.424 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v |
20 |
retrieving revision 1.423 |
21 |
retrieving revision 1.424 |
22 |
diff -u -r1.423 -r1.424 |
23 |
--- ChangeLog 27 Apr 2014 13:08:38 -0000 1.423 |
24 |
+++ ChangeLog 23 May 2014 22:49:52 -0000 1.424 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-text/poppler |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.423 2014/04/27 13:08:38 dilfridge Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.424 2014/05/23 22:49:52 dilfridge Exp $ |
30 |
+ |
31 |
+*poppler-0.26.1 (23 May 2014) |
32 |
+ |
33 |
+ 23 May 2014; Andreas K. Huettel <dilfridge@g.o> |
34 |
+ +poppler-0.26.1.ebuild, +files/poppler-0.26.0-qt5-dependencies.patch: |
35 |
+ Version bump |
36 |
|
37 |
*poppler-0.26.0 (27 Apr 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-text/poppler/poppler-0.26.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-0.26.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-0.26.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: poppler-0.26.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.26.1.ebuild,v 1.1 2014/05/23 22:49:52 dilfridge Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit cmake-utils toolchain-funcs |
56 |
|
57 |
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" |
58 |
HOMEPAGE="http://poppler.freedesktop.org/" |
59 |
SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-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" |
63 |
SLOT="0/46" |
64 |
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 qt5 tiff +utils" |
65 |
|
66 |
# No test data provided |
67 |
RESTRICT="test" |
68 |
|
69 |
COMMON_DEPEND=" |
70 |
>=media-libs/fontconfig-2.6.0 |
71 |
>=media-libs/freetype-2.3.9 |
72 |
sys-libs/zlib |
73 |
cairo? ( |
74 |
dev-libs/glib:2 |
75 |
>=x11-libs/cairo-1.10.0 |
76 |
introspection? ( >=dev-libs/gobject-introspection-1.32.1 ) |
77 |
) |
78 |
curl? ( net-misc/curl ) |
79 |
jpeg? ( virtual/jpeg:0 ) |
80 |
jpeg2k? ( media-libs/openjpeg:0 ) |
81 |
lcms? ( media-libs/lcms:2 ) |
82 |
png? ( media-libs/libpng:0= ) |
83 |
qt4? ( |
84 |
dev-qt/qtcore:4 |
85 |
dev-qt/qtgui:4 |
86 |
) |
87 |
qt5? ( |
88 |
dev-qt/qtcore:5 |
89 |
dev-qt/qtgui:5 |
90 |
dev-qt/qtxml:5 |
91 |
) |
92 |
tiff? ( media-libs/tiff:0 ) |
93 |
" |
94 |
DEPEND="${COMMON_DEPEND} |
95 |
virtual/pkgconfig |
96 |
" |
97 |
RDEPEND="${COMMON_DEPEND} |
98 |
cjk? ( >=app-text/poppler-data-0.4.4 ) |
99 |
" |
100 |
|
101 |
DOCS=(AUTHORS NEWS README README-XPDF TODO) |
102 |
|
103 |
PATCHES=( "${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch" ) |
104 |
|
105 |
src_configure() { |
106 |
# this is needed for multilib, see bug 459394 |
107 |
local ft_libdir ft_includedir |
108 |
ft_libdir="$($(tc-getPKG_CONFIG) freetype2 --variable=libdir)" |
109 |
ft_includedir="$($(tc-getPKG_CONFIG) freetype2 --variable=includedir)" |
110 |
export FREETYPE_DIR="${ft_libdir}:${ft_includedir%/include}" |
111 |
einfo "Detected FreeType at ${FREETYPE_DIR}" |
112 |
|
113 |
mycmakeargs=( |
114 |
-DBUILD_GTK_TESTS=OFF |
115 |
-DBUILD_QT4_TESTS=OFF |
116 |
-DBUILD_QT5_TESTS=OFF |
117 |
-DBUILD_CPP_TESTS=OFF |
118 |
-DENABLE_SPLASH=ON |
119 |
-DENABLE_ZLIB=ON |
120 |
-DENABLE_XPDF_HEADERS=ON |
121 |
$(cmake-utils_use_enable curl LIBCURL) |
122 |
$(cmake-utils_use_enable cxx CPP) |
123 |
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG) |
124 |
$(cmake-utils_use_enable utils) |
125 |
$(cmake-utils_use_with cairo) |
126 |
$(cmake-utils_use_with introspection GObjectIntrospection) |
127 |
$(cmake-utils_use_with jpeg) |
128 |
$(cmake-utils_use_with png) |
129 |
$(cmake-utils_use_with qt4) |
130 |
$(cmake-utils_use_find_package qt5 Qt5Core) |
131 |
$(cmake-utils_use_with tiff) |
132 |
) |
133 |
if use lcms; then |
134 |
mycmakeargs+=(-DENABLE_CMS=lcms2) |
135 |
else |
136 |
mycmakeargs+=(-DENABLE_CMS=) |
137 |
fi |
138 |
|
139 |
cmake-utils_src_configure |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
cmake-utils_src_install |
144 |
|
145 |
if use cairo && use doc; then |
146 |
# For now install gtk-doc there |
147 |
insinto /usr/share/gtk-doc/html/poppler |
148 |
doins -r "${S}"/glib/reference/html/* |
149 |
fi |
150 |
} |