summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-03 20:58:06 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-03 20:58:06 +0000
commit6df62fc1093e3c550add574a6aab30b4ea705a2f (patch)
tree9b561def746d60f9a55ed69a1f6fc2e3420f321d /app-text/podofo
parentVersion bump. (diff)
downloadgentoo-2-6df62fc1093e3c550add574a6aab30b4ea705a2f.tar.gz
gentoo-2-6df62fc1093e3c550add574a6aab30b4ea705a2f.tar.bz2
gentoo-2-6df62fc1093e3c550add574a6aab30b4ea705a2f.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.
(Portage version: 2.2_rc42_p14476/cvs/Linux i686)
Diffstat (limited to 'app-text/podofo')
-rw-r--r--app-text/podofo/ChangeLog10
-rw-r--r--app-text/podofo/metadata.xml9
-rw-r--r--app-text/podofo/podofo-0.7.0.ebuild52
3 files changed, 71 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/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"
+}