1 |
commit: d621e4a9e80c0220b643014776cd8be742e4f114 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 18 09:57:31 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 18 09:57:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d621e4a9 |
7 |
|
8 |
dev-java/jansi: removed obsolete 2.4.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
dev-java/jansi/jansi-2.4.0.ebuild | 78 --------------------------------------- |
14 |
1 file changed, 78 deletions(-) |
15 |
|
16 |
diff --git a/dev-java/jansi/jansi-2.4.0.ebuild b/dev-java/jansi/jansi-2.4.0.ebuild |
17 |
deleted file mode 100644 |
18 |
index e93adc8efc55..000000000000 |
19 |
--- a/dev-java/jansi/jansi-2.4.0.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,78 +0,0 @@ |
22 |
-# Copyright 1999-2022 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-# Skeleton command: |
26 |
-# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/fusesource/jansi/archive/refs/tags/jansi-2.4.0.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jansi-2.4.0.ebuild |
27 |
- |
28 |
-EAPI=8 |
29 |
- |
30 |
-JAVA_PKG_IUSE="doc source" |
31 |
-MAVEN_ID="org.fusesource.jansi:jansi:2.4.0" |
32 |
- |
33 |
-inherit java-pkg-2 java-pkg-simple toolchain-funcs |
34 |
- |
35 |
-DESCRIPTION="Jansi is a java library for generating and interpreting ANSI escape sequences." |
36 |
-HOMEPAGE="http://fusesource.github.io/jansi" |
37 |
-SRC_URI="https://github.com/fusesource/${PN}/archive/refs/tags/${P}.tar.gz" |
38 |
- |
39 |
-LICENSE="Apache-2.0" |
40 |
-SLOT="2" |
41 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
42 |
- |
43 |
-# Compile dependencies |
44 |
-# POM: pom.xml |
45 |
-# test? info.picocli:picocli-codegen:4.5.2 -> !!!artifactId-not-found!!! |
46 |
-# test? org.junit.jupiter:junit-jupiter:5.7.0 -> !!!groupId-not-found!!! |
47 |
-# test? org.junit.jupiter:junit-jupiter-params:5.7.0 -> !!!groupId-not-found!!! |
48 |
- |
49 |
-DEPEND=">=virtual/jdk-1.8:*" |
50 |
- |
51 |
-# junit-jupiter is not available in ::gentoo |
52 |
-# test? ( |
53 |
-# !!!artifactId-not-found!!! |
54 |
-# !!!groupId-not-found!!! |
55 |
-# ) |
56 |
-#" |
57 |
- |
58 |
-RDEPEND=">=virtual/jre-1.8:*" |
59 |
- |
60 |
-DOCS=( {changelog,readme}.md license.txt ) |
61 |
- |
62 |
-S="${WORKDIR}/${PN}-${P}" |
63 |
- |
64 |
-JAVA_SRC_DIR="src/main/java" |
65 |
-JAVA_RESOURCE_DIRS="src/main/resources" |
66 |
-JAVA_MAIN_CLASS="org.fusesource.jansi.AnsiMain" |
67 |
- |
68 |
-# junit-jupiter is not available in ::gentoo |
69 |
-#JAVA_TEST_GENTOO_CLASSPATH="!!!artifactId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!" |
70 |
-#JAVA_TEST_SRC_DIR="src/test/java" |
71 |
-#JAVA_TEST_RESOURCE_DIRS="src/test/resources" |
72 |
- |
73 |
-src_prepare() { |
74 |
- default |
75 |
- # Remove this directory containing libjansi.so, libjansi.jnilib and jansi.dll |
76 |
- rm -r "${JAVA_RESOURCE_DIRS}/org/fusesource/jansi/internal/native" || die |
77 |
-} |
78 |
- |
79 |
-src_compile() { |
80 |
- java-pkg-simple_src_compile |
81 |
- |
82 |
- # build native library. |
83 |
- local args=( |
84 |
- CCFLAGS="${CFLAGS} ${CXXFLAGS} -Os -fPIC -fvisibility=hidden" |
85 |
- LINKFLAGS="-shared" |
86 |
- CC="$(tc-getCC)" |
87 |
- STRIP="$(tc-getSTRIP)" |
88 |
- LIBNAME="libjansi-$(ver_cut 1-2).so" |
89 |
- ) |
90 |
- emake "${args[@]}" native |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- # default # https://bugs.gentoo.org/789582 |
95 |
- # deafult fails with |
96 |
- # make: *** No rule to make target 'install'. Stop. |
97 |
- java-pkg_doso target/native--/libjansi-$(ver_cut 1-2).so |
98 |
- java-pkg-simple_src_install |
99 |
-} |