Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/podofo: ChangeLog podofo-0.8.1.ebuild
Date: Mon, 28 Jun 2010 00:26:37
Message-Id: 20100628002634.B843D2CF9E@corvid.gentoo.org
1 zmedico 10/06/28 00:26:34
2
3 Modified: ChangeLog
4 Added: podofo-0.8.1.ebuild
5 Log:
6 0.8.1 version bump.
7 (Portage version: 2.2_rc67_p176/cvs/Linux i686)
8
9 Revision Changes Path
10 1.11 app-text/podofo/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/podofo/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/podofo/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/podofo/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/podofo/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 5 Jun 2010 21:37:21 -0000 1.10
23 +++ ChangeLog 28 Jun 2010 00:26:34 -0000 1.11
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-text/podofo
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/ChangeLog,v 1.10 2010/06/05 21:37:21 zmedico Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/ChangeLog,v 1.11 2010/06/28 00:26:34 zmedico Exp $
29 +
30 +*podofo-0.8.1 (27 Jun 2010)
31 +
32 + 27 Jun 2010; Zac Medico <zmedico@g.o> +podofo-0.8.1.ebuild:
33 + 0.8.1 version bump.
34
35 05 Jun 2010; Zac Medico <zmedico@g.o> podofo-0.7.0.ebuild,
36 podofo-0.8.0.ebuild:
37
38
39
40 1.1 app-text/podofo/podofo-0.8.1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/podofo/podofo-0.8.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/podofo/podofo-0.8.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: podofo-0.8.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-text/podofo/podofo-0.8.1.ebuild,v 1.1 2010/06/28 00:26:34 zmedico Exp $
50
51 EAPI=2
52 inherit cmake-utils multilib
53
54 DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format."
55 HOMEPAGE="http://sourceforge.net/projects/podofo/"
56 SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
57
58 LICENSE="GPL-2 LGPL-2.1"
59 SLOT="0"
60 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
61 IUSE="+boost debug test"
62
63 RDEPEND="dev-lang/lua
64 dev-libs/openssl
65 >=dev-libs/STLport-5.1.5
66 media-libs/fontconfig
67 media-libs/freetype:2
68 media-libs/jpeg:0
69 media-libs/libpng
70 media-libs/tiff
71 sys-libs/zlib"
72 DEPEND="${RDEPEND}
73 boost? ( dev-util/boost-build )
74 test? ( dev-util/cppunit )"
75
76 DOCS="AUTHORS ChangeLog TODO"
77
78 src_prepare() {
79 sed -i \
80 -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
81 CMakeLists.txt || die
82
83 # Apply r1251 from upstream, to fix ambiguous conversion error.
84 sed -e 's/"), \([[:digit:]]L\)/"\), static_cast<pdf_int64>(\1)/' -i \
85 test/unit/EncryptTest.cpp || die
86 }
87
88 src_configure() {
89 mycmakeargs+=(
90 "-DPODOFO_BUILD_SHARED=1"
91 "-DPODOFO_HAVE_JPEG_LIB=1"
92 "-DPODOFO_HAVE_PNG_LIB=1"
93 "-DPODOFO_HAVE_TIFF_LIB=1"
94 "-DWANT_FONTCONFIG=1"
95 "-DUSE_STLPORT=1"
96 $(cmake-utils_use_want boost)
97 $(cmake-utils_use_has test CPPUNIT)
98 )
99
100 cmake-utils_src_configure
101 }