From c4e2a88c210618c41802e7fb9088cefffb407a77 Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Wed, 1 Apr 2009 14:44:00 +0000 Subject: Add dev-libs/poppler-glib w.r.t. bug 264230 (Portage version: 2.2_rc28/cvs/Linux x86_64) --- dev-libs/poppler-glib/ChangeLog | 10 ++++++ dev-libs/poppler-glib/metadata.xml | 9 +++++ dev-libs/poppler-glib/poppler-glib-0.10.5.ebuild | 44 ++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 dev-libs/poppler-glib/ChangeLog create mode 100644 dev-libs/poppler-glib/metadata.xml create mode 100644 dev-libs/poppler-glib/poppler-glib-0.10.5.ebuild diff --git a/dev-libs/poppler-glib/ChangeLog b/dev-libs/poppler-glib/ChangeLog new file mode 100644 index 000000000000..61fbe03479b3 --- /dev/null +++ b/dev-libs/poppler-glib/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/poppler-glib +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/poppler-glib/ChangeLog,v 1.1 2009/04/01 14:44:00 loki_val Exp $ + +*poppler-glib-0.10.5 (01 Apr 2009) + + 01 Apr 2009; Peter Alfredsen +metadata.xml, + +poppler-glib-0.10.5.ebuild: + Add dev-libs/poppler-glib w.r.t. bug 264230 + diff --git a/dev-libs/poppler-glib/metadata.xml b/dev-libs/poppler-glib/metadata.xml new file mode 100644 index 000000000000..1fab2d1eca81 --- /dev/null +++ b/dev-libs/poppler-glib/metadata.xml @@ -0,0 +1,9 @@ + + + +printing + + loki_val@gentoo.org + Peter Alfredsen + + diff --git a/dev-libs/poppler-glib/poppler-glib-0.10.5.ebuild b/dev-libs/poppler-glib/poppler-glib-0.10.5.ebuild new file mode 100644 index 000000000000..359c8f36c2d8 --- /dev/null +++ b/dev-libs/poppler-glib/poppler-glib-0.10.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/poppler-glib/poppler-glib-0.10.5.ebuild,v 1.1 2009/04/01 14:44:00 loki_val Exp $ + +EAPI=2 + +POPPLER_MODULE=glib + +inherit poppler + +DESCRIPTION="Glib bindings for poppler" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="+cairo" + +RDEPEND=" + ~dev-libs/poppler-${PV} + >=dev-libs/glib-2.16 + cairo? ( >=x11-libs/cairo-1.4 ) + " +DEPEND=" + ${RDEPEND} + dev-util/pkgconfig + " + +pkg_setup() { + POPPLER_CONF="$(use_enable cairo cairo-output)" + POPPLER_PKGCONFIG=( poppler-glib.pc cairo=poppler-cairo.pc ) +} + +src_prepare() { + poppler_src_prepare + sed -i \ + -e 's:reference::' \ + -e 's:demo::' \ + glib/Makefile.in || die "Fixing glib Makefile.in failed" +} + +src_compile() { + use cairo && POPPLER_MODULE_S="${S}/poppler" poppler_src_compile libpoppler-cairo.la + poppler_src_compile +} -- cgit v1.2.3-65-gdbad