2015-07-23 01:16:11 +02:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2010-08-27 15:25:05 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
JAVA_PKG_IUSE="source"
|
2011-06-08 17:26:24 +02:00
|
|
|
inherit java-pkg-2 java-ant-2 subversion
|
2010-08-27 15:25:05 +02:00
|
|
|
|
2011-06-08 17:26:24 +02:00
|
|
|
ESVN_REPO_URI="https://svn.java.net/svn/jai-imageio-core~svn/tags/jai-imageio-1_1-fcs"
|
2010-08-27 15:25:05 +02:00
|
|
|
|
|
|
|
DESCRIPTION="A library for managing images based on JAI"
|
2011-06-08 17:26:24 +02:00
|
|
|
HOMEPAGE="http://java.net/projects/jai-imageio-core/"
|
2010-08-27 15:25:05 +02:00
|
|
|
LICENSE="jai-imageio sun-bcla-jclib4jai"
|
|
|
|
SLOT="0"
|
2015-07-23 01:16:11 +02:00
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
2010-08-27 15:25:05 +02:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
CDEPEND="dev-java/sun-jai-bin"
|
|
|
|
|
|
|
|
DEPEND="${CDEPEND}
|
|
|
|
>=virtual/jdk-1.4"
|
|
|
|
|
|
|
|
RDEPEND="${CDEPEND}
|
|
|
|
>=virtual/jre-1.4"
|
|
|
|
|
|
|
|
S="${WORKDIR}/${PN}-core"
|
|
|
|
JAVA_ANT_REWRITE_CLASSPATH="true"
|
|
|
|
EANT_GENTOO_CLASSPATH="sun-jai-bin"
|
|
|
|
EANT_GENTOO_CLASSPATH_EXTRA="src/share/jclib4jai/clibwrapper_jiio.jar"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dohtml www/index.html || die
|
|
|
|
use source && java-pkg_dosrc src/share/classes/*
|
|
|
|
|
|
|
|
cd build/*/opt/lib || die
|
|
|
|
java-pkg_dojar ext/clibwrapper_jiio.jar ext/jai_imageio.jar
|
|
|
|
java-pkg_doso */libclib_jiio.so
|
|
|
|
}
|