diff options
Diffstat (limited to 'dev-java/jide-oss')
-rw-r--r-- | dev-java/jide-oss/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jide-oss/jide-oss-3.7.12.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/jide-oss/Manifest b/dev-java/jide-oss/Manifest index 748e4d14c78f..f1e95d69c134 100644 --- a/dev-java/jide-oss/Manifest +++ b/dev-java/jide-oss/Manifest @@ -1,5 +1,7 @@ DIST jide-oss-3.6.12.tar.gz 4751908 BLAKE2B 731e2c2308e1a7d118a348e3f88258078e16b15f0b3c5bd2ab2ded72d75c4a4c2649e6928d9fbdd1ba7d7b99589a7c1090cb10798e678c44f830df26f0afedff SHA512 a2a60a2af653a1c20099fe81479aadfd252eed086c1009c20a17b561502748cca1cc4b016fe184a60dcb281fd5843c63ad876ca93062bb788e55b485d0e46124 DIST jide-oss-3.6.18.tar.gz 4752506 BLAKE2B dae7fa89da88295ef5aee03e54778c971b44cc2fc6c017d2e9b24ff9454b9691c34849c9649435ac0a04b28f7fb1ac6b1c147e7fb632e2e30461cf388b3dee7f SHA512 c35f4e5b0462247bb8cc207e1f2120f6a861e796893ce6e7c55e06cab76da84402b3465d420f3fc8d09490f0eb98361d3609bb1675beb9fbf145be4c0bd5ea8c +DIST jide-oss-3.7.12.tar.gz 4819086 BLAKE2B 9f84b8f9e87b6e74844e11c925546b9a43ae99476c91b84be9269dd8e31658889c3cf38cd67c4a5ec94419d8c5ccecb600c55f747d15e3427e01eb146b0ee755 SHA512 f17ab94fd77237fa0891eb87972b0630a0709fbd7e5d07e6d8389fd18668747d13ca9f631f81cf1153f7d233131a0500e8e76dabf8d33fdce846db14f9958456 EBUILD jide-oss-3.6.12.ebuild 705 BLAKE2B 9033662f779b7768f4ad56e1771409a3c476f0ad30d3bb5c54ef21aa0e966c3f26533e4e19a3710f871c258e27fe85cbec10679afc889cc3e474d0a05926ef44 SHA512 4bd5def7916adff670bef949d78ff3dc70d07280b7e75060e6e2bcb3bf3fb98c571d3911e53abe30c5be6bf45188466f73d0e97e566febaff5c1f798f8cf2fa9 EBUILD jide-oss-3.6.18.ebuild 658 BLAKE2B c3c36d5099d427427dbde7169d11411699966a1f8476e3da8215d96404f36247d74faebf9daf451325c2eb40f8a3e3f081758db97313fb9407936758b4523e8e SHA512 ba47cd9be0cd006fc0beba591e4982734050b98692fbf12c09fd1317029b2e930aa69f2037cfbd1912b16b7cad2146c734385ad1ecba48baad0483d9c5d23a9b +EBUILD jide-oss-3.7.12.ebuild 1808 BLAKE2B 529bdd602f14f22dc744f11581f476b91cd23464830940b21baeebb8ddd4d946fbb19ed1b4a8be42f8010315511bca34460bb2d5e8db7f17ff6a822621e58705 SHA512 dd8b749515c3bb4f0125a32b5c37c0a0e90aea620a9cbc323a574e6c81aacdd0a40b30a918849c33a98c73c5e017d9428dbb883c9155bc3bb676a0a6f95c024b MISC metadata.xml 648 BLAKE2B 5cfa79058c3e1e448ea36658dc31dfc7cabad5e9b182c0323a7bfa4b5a2731fb1576077efa90f9b884c02581cb1a27690e4ff36a52d604ffc1fb6add83d2d5d4 SHA512 ec85bfd3f9a4311c5b0ab7314ff9f0e9806eed63cab859f7315b1e693bb74a516ba32786bec62ce826b4eed8e149f4d0e60de4a9cf1311da970f5b7ba443b865 diff --git a/dev-java/jide-oss/jide-oss-3.7.12.ebuild b/dev-java/jide-oss/jide-oss-3.7.12.ebuild new file mode 100644 index 000000000000..6445ab563a08 --- /dev/null +++ b/dev-java/jide-oss/jide-oss-3.7.12.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jidesoft/jide-oss/archive/19083238ce00ecbd7370f856cb64ea69dae669a5.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild jide-oss.3.7.12-r2.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.jidesoft:jide-oss:3.7.12" +JAVA_TESTING_FRAMEWORKS="junit-4" +MY_COMMIT="19083238ce00ecbd7370f856cb64ea69dae669a5" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JIDE Common Layer (Professional Swing Components)" +HOMEPAGE="https://github.com/jidesoft/jide-oss" +SRC_URI="https://github.com/jidesoft/jide-oss/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2-with-exceptions" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Upstream does not support java-11 +# https://github.com/jidesoft/jide-oss/issues/30 +DEPEND="virtual/jdk:1.8" +RDEPEND="virtual/jre:1.8" + +DOCS=( {LICENSE,'Readme JDK9',README}.txt libs/README_lib ) + +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +JAVA_GENTOO_CLASSPATH_EXTRA="libs/ui.jar" +JAVA_SRC_DIR=( "src" "src-jdk8" ) +JAVA_RESOURCE_DIRS=( "src" "properties" ) + +JAVA_TEST_SRC_DIR="test" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" + +JAVA_TEST_EXCLUDES=( + "com.jidesoft.swing.CornerScrollerVisualTest" # No runnable methods + "com.jidesoft.swing.TestResizableWindow" # No runnable methods + "com.jidesoft.utils.TestCacheArray" # No runnable methods + # junit.framework.AssertionFailedError: expected:<0> but was:<100> + # probably the test is wrong as a cache entry is created for each font size + # and each iteration creates a new font size + "com.jidesoft.utils.TestFontUtils" +) + +src_prepare() { + default + rm libs/junit-4.10.jar || die +} + +src_install() { + default + java-pkg-simple_src_install +} |