summaryrefslogtreecommitdiff
path: root/dev-java/gin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-java/gin
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-java/gin')
-rw-r--r--dev-java/gin/Manifest3
-rw-r--r--dev-java/gin/gin-2.1.2.ebuild77
-rw-r--r--dev-java/gin/metadata.xml17
3 files changed, 97 insertions, 0 deletions
diff --git a/dev-java/gin/Manifest b/dev-java/gin/Manifest
new file mode 100644
index 000000000000..e5d5c84b93b5
--- /dev/null
+++ b/dev-java/gin/Manifest
@@ -0,0 +1,3 @@
+DIST google-gin-2.1.2.zip 5495552 BLAKE2B 3e07fc2e8f2e93872cb022dc57d5b06cfb81cfd855e8027fbcc312e2b95e0c8c35a783c6deb842fd1f40ae8c94e5c120f463c36e20d873a415ef62b0e717f490 SHA512 eb661760078d2053dd1f6cf0d96e9c2895c7d7fd805c14f4da63c28801b8aabb6a9cf6baff020bee3830a3ba1451bdf44d53d41cae1d720bded06f7d013d59c0
+EBUILD gin-2.1.2.ebuild 1513 BLAKE2B 48e0974df47c0c2779928e599de64f11d4e5a191c8ab62cacd694532bee89dd56d9c49f7973cd93a728ef8a416bcaa68a08df35809010117a41d6588459960c9 SHA512 98f19d22a51507e6849c3c27ba7d4f666c095b4bedde0a33e7c2135ec0ca49ac348e381db6e06ef3a2008f2b06ecb89686d29f9f5de69ef655d46fa0b57cd0c4
+MISC metadata.xml 557 BLAKE2B fbfae465245ee9fb076c37a02f6b9af1e47f304c1dd0e73a698638b1403a4665c9ac8a6cbe4202adf50ddbdbeb78f201c6330b70fcf453d6eaa1cfd2fdf374c3 SHA512 620701117b492028e619f8826d8efcb24c7861f3ac936d7a2506b2ed1da238555c74bb403ef60b333a2421515e891a9619338cd0b4f772ce2a72c0daa7c985c3
diff --git a/dev-java/gin/gin-2.1.2.ebuild b/dev-java/gin/gin-2.1.2.ebuild
new file mode 100644
index 000000000000..ef0a80cfdee8
--- /dev/null
+++ b/dev-java/gin/gin-2.1.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="google-gin"
+MY_P="${MY_PN}-${PV}"
+
+GIN_COMMIT="d62089f5b6ea33d842ab4646b51583c65a8be36b"
+
+DESCRIPTION="Google Gin (GWT INjection)"
+HOMEPAGE="https://gwtplus.github.io/google-gin/"
+SRC_URI="https://github.com/gwtplus/google-gin/archive/${GIN_COMMIT}.zip -> ${MY_P}.zip"
+RESTRICT="mirror"
+SLOT="2.1"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+CDEPEND="
+ dev-java/aopalliance:1
+ dev-java/javax-inject:0
+ dev-java/gwt:2.8
+ dev-java/validation-api:1.0
+"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.8:*"
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.8:*"
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+EANT_BUILD_XML="build.xml"
+EANT_GENTOO_CLASSPATH="
+ aopalliance-1
+ javax-inject
+ gwt-2.8
+ validation-api-1.0
+"
+
+S="${WORKDIR}/${MY_PN}-${GIN_COMMIT}"
+
+JAVA_RM_FILES=(
+ trunk/lib/aopalliance.jar
+ trunk/lib/javax.inject.jar
+ lib/aopalliance.jar
+ lib/javax.inject.jar
+)
+
+src_compile() {
+ local EANT_BUILD_TARGET="compile"
+ GWT_HOME="${EROOT}/usr/share/gwt-2.8/lib" \
+ java-pkg-2_src_compile
+ EANT_BUILD_TARGET="jars"
+ GWT_HOME="${EROOT}/usr/share/gwt-2.8/lib" \
+ java-pkg-2_src_compile
+}
+
+src_test() {
+ GWT_HOME="${EROOT}/usr/share/gwt-2.8/lib" \
+ ant test || die
+}
+
+src_install() {
+ java-pkg_newjar \
+ out/dist/${P}-src.jar ${PN}-src.jar
+ java-pkg_newjar \
+ out/dist/${P}.jar ${PN}.jar
+ java-pkg_dojar \
+ lib/*.jar
+}
diff --git a/dev-java/gin/metadata.xml b/dev-java/gin/metadata.xml
new file mode 100644
index 000000000000..f5c70373f274
--- /dev/null
+++ b/dev-java/gin/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gienah@gentoo.org</email>
+ <name>Mark Wright</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <longdescription lang="en">
+ Gin (GWT INjection) brings automatic dependency injection to
+ GWT client-side code. Gin is built on top of Guice and uses (a
+ subset of) Guice's binding language.
+ </longdescription>
+</pkgmetadata>