From d3ff193fc9af8c37f1d100e9aafa629ab82bdc3b Mon Sep 17 00:00:00 2001 From: geos_one Date: Mon, 20 Apr 2009 21:21:33 +0000 Subject: [PATCH] add jpodrenderer git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1151 6952d904-891a-0410-993b-d76249ca496b --- dev-java/jPodRenderer/Manifest | 5 + dev-java/jPodRenderer/files/build.properties | 18 +++ dev-java/jPodRenderer/files/build.xml | 110 ++++++++++++++++++ .../jPodRenderer-5.0.20081218.ebuild | 83 +++++++++++++ dev-java/jPodRenderer/metadata.xml | 5 + 5 files changed, 221 insertions(+) create mode 100644 dev-java/jPodRenderer/Manifest create mode 100644 dev-java/jPodRenderer/files/build.properties create mode 100644 dev-java/jPodRenderer/files/build.xml create mode 100644 dev-java/jPodRenderer/jPodRenderer-5.0.20081218.ebuild create mode 100644 dev-java/jPodRenderer/metadata.xml diff --git a/dev-java/jPodRenderer/Manifest b/dev-java/jPodRenderer/Manifest new file mode 100644 index 00000000..41d6299a --- /dev/null +++ b/dev-java/jPodRenderer/Manifest @@ -0,0 +1,5 @@ +AUX build.properties 206 RMD160 c1af7d5c00ba121595c480ed69b1d46d599ded0f SHA1 615484e4d408d6bdc8e72511b1fa927633abcbf8 SHA256 ea963899bb772587a3bbf9321d5b26e440886c975bf7cd25c3729a47884b1326 +AUX build.xml 4232 RMD160 74131b8b0f2c9747fbb78cdd95b5f130c86f7f78 SHA1 c4e4b04f4ccde79db5ee4fce3d20f1696286c04e SHA256 9c13c78fde850ec196c793c783338252def30d40adc94ab6afcd007f815f46ba +DIST jPodRenderer.5.0.20081218.zip 8216503 RMD160 ee160d1fd8fe0f61e2bb80de455c35b46a4e67e2 SHA1 8a6d7bb06b56fb174b9c1c2c529deded5ddd87de SHA256 b94a3167df467415bd9e79aee9560af678c3578991bca52f82e69f54a47974ff +EBUILD jPodRenderer-5.0.20081218.ebuild 2359 RMD160 d2d4ff8b68e7d6809397a764526eee99578dfbef SHA1 0781bf11776b809aa12f6cc04816c221e5f75963 SHA256 73ef420d4e5048d8355bd7b26b2a080f42582c504933e9c647297b1b2b6ec9a6 +MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb diff --git a/dev-java/jPodRenderer/files/build.properties b/dev-java/jPodRenderer/files/build.properties new file mode 100644 index 00000000..47cb4b85 --- /dev/null +++ b/dev-java/jPodRenderer/files/build.properties @@ -0,0 +1,18 @@ +#where classes are compiled, jars distributed, javadocs created and release created +build.dir=build + +#libraries +libs.dir=lib +jai_codec.jar.name=jai_codec +jai_core.jar.name=jai_core +jai_imageio.jar.name=jai_imageio +jbig2.jar.name=jbig2 +jna.jar.name=jna +swt.jar.name=swt +isrt.jar.name=isrt +isnativec.jar.name=isnativec +isfreetype.jar.name=isfreetype +iscwt.jar.name=iscwt +jPod.jar.name=jPod +jPodRenderer.jar.name=jPodRenderer + diff --git a/dev-java/jPodRenderer/files/build.xml b/dev-java/jPodRenderer/files/build.xml new file mode 100644 index 00000000..6a4e364f --- /dev/null +++ b/dev-java/jPodRenderer/files/build.xml @@ -0,0 +1,110 @@ + + + + This is a window toolkit and basic rendering abstraction layer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/jPodRenderer/jPodRenderer-5.0.20081218.ebuild b/dev-java/jPodRenderer/jPodRenderer-5.0.20081218.ebuild new file mode 100644 index 00000000..d59ef5a5 --- /dev/null +++ b/dev-java/jPodRenderer/jPodRenderer-5.0.20081218.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="This is the jPod based PDF platform & rendering library." +HOMEPAGE="http://jpwgen.berlios.de/" +SRC_URI="mirror://sourceforge/jpodrenderer/jPodRenderer.${PV}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +COMMON_DEP="dev-java/sun-jai-imageio + dev-java/sun-jai-bin + dev-java/jbig2 + dev-java/jna + dev-java/swt:3.4 + dev-java/isrt + dev-java/isnativec + dev-java/isfreetype + dev-java/iscwt + dev-java/jPod" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP} + app-arch/unzip" + +S="${WORKDIR}"/distribution + +src_unpack() { + unpack ${A} + + cd "${S}" + mkdir ant + cp "${FILESDIR}/build.xml" "${S}"/ant + + echo > ${S}/ant/build.properties + echo "build.dir=${S}/build" >> ${S}/ant/build.properties + echo "libs.dir=${S}" >> ${S}/ant/build.properties + echo "jai_codec.jar.name=jai_codec" >> ${S}/ant/build.properties + echo "jai_core.jar.name=jai_core" >> ${S}/ant/build.properties + echo "jai_imageio.jar.name=jai_imageio" >> ${S}/ant/build.properties + echo "jbig2.jar.name=jbig2" >> ${S}/ant/build.properties + echo "jna.jar.name=jna" >> ${S}/ant/build.properties + echo "swt.jar.name=swt" >> ${S}/ant/build.properties + echo "isrt.jar.name=isrt" >> ${S}/ant/build.properties + echo "isnativec.jar.name=isnativec" >> ${S}/ant/build.properties + echo "isfreetype.jar.name=isfreetype" >> ${S}/ant/build.properties + echo "iscwt.jar.name=iscwt" >> ${S}/ant/build.properties + echo "jPod.jar.name=jPod" >> ${S}/ant/build.properties + echo "jPodRenderer.jar.name=jPodRenderer" >> ${S}/ant/build.properties + + java-pkg_jarfrom sun-jai-imageio + java-pkg_jarfrom sun-jai-bin + java-pkg_jarfrom jbig2 + java-pkg_jarfrom jna + java-pkg_jarfrom swt-3.4 + java-pkg_jarfrom isrt + java-pkg_jarfrom isnativec + java-pkg_jarfrom isfreetype + java-pkg_jarfrom iscwt + java-pkg_jarfrom jPod +} + +src_compile() { + eant ${antflags} -buildfile ant/build.xml || die "build failed" + + use doc && eant ${antflags} -buildfile ant/build.xml javadoc || die "doc build failed" +} + +src_install() { + java-pkg_dojar build/jPodRenderer/dist/jPodRenderer.jar + + use source && java-pkg_dosrc src/* + + use doc && java-pkg_dojavadoc build/jPodRenderer/javadoc +} diff --git a/dev-java/jPodRenderer/metadata.xml b/dev-java/jPodRenderer/metadata.xml new file mode 100644 index 00000000..250f2d19 --- /dev/null +++ b/dev-java/jPodRenderer/metadata.xml @@ -0,0 +1,5 @@ + + + + java +