diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-03 20:58:06 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-03 20:58:06 +0000 |
commit | 140d22e799a69a7e71668c7a3ceba773df8bd4d3 (patch) | |
tree | 4092379b5cab5b530941eaa29dd75d6b21bf9b22 /app-text/podofo | |
parent | Version bump. (diff) | |
download | historical-140d22e799a69a7e71668c7a3ceba773df8bd4d3.tar.gz historical-140d22e799a69a7e71668c7a3ceba773df8bd4d3.tar.bz2 historical-140d22e799a69a7e71668c7a3ceba773df8bd4d3.zip |
Initial import, based off of ebuild from kde-testing overlay. This package is a depdency of the new versions of app-text/calibre and app-office/scribus.
Package-Manager: portage-2.2_rc42_p14476/cvs/Linux i686
Diffstat (limited to 'app-text/podofo')
-rw-r--r-- | app-text/podofo/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/podofo/Manifest | 14 | ||||
-rw-r--r-- | app-text/podofo/metadata.xml | 9 | ||||
-rw-r--r-- | app-text/podofo/podofo-0.7.0.ebuild | 52 |
4 files changed, 85 insertions, 0 deletions
diff --git a/app-text/podofo/ChangeLog b/app-text/podofo/ChangeLog new file mode 100644 index 000000000000..79c061c84495 --- /dev/null +++ b/app-text/podofo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-text/podofo +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/ChangeLog,v 1.1 2009/10/03 20:58:06 zmedico Exp $ + +*podofo-0.7.0 (03 Oct 2009) + + 03 Oct 2009; Zac Medico <zmedico@gentoo.org> +podofo-0.7.0.ebuild, + +metadata.xml: + Initial import, based off of ebuild from kde-testing overlay. + diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest new file mode 100644 index 000000000000..5fd5e0b26022 --- /dev/null +++ b/app-text/podofo/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST podofo-0.7.0.tar.gz 1117023 RMD160 37721670a706da614b61ec9620fb1ef46aaff4ae SHA1 bd9862770c99f5790e6be53a57c77c5d4796d841 SHA256 1e57e0b2c0039519e9542302f358bf8d9b8de69ad9b19a030123802d1b2dedc2 +EBUILD podofo-0.7.0.ebuild 1311 RMD160 4462dd6da63a257d7976fd376305acc044d6376f SHA1 e759303bd44936ff978f49389df594eda209de5c SHA256 6dac532dc3de4283932bcfd4c7da1471e11b815c463a9d443d517da19aea62bf +MISC ChangeLog 384 RMD160 e3f258ac654547bdaf2dd2b183d0ba0a0eb062ec SHA1 2a164998da435d6f8d527d650928f569cf1e8cbc SHA256 b2cbf6bdb9f4d0d9151027433960141cb878e671f4b05e0614025215edf6d9b9 +MISC metadata.xml 281 RMD160 bf3e5cbb83f4f14256c6d6bc09bd22898b5f6268 SHA1 39a42829b95000e7d1f0aa8c51f5c9e05d025628 SHA256 f642b0c612a36d63543e97b07349b9683a0ca6246d32952e7bef76e1165f4750 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkrHuvYACgkQ/ejvha5XGaOtyACgz50HrPhEAGtAssiq9J6K/mF3 +PG4An0qKREOWGIOhlwxIo7aUsCtHOjQ5 +=SWVa +-----END PGP SIGNATURE----- diff --git a/app-text/podofo/metadata.xml b/app-text/podofo/metadata.xml new file mode 100644 index 000000000000..880718791f40 --- /dev/null +++ b/app-text/podofo/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>zmedico@gentoo.org</email></maintainer> +<use> + <flag name='boost'>Add support for boost</flag> +</use> +</pkgmetadata> diff --git a/app-text/podofo/podofo-0.7.0.ebuild b/app-text/podofo/podofo-0.7.0.ebuild new file mode 100644 index 000000000000..a791e50ec1a4 --- /dev/null +++ b/app-text/podofo/podofo-0.7.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/podofo-0.7.0.ebuild,v 1.1 2009/10/03 20:58:06 zmedico Exp $ + +EAPI="2" + +inherit cmake-utils multilib + +DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format." +HOMEPAGE="http://sourceforge.net/projects/podofo/" +SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+boost debug test" + +DEPEND="dev-lang/lua + dev-libs/openssl + >=dev-libs/STLport-5.1.5 + media-libs/fontconfig + media-libs/freetype:2 + media-libs/jpeg + media-libs/tiff + sys-libs/zlib + boost? ( dev-util/boost-build ) + test? ( dev-util/cppunit )" +RDEPEND="${DEPEND}" + +src_prepare() { + einfo "fixing LIBDIRNAME detection" + sed -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \ + -i CMakeLists.txt || die "fixing LIBDIRNAME detection failed" +} + +src_configure() { + mycmakeargs="${mycmakeargs} + -DPODOFO_BUILD_SHARED=1 + -DPODOFO_HAVE_JPEG_LIB=1 + -DPODOFO_HAVE_TIFF_LIB=1 + -DWANT_FONTCONFIG=1 + -DUSE_STLPORT=1 + $(cmake-utils_use_want boost) + $(cmake-utils_use_has test CPPUNIT)" + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc AUTHORS ChangeLog NEWS TODO || die "dodoc failed" +} |