diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-04-01 14:44:00 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-04-01 14:44:00 +0000 |
commit | c4e2a88c210618c41802e7fb9088cefffb407a77 (patch) | |
tree | 207881db7f919c06727f53f2b877cce77b9bb65d /dev-libs/poppler-glib | |
parent | Add dev-libs/poppler w.r.t. bug 264230 (diff) | |
download | gentoo-2-c4e2a88c210618c41802e7fb9088cefffb407a77.tar.gz gentoo-2-c4e2a88c210618c41802e7fb9088cefffb407a77.tar.bz2 gentoo-2-c4e2a88c210618c41802e7fb9088cefffb407a77.zip |
Add dev-libs/poppler-glib w.r.t. bug 264230
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/poppler-glib')
-rw-r--r-- | dev-libs/poppler-glib/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/poppler-glib/metadata.xml | 9 | ||||
-rw-r--r-- | dev-libs/poppler-glib/poppler-glib-0.10.5.ebuild | 44 |
3 files changed, 63 insertions, 0 deletions
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 <loki_val@gentoo.org> +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>printing</herd> +<maintainer> + <email>loki_val@gentoo.org</email> + <name>Peter Alfredsen</name> +</maintainer> +</pkgmetadata> 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 +} |