diff options
-rw-r--r-- | media-gfx/wkhtmltopdf/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/wkhtmltopdf/Manifest | 18 | ||||
-rw-r--r-- | media-gfx/wkhtmltopdf/metadata.xml | 9 | ||||
-rw-r--r-- | media-gfx/wkhtmltopdf/wkhtmltopdf-0.10.0_rc2.ebuild | 48 |
4 files changed, 85 insertions, 0 deletions
diff --git a/media-gfx/wkhtmltopdf/ChangeLog b/media-gfx/wkhtmltopdf/ChangeLog new file mode 100644 index 000000000000..01a00fad8d39 --- /dev/null +++ b/media-gfx/wkhtmltopdf/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-gfx/wkhtmltopdf +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/wkhtmltopdf/ChangeLog,v 1.1 2011/07/05 11:13:40 radhermit Exp $ + +*wkhtmltopdf-0.10.0_rc2 (05 Jul 2011) + + 05 Jul 2011; Tim Harder <radhermit@gentoo.org> + +wkhtmltopdf-0.10.0_rc2.ebuild, +metadata.xml: + Initial import. + diff --git a/media-gfx/wkhtmltopdf/Manifest b/media-gfx/wkhtmltopdf/Manifest new file mode 100644 index 000000000000..f729adb94c75 --- /dev/null +++ b/media-gfx/wkhtmltopdf/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST wkhtmltopdf-0.10.0_rc2.tar.bz2 107680 RMD160 af1de57252b2204127f20e51a6df7203ba415db1 SHA1 d70d7fc610b4f51980d6b0efb7cd6b84621a3182 SHA256 3df9a81f0b4823ab3b0ba60e218b206a264bcf810b078fd543e266295b577a5a +EBUILD wkhtmltopdf-0.10.0_rc2.ebuild 1066 RMD160 0928d78aab63c410fd569a0e3fd364622389bb30 SHA1 8bbf6f6d62fb0cecf12697f316e0342a952a10a4 SHA256 53d9d4d8d37aaa14a8b66d7e52e9370e6714dbcf33b70c2f223f6302e5626e87 +MISC ChangeLog 374 RMD160 c840fd28f54255573fc94857dcae7e76dbb1b800 SHA1 c739671a1137984bab93e59e378cea8a9b357098 SHA256 f7946a88cf1950e3d0f391774e276ac4a440c3fa50effc41532e70acc10e82ca +MISC metadata.xml 254 RMD160 161337e6910a0fd0b752294ab4aa7640c7c2aad6 SHA1 e1d817485dd8943fcb7bfefec4ccff1d56e5b2f7 SHA256 27ec031bea6f122f30a7a6ce887a0174396b7aa96aa28472472ac67b2b24078b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBAgAGBQJOEvHyAAoJEEqz6FtPBkyjhkIIAIGpNzDj4/beeBdTEf9er+lS +kyI/+MUKnSuj0zc3Z4VQQVBO1MkKxS9ebUCj20+PABTWbhuIU9nDi0iR09wrZpJt +5uvNAxGvfgoc3mpvq/pifX9suJ+PAZn3kuRJ/FmohOUM7ils6qoYyNsSygYYMvcv +kf287f6BgtDt4SxTMRoV0x0xC0ntObhWueuh3fRzEkW8oy6EuG4/jWDr8zUsGGxx +zUobSF8IIyvroBILolfJjPkPyxSkItNtoIPMkyMl9vVgBLAUt7eSWvVMAL8Zecn+ +Rz7me+BsHkcTJVoSlHln6VdeRCqxrIn4smOKTx7OygSiqnjLd/tQ7/D/bGAEmVM= +=f/oX +-----END PGP SIGNATURE----- diff --git a/media-gfx/wkhtmltopdf/metadata.xml b/media-gfx/wkhtmltopdf/metadata.xml new file mode 100644 index 000000000000..0ce86a2b9b52 --- /dev/null +++ b/media-gfx/wkhtmltopdf/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>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> diff --git a/media-gfx/wkhtmltopdf/wkhtmltopdf-0.10.0_rc2.ebuild b/media-gfx/wkhtmltopdf/wkhtmltopdf-0.10.0_rc2.ebuild new file mode 100644 index 000000000000..a203d5a6e6ad --- /dev/null +++ b/media-gfx/wkhtmltopdf/wkhtmltopdf-0.10.0_rc2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/wkhtmltopdf/wkhtmltopdf-0.10.0_rc2.ebuild,v 1.1 2011/07/05 11:13:40 radhermit Exp $ + +EAPI=4 + +inherit qt4-r2 multilib + +DESCRIPTION="Convert html to pdf (and various image formats) using webkit" +HOMEPAGE="http://code.google.com/p/wkhtmltopdf/" +SRC_URI="http://wkhtmltopdf.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="x11-libs/qt-gui:4 + x11-libs/qt-webkit:4 + x11-libs/qt-core:4 + x11-libs/qt-svg:4 + x11-libs/qt-xmlpatterns:4" +DEPEND="${RDEPEND}" + +# Tests pull data from websites and require a +# special patched version of qt so many fail +RESTRICT="test" + +src_prepare() { + sed -i -e "s:\(INSTALLBASE/\)lib:\1$(get_libdir):" src/lib/lib.pro || die +} + +src_configure() { + eqmake4 INSTALLBASE="${D}"/usr +} + +src_test() { + ./scripts/test.sh || die "Tests failed" +} + +src_install() { + default + + if use examples ; then + docinto examples + dodoc examples/* + fi +} |