Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/poppler: poppler-0.24.5.ebuild ChangeLog
Date: Fri, 03 Jan 2014 15:50:56
Message-Id: 20140103155049.CEB022004C@flycatcher.gentoo.org
1 dilfridge 14/01/03 15:50:49
2
3 Modified: ChangeLog
4 Added: poppler-0.24.5.ebuild
5 Log:
6 Version bump, bug 496770
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)
9
10 Revision Changes Path
11 1.412 app-text/poppler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?rev=1.412&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?rev=1.412&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/ChangeLog?r1=1.411&r2=1.412
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v
20 retrieving revision 1.411
21 retrieving revision 1.412
22 diff -u -r1.411 -r1.412
23 --- ChangeLog 17 Dec 2013 15:09:43 -0000 1.411
24 +++ ChangeLog 3 Jan 2014 15:50:49 -0000 1.412
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-text/poppler
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.411 2013/12/17 15:09:43 dilfridge Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.412 2014/01/03 15:50:49 dilfridge Exp $
31 +
32 +*poppler-0.24.5 (03 Jan 2014)
33 +
34 + 03 Jan 2014; Andreas K. Huettel <dilfridge@g.o>
35 + +poppler-0.24.5.ebuild:
36 + Version bump, bug 496770
37
38 17 Dec 2013; Andreas K. Huettel <dilfridge@g.o>
39 -files/poppler-0.22.2-findgio.patch, -files/poppler-0.22.2-interp.patch,
40
41
42
43 1.1 app-text/poppler/poppler-0.24.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-0.24.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/poppler-0.24.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: poppler-0.24.5.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.24.5.ebuild,v 1.1 2014/01/03 15:50:49 dilfridge Exp $
53
54 EAPI=5
55
56 inherit cmake-utils toolchain-funcs
57
58 DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
59 HOMEPAGE="http://poppler.freedesktop.org/"
60 SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz"
61
62 LICENSE="GPL-2"
63 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"
64 SLOT="0/44"
65 IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 tiff +utils"
66
67 # No test data provided
68 RESTRICT="test"
69
70 COMMON_DEPEND="
71 >=media-libs/fontconfig-2.6.0
72 >=media-libs/freetype-2.3.9
73 sys-libs/zlib
74 cairo? (
75 dev-libs/glib:2
76 >=x11-libs/cairo-1.10.0
77 introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
78 )
79 curl? ( net-misc/curl )
80 jpeg? ( virtual/jpeg:0 )
81 jpeg2k? ( media-libs/openjpeg:0 )
82 lcms? ( media-libs/lcms:2 )
83 png? ( media-libs/libpng:0= )
84 qt4? (
85 dev-qt/qtcore:4
86 dev-qt/qtgui:4
87 )
88 tiff? ( media-libs/tiff:0 )
89 "
90 DEPEND="${COMMON_DEPEND}
91 virtual/pkgconfig
92 "
93 RDEPEND="${COMMON_DEPEND}
94 cjk? ( >=app-text/poppler-data-0.4.4 )
95 "
96
97 DOCS=(AUTHORS NEWS README README-XPDF TODO)
98
99 src_configure() {
100 # this is needed for multilib, see bug 459394
101 local ft_libdir ft_includedir
102 ft_libdir="$($(tc-getPKG_CONFIG) freetype2 --variable=libdir)"
103 ft_includedir="$($(tc-getPKG_CONFIG) freetype2 --variable=includedir)"
104 export FREETYPE_DIR="${ft_libdir}:${ft_includedir%/include}"
105 einfo "Detected FreeType at ${FREETYPE_DIR}"
106
107 mycmakeargs=(
108 -DBUILD_GTK_TESTS=OFF
109 -DBUILD_QT4_TESTS=OFF
110 -DBUILD_QT5_TESTS=OFF
111 -DBUILD_CPP_TESTS=OFF
112 -DENABLE_SPLASH=ON
113 -DENABLE_ZLIB=ON
114 -DENABLE_XPDF_HEADERS=ON
115 $(cmake-utils_use_enable curl LIBCURL)
116 $(cmake-utils_use_enable cxx CPP)
117 $(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
118 $(cmake-utils_use_enable utils)
119 $(cmake-utils_use_with cairo)
120 $(cmake-utils_use_with introspection GObjectIntrospection)
121 $(cmake-utils_use_with jpeg)
122 $(cmake-utils_use_with png)
123 $(cmake-utils_use_with qt4)
124 -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Core=ON
125 $(cmake-utils_use_with tiff)
126 )
127 if use lcms; then
128 mycmakeargs+=(-DENABLE_CMS=lcms2)
129 else
130 mycmakeargs+=(-DENABLE_CMS=)
131 fi
132
133 cmake-utils_src_configure
134 }
135
136 src_install() {
137 cmake-utils_src_install
138
139 if use cairo && use doc; 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 }