2014-06-23 10:51:13 +02:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2010-08-27 16:15:51 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2011-11-19 11:52:05 +01:00
|
|
|
EAPI=4
|
2010-08-27 16:15:51 +02:00
|
|
|
|
|
|
|
JAVA_PKG_IUSE="source doc"
|
|
|
|
JAVA_ANT_REWRITE_CLASSPATH="true"
|
|
|
|
EANT_GENTOO_CLASSPATH="jai-imageio,sun-jai-bin,jbig2,swt-3.4,jPod,iscwt,isfreetype,isnativec,isrt,jna"
|
|
|
|
|
|
|
|
inherit java-pkg-2 java-ant-2
|
|
|
|
|
|
|
|
DESCRIPTION="This is the jPod based PDF platform & rendering library."
|
|
|
|
HOMEPAGE="http://opensource.intarsys.de/"
|
|
|
|
SRC_URI="mirror://sourceforge/jpodrenderer/jPodRenderer.${PV}.zip"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
COMMON_DEP="dev-java/jai-imageio:0
|
|
|
|
dev-java/sun-jai-bin:0
|
|
|
|
dev-java/jbig2:0
|
|
|
|
dev-java/jna:0
|
|
|
|
dev-java/swt:3.4
|
|
|
|
dev-java/isrt:0
|
|
|
|
dev-java/isnativec:0
|
|
|
|
dev-java/isfreetype:0
|
|
|
|
dev-java/iscwt:0
|
|
|
|
dev-java/jPod:0"
|
2014-06-23 11:48:51 +02:00
|
|
|
RDEPEND=">=virtual/jre-1.7
|
2010-08-27 16:15:51 +02:00
|
|
|
${COMMON_DEP}"
|
2014-06-23 11:48:51 +02:00
|
|
|
DEPEND=">=virtual/jdk-1.7
|
2010-08-27 16:15:51 +02:00
|
|
|
${COMMON_DEP}
|
|
|
|
app-arch/unzip"
|
|
|
|
|
|
|
|
S="${WORKDIR}"/distribution
|
|
|
|
|
2011-11-19 11:52:05 +01:00
|
|
|
java_prepare() {
|
2010-08-27 16:15:51 +02:00
|
|
|
cp "${FILESDIR}"/build.* "${S}" || die
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
java-pkg_dojar build/jPodRenderer/dist/jPodRenderer.jar
|
|
|
|
java-pkg_dojar lib/jPodFonts.jar
|
|
|
|
|
|
|
|
use source && java-pkg_dosrc src/*
|
|
|
|
|
|
|
|
use doc && java-pkg_dojavadoc build/jPodRenderer/javadoc
|
|
|
|
}
|