diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-05-31 07:03:43 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-05-31 07:03:43 +0000 |
commit | 7e658ed9dba9a7d5ec250be79e10ef0cfc873baf (patch) | |
tree | 124a0f5e8ca081f692fa1e8413c0298e49295785 /app-text/poppler-bindings | |
parent | Version bump, remove old broken version, please unmask after some testing (diff) | |
download | gentoo-2-7e658ed9dba9a7d5ec250be79e10ef0cfc873baf.tar.gz gentoo-2-7e658ed9dba9a7d5ec250be79e10ef0cfc873baf.tar.bz2 gentoo-2-7e658ed9dba9a7d5ec250be79e10ef0cfc873baf.zip |
Version bump, remove old broken version, please unmask after some testing
(Portage version: 2.1_rc3-r2)
Diffstat (limited to 'app-text/poppler-bindings')
-rw-r--r-- | app-text/poppler-bindings/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/poppler-bindings/files/digest-poppler-bindings-0.5.3 | 3 | ||||
-rw-r--r-- | app-text/poppler-bindings/poppler-bindings-0.5.3.ebuild | 71 |
3 files changed, 82 insertions, 1 deletions
diff --git a/app-text/poppler-bindings/ChangeLog b/app-text/poppler-bindings/ChangeLog index b870059136ca..bb44c7e1e0c1 100644 --- a/app-text/poppler-bindings/ChangeLog +++ b/app-text/poppler-bindings/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/poppler-bindings # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.34 2006/05/30 04:14:25 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/ChangeLog,v 1.35 2006/05/31 07:03:43 genstef Exp $ + +*poppler-bindings-0.5.3 (31 May 2006) + + 31 May 2006; Stefan Schweizer <genstef@gentoo.org> + -files/poppler-0.5.2-qt4-annotation-helper.patch, + -poppler-bindings-0.5.2.ebuild, +poppler-bindings-0.5.3.ebuild: + Version bump, remove old broken version, please unmask after some testing 30 May 2006; Joseph Jezak <josejx@gentoo.org> poppler-bindings-0.5.1-r1.ebuild: diff --git a/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.3 b/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.3 new file mode 100644 index 000000000000..be8336be3bad --- /dev/null +++ b/app-text/poppler-bindings/files/digest-poppler-bindings-0.5.3 @@ -0,0 +1,3 @@ +MD5 d06207536555f5711e7bc61711c1b8a0 poppler-0.5.3.tar.gz 1049900 +RMD160 3456de23955fc4001842c76d32deba308bd7f968 poppler-0.5.3.tar.gz 1049900 +SHA256 5cfabff39670610fa8f5c33da7b9b0ae89d445445be6d6c245cdce8bf3f24190 poppler-0.5.3.tar.gz 1049900 diff --git a/app-text/poppler-bindings/poppler-bindings-0.5.3.ebuild b/app-text/poppler-bindings/poppler-bindings-0.5.3.ebuild new file mode 100644 index 000000000000..eabe716a4de7 --- /dev/null +++ b/app-text/poppler-bindings/poppler-bindings-0.5.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-bindings/poppler-bindings-0.5.3.ebuild,v 1.1 2006/05/31 07:03:43 genstef Exp $ + +inherit autotools eutils multilib + +MY_P=${P/-bindings/} +DESCRIPTION="Poppler bindings are rendering bindings for GUI toolkits for poppler" +HOMEPAGE="http://poppler.freedesktop.org" +SRC_URI="http://poppler.freedesktop.org/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="gtk qt cairo qt4" + +RDEPEND="~app-text/poppler-${PV} + cairo? ( >=x11-libs/cairo-0.5 ) + gtk? ( + >=x11-libs/gtk+-2.6 + >=gnome-base/libglade-2 + ) + qt? ( =x11-libs/qt-3* ) + qt4? ( =x11-libs/qt-4* )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=sys-devel/automake-1.9.6" + +S="${WORKDIR}/${MY_P}" + +src_unpack(){ + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/poppler-0.5.2-bindings.patch + + AT_M4DIR="m4" eautoreconf + sed -i s:/usr/lib/qt:/usr/lib/qt4: configure +} + +src_compile() { + # Configure needs help finding qt libs on multilib systems + export QTLIB="${QTDIR}/$(get_libdir)" + echo $QTLIB + + econf --enable-opi \ + $(use_enable cairo cairo-output) \ + $(use_enable gtk poppler-glib) \ + $(use_enable qt poppler-qt) \ + $(use_enable qt4 poppler-qt4) \ + || die "configuration failed" + cd poppler + if use cairo; then + emake libpoppler-cairo.la || die "cairo failed" + fi + if use qt4; then + emake libpoppler-arthur.la || die "arthur failed" + fi + cd .. + emake || die "compilation failed" +} + +src_install() { + use cairo && dolib.a poppler/libpoppler-cairo.la + make DESTDIR=${D} install || die "make install failed" +} + +pkg_postinst() { + ewarn "You need to rebuild everything depending on poppler, use revdep-rebuild" +} |