1 |
commit: f21a55f93e024094d32d2a3a60f4b20495e65e33 |
2 |
Author: Mark Wright <gienah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 10 03:25:31 2020 +0000 |
4 |
Commit: Mark Wright <gienah <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 10 08:43:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f21a55f9 |
7 |
|
8 |
dev-java/gwt: Add for sci-mathematics/rstudio |
9 |
|
10 |
Thanks to Joel for reporting. Thanks to Joel, jakub, betelgeuse, |
11 |
Michael Speth, Hank Leininger, Raimonds Cicans, naota and |
12 |
monsieurp for working on this. |
13 |
|
14 |
Co-Authored-By: Patrice Clement <monsieurp <AT> gentoo.org> |
15 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=696944 |
16 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=171257 |
17 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
18 |
Signed-off-by: Mark Wright <gienah <AT> gentoo.org> |
19 |
|
20 |
dev-java/gwt/Manifest | 2 ++ |
21 |
dev-java/gwt/gwt-2.8.2.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++++ |
22 |
dev-java/gwt/metadata.xml | 21 +++++++++++++ |
23 |
3 files changed, 95 insertions(+) |
24 |
|
25 |
diff --git a/dev-java/gwt/Manifest b/dev-java/gwt/Manifest |
26 |
new file mode 100644 |
27 |
index 00000000000..45f07b6b71d |
28 |
--- /dev/null |
29 |
+++ b/dev-java/gwt/Manifest |
30 |
@@ -0,0 +1,2 @@ |
31 |
+DIST gwt-2.8.2.zip 22017212 BLAKE2B b112df08885e607c975f9585d6b83e2a12894e974850ada052918e4b946b11bfc8d9cf9d71f4e684121d9d16714885be549eed44d77a119e695c2b50cd6bc6c3 SHA512 ac16311c3b00b36d421eef914e73ad8dea01f022c87fc7ed722fdfee8eed391f1987cc1c34522978afc542cdb90eee791efcdcc725d9a395ab468e458b708074 |
32 |
+DIST gwt-tools-f42d2729a3a8e6ba9b9aec069957bce5dc0f6f6d.zip 577453206 BLAKE2B 83a3824d6418727876b4708ed44ab1f58513a5b39d4e48f9bf21290ca358f76ec2ccd98ce2aee76afe7f621fb1f703bf459b8c3d6a3d4f32d4be807bc723513e SHA512 f4f033c972d955da40258020a9fb84ae90f30b7afeb1ae8044cf00f4f5f45200129bf84e2f69660a4eb80bb60f3a5a1d3c5af69fe9e07e0b985de0e708ca933f |
33 |
|
34 |
diff --git a/dev-java/gwt/gwt-2.8.2.ebuild b/dev-java/gwt/gwt-2.8.2.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..3cc6b03863d |
37 |
--- /dev/null |
38 |
+++ b/dev-java/gwt/gwt-2.8.2.ebuild |
39 |
@@ -0,0 +1,72 @@ |
40 |
+# Copyright 1999-2020 Gentoo Authors |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=7 |
44 |
+ |
45 |
+JAVA_PKG_IUSE="source" |
46 |
+ |
47 |
+inherit java-pkg-2 java-ant-2 java-utils-2 |
48 |
+ |
49 |
+GWT_TOOLS_COMMIT="f42d2729a3a8e6ba9b9aec069957bce5dc0f6f6d" |
50 |
+GWT_TOOLS_PN="tools" |
51 |
+ |
52 |
+GWT_COMMIT="faff18e7a1f065e3a4ac4ef32ab5cce394557070" |
53 |
+ |
54 |
+DESCRIPTION="Google Web Toolkit library" |
55 |
+HOMEPAGE="http://www.gwtproject.org/" |
56 |
+SRC_URI="https://github.com/gwtproject/${PN}/archive/${PV}.zip -> ${P}.zip |
57 |
+ https://github.com/gwtproject/${GWT_TOOLS_PN}/archive/${GWT_TOOLS_COMMIT}.zip -> ${PN}-${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}.zip" |
58 |
+RESTRICT="mirror" |
59 |
+SLOT="2.8" |
60 |
+LICENSE="Apache-2.0" |
61 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
62 |
+IUSE="" |
63 |
+ |
64 |
+CDEPEND=" |
65 |
+ dev-java/json:0 |
66 |
+ dev-java/guava:20 |
67 |
+ dev-java/rhino:1.6 |
68 |
+ >=dev-java/asm-5.0.3:4 |
69 |
+ dev-java/eclipse-ecj:4.5 |
70 |
+ dev-java/validation-api:1.0 |
71 |
+" |
72 |
+ |
73 |
+RDEPEND=" |
74 |
+ ${CDEPEND} |
75 |
+ >=virtual/jre-1.8:*" |
76 |
+DEPEND=" |
77 |
+ ${CDEPEND} |
78 |
+ >=virtual/jdk-1.8:*" |
79 |
+ |
80 |
+JAVA_ANT_REWRITE_CLASSPATH="yes" |
81 |
+EANT_BUILD_XML="build.xml" |
82 |
+EANT_BUILD_TARGET="build" |
83 |
+EANT_EXTRA_ARGS="-Dgwt.gitrev=${GWT_COMMIT}" |
84 |
+EANT_GENTOO_CLASSPATH=" |
85 |
+ json |
86 |
+ asm-4 |
87 |
+ guava-20 |
88 |
+ rhino-1.6 |
89 |
+ eclipse-ecj-4.5 |
90 |
+ validation-api-1.0 |
91 |
+" |
92 |
+ |
93 |
+src_compile() { |
94 |
+ GWT_TOOLS="${WORKDIR}/${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}" \ |
95 |
+ GWT_VERSION="${PV}" \ |
96 |
+ java-pkg-2_src_compile |
97 |
+} |
98 |
+ |
99 |
+src_test() { |
100 |
+ GWT_TOOLS="${WORKDIR}/${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}" \ |
101 |
+ GWT_VERSION="${PV}" \ |
102 |
+ TZ=America/Los_Angeles ANT_OPTS=-Dfile.encoding=UTF-8 \ |
103 |
+ ant ${EANT_EXTRA_ARGS} test || die |
104 |
+} |
105 |
+ |
106 |
+src_install() { |
107 |
+ java-pkg_dojar \ |
108 |
+ build/lib/*.jar |
109 |
+ java-pkg_dolauncher i18nCreator --main com.google.gwt.i18n.tools.I18NCreator --jar gwt-dev.jar |
110 |
+ java-pkg_dolauncher webAppCreator --main com.google.gwt.user.tools.WebAppCreator --jar gwt-dev.jar |
111 |
+} |
112 |
|
113 |
diff --git a/dev-java/gwt/metadata.xml b/dev-java/gwt/metadata.xml |
114 |
new file mode 100644 |
115 |
index 00000000000..15024df0cf4 |
116 |
--- /dev/null |
117 |
+++ b/dev-java/gwt/metadata.xml |
118 |
@@ -0,0 +1,21 @@ |
119 |
+<?xml version="1.0" encoding="UTF-8"?> |
120 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
121 |
+<pkgmetadata> |
122 |
+ <maintainer type="person"> |
123 |
+ <email>gienah@g.o</email> |
124 |
+ <name>Mark Wright</name> |
125 |
+ </maintainer> |
126 |
+ <maintainer type="project"> |
127 |
+ <email>java@g.o</email> |
128 |
+ <name>Java</name> |
129 |
+ </maintainer> |
130 |
+ <longdescription lang="en"> |
131 |
+ GWT is a development toolkit for building and optimizing |
132 |
+ complex browser-based applications. Its goal is to enable |
133 |
+ productive development of high-performance web applications |
134 |
+ without the developer having to be an expert in browser |
135 |
+ quirks, XMLHttpRequest, and JavaScript. It’s open source, |
136 |
+ completely free, and used by thousands of developers around |
137 |
+ the world. |
138 |
+ </longdescription> |
139 |
+</pkgmetadata> |