diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-01-28 19:05:13 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-01-28 19:05:13 +0000 |
commit | 3c3cf411fdcdf1bf764c5c6fcaebe067fc09b6de (patch) | |
tree | d1184b5333412c7e7335e46f38ff201cf7630fcf /dev-java | |
parent | Initial addition. Needed for dev-java/flyingsaucer. Fixes bug #207928. Ebuild... (diff) | |
download | gentoo-2-3c3cf411fdcdf1bf764c5c6fcaebe067fc09b6de.tar.gz gentoo-2-3c3cf411fdcdf1bf764c5c6fcaebe067fc09b6de.tar.bz2 gentoo-2-3c3cf411fdcdf1bf764c5c6fcaebe067fc09b6de.zip |
Initial addition. Fixes bug #207913. Ebuild written by me.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/flyingsaucer/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/flyingsaucer/Manifest | 16 | ||||
-rw-r--r-- | dev-java/flyingsaucer/files/digest-flyingsaucer-7 | 3 | ||||
-rw-r--r-- | dev-java/flyingsaucer/flyingsaucer-7.ebuild | 70 | ||||
-rw-r--r-- | dev-java/flyingsaucer/metadata.xml | 11 |
5 files changed, 110 insertions, 0 deletions
diff --git a/dev-java/flyingsaucer/ChangeLog b/dev-java/flyingsaucer/ChangeLog new file mode 100644 index 000000000000..00034ffebe50 --- /dev/null +++ b/dev-java/flyingsaucer/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/flyingsaucer +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/flyingsaucer/ChangeLog,v 1.1 2008/01/28 19:05:11 betelgeuse Exp $ + +*flyingsaucer-7 (28 Jan 2008) + + 28 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml, + +flyingsaucer-7.ebuild: + Initial addition. Fixes bug #207913. Ebuild written by me. + diff --git a/dev-java/flyingsaucer/Manifest b/dev-java/flyingsaucer/Manifest new file mode 100644 index 000000000000..c67f291b5f8a --- /dev/null +++ b/dev-java/flyingsaucer/Manifest @@ -0,0 +1,16 @@ +DIST flyingsaucer-R7final-src.zip 7058444 RMD160 0c8e83d4d220a780ec2d8ad84b590827fbcf9ff2 SHA1 55945177bde5a2230d871aced975c067a3709f7b SHA256 d4539358ae08b5278334ec66beea78a821c9e6fba1db6159317e4c94fb2bf135 +EBUILD flyingsaucer-7.ebuild 1593 RMD160 25405f11aed7e271b7f04518ba7837ea3245540c SHA1 0ad793273888c1e81d23afab6170ce7da286545b SHA256 6cacaa8172abaf6adc929820969903e32b3844d14ee0599a225cb6a2376ceba7 +MD5 e705e4fd708e9cf554109f71db52b93a flyingsaucer-7.ebuild 1593 +RMD160 25405f11aed7e271b7f04518ba7837ea3245540c flyingsaucer-7.ebuild 1593 +SHA256 6cacaa8172abaf6adc929820969903e32b3844d14ee0599a225cb6a2376ceba7 flyingsaucer-7.ebuild 1593 +MISC ChangeLog 309 RMD160 5f9eb5b976458387f4c41ad0233406c5977c5852 SHA1 68ec51479d3022a9dc1de06017d0139f7bcb6f2f SHA256 c3b942d665c1513c36e662165c5fca25740836435c6bea00d466961493a413b8 +MD5 f94626d337b613c6fc25efd4d82a8301 ChangeLog 309 +RMD160 5f9eb5b976458387f4c41ad0233406c5977c5852 ChangeLog 309 +SHA256 c3b942d665c1513c36e662165c5fca25740836435c6bea00d466961493a413b8 ChangeLog 309 +MISC metadata.xml 358 RMD160 50ba955fa6d7095189d8869cb38a77341be28e2c SHA1 a62263957ef4a508de617bc1ab12f935058fdcd1 SHA256 f11840254a0f20cf6079b12acf98ecb829fcdf6a19e99e7cfda6a54f732a1131 +MD5 afa2cc8571c518e2c022c99b24b4d53d metadata.xml 358 +RMD160 50ba955fa6d7095189d8869cb38a77341be28e2c metadata.xml 358 +SHA256 f11840254a0f20cf6079b12acf98ecb829fcdf6a19e99e7cfda6a54f732a1131 metadata.xml 358 +MD5 ca0a9e99e677c6e307c2fd826a478b4a files/digest-flyingsaucer-7 268 +RMD160 be09ad47dee35f2e8e4a862b9015ccaddcd2cd72 files/digest-flyingsaucer-7 268 +SHA256 df9390b41a1b2bf3aab3a081948f2e1d63b00ece6ce999f017b985c4075d6b0d files/digest-flyingsaucer-7 268 diff --git a/dev-java/flyingsaucer/files/digest-flyingsaucer-7 b/dev-java/flyingsaucer/files/digest-flyingsaucer-7 new file mode 100644 index 000000000000..50e0aca25f25 --- /dev/null +++ b/dev-java/flyingsaucer/files/digest-flyingsaucer-7 @@ -0,0 +1,3 @@ +MD5 1adf2df8a462402bc4d4c52ab37dafe5 flyingsaucer-R7final-src.zip 7058444 +RMD160 0c8e83d4d220a780ec2d8ad84b590827fbcf9ff2 flyingsaucer-R7final-src.zip 7058444 +SHA256 d4539358ae08b5278334ec66beea78a821c9e6fba1db6159317e4c94fb2bf135 flyingsaucer-R7final-src.zip 7058444 diff --git a/dev-java/flyingsaucer/flyingsaucer-7.ebuild b/dev-java/flyingsaucer/flyingsaucer-7.ebuild new file mode 100644 index 000000000000..5f231222fe56 --- /dev/null +++ b/dev-java/flyingsaucer/flyingsaucer-7.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/flyingsaucer/flyingsaucer-7.ebuild,v 1.1 2008/01/28 19:05:11 betelgeuse Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="100% Java XHTML+CSS renderer" +HOMEPAGE="https://xhtmlrenderer.dev.java.net/" +SRC_URI="http://www.pdoubleya.com/projects/${PN}/downloads/r${PV}/${PN}-R${PV}final-src.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +IUSE="minimal svg" + +COMMON_DEP=" + dev-java/itext:0 + svg? ( dev-java/svgsalamander:0 )" + +# 1.5 because svgsalamander is 1.5 +RDEPEND=" + svg? ( >=virtual/jre-1.5 ) + !svg? ( >=virtual/jre-1.4 ) + ${COMMON_DEP}" +DEPEND=" + svg? ( >=virtual/jdk-1.5 ) + !svg? ( >=virtual/jdk-1.4 ) + app-arch/unzip + ${COMMON_DEP}" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd "${S}" + # Save lib/minium.jar because it's not publicly available although it's in + # public domain, will separate if something else needs it + rm -v lib/itext*.jar lib/dev/*.jar lib/dev/*/*.jar || die + cd lib + java-pkg_jar-from itext + if use svg; then + java-pkg_jar-from svgsalamander + EANT_BUILD_TARGET+=" jar.svg" + fi + + use minimal || EANT_BUILD_TARGET=" jar.docbook jar.about jar.browser" +} + +# Investigate building demos/photogallery demos/filebrowser +# seems the files are missing for jar.photogaller jar.filebrowser +EANT_BUILD_TARGET="jar.core" +EANT_DOC_TARGET="docs" + +RESTRICT="test" + +# Needs X11 +src_test() { + eant test -Djava.awt.headless=true +} + +src_install() { + dodoc README || die + java-pkg_dojar build/*.jar lib/minium.jar + use doc && java-pkg_dojavadoc doc/user/api + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/flyingsaucer/metadata.xml b/dev-java/flyingsaucer/metadata.xml new file mode 100644 index 000000000000..7cac896c1d96 --- /dev/null +++ b/dev-java/flyingsaucer/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + + <longdescription lang="en"> + Flying Saucer is a 100% Java XHTML+CSS renderer, including support + for table pagination, margin boxes, running elements, named pages, + and more. + </longdescription> +</pkgmetadata> |