1 |
commit: 945b7b855d6bfd8aaa2be9ff53f49a5c5f77c94a |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 17 07:01:22 2020 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 17 07:10:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945b7b85 |
7 |
|
8 |
app-eselect/eselect-java: bump to 0.4.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/742335 |
11 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
app-eselect/eselect-java/Manifest | 1 + |
15 |
app-eselect/eselect-java/eselect-java-0.4.1.ebuild | 39 ++++++++++++++++++++++ |
16 |
2 files changed, 40 insertions(+) |
17 |
|
18 |
diff --git a/app-eselect/eselect-java/Manifest b/app-eselect/eselect-java/Manifest |
19 |
index 413648787cd..b1a60adfae2 100644 |
20 |
--- a/app-eselect/eselect-java/Manifest |
21 |
+++ b/app-eselect/eselect-java/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST eselect-java-0.4.0.tar.xz 13412 BLAKE2B da3df5c342b1632d1cc597909283cfcb7cb71d4bff04c2aa3253110f06b8addc5121efe1a50409f2b297c70c4f816a385a0199e68821acb6c48e3065d3097b37 SHA512 a1bdb2554e4dc78d980cab80591f6e0c537f983ae78d2ca98bda8f5292cf749fa5a9983dc51c6576176566f2fcc255ca40b04c26bd1b5d7f1db2d12b76048567 |
24 |
+DIST eselect-java-0.4.1.tar.bz2 13737 BLAKE2B e1b0c9a0f1ca08efe47c14aeabb152b7c02cef028d1e62914199896fe70c978f2851f899ec8dd233be5ec86c62d55f250c9360f6b8932f11288b75a4334732b2 SHA512 0a47a448d75a006e1bf117817f73eebcb586f4da2e597663eaaa00824b1bcfb2779c06bf8bc6e83df6d7993fe28fbe02d3b259b4c6cf3e5c2792b999097fcbe8 |
25 |
|
26 |
diff --git a/app-eselect/eselect-java/eselect-java-0.4.1.ebuild b/app-eselect/eselect-java/eselect-java-0.4.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..396c1244404 |
29 |
--- /dev/null |
30 |
+++ b/app-eselect/eselect-java/eselect-java-0.4.1.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools |
38 |
+ |
39 |
+DESCRIPTION="A set of eselect modules for Java" |
40 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" |
41 |
+SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ !app-eselect/eselect-ecj |
49 |
+ !app-eselect/eselect-maven |
50 |
+ !<dev-java/java-config-2.2 |
51 |
+ app-admin/eselect" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ eautoreconf |
56 |
+} |
57 |
+ |
58 |
+pkg_postinst() { |
59 |
+ local REMOVED=0 |
60 |
+ |
61 |
+ rm -v "${EROOT}"/usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1 |
62 |
+ rm -v "${EROOT}"/etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1 |
63 |
+ |
64 |
+ if [[ ${REMOVED} = 1 ]]; then |
65 |
+ elog "The eselect java-nsplugin module has been removed and your configuration" |
66 |
+ elog "has been cleaned up. From now on, you may only install either Oracle or" |
67 |
+ elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an" |
68 |
+ elog "Oracle VM. See the README installed with icedtea-web for more details." |
69 |
+ fi |
70 |
+} |