diff options
author | Tim Harder <radhermit@gentoo.org> | 2019-05-09 00:52:21 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2019-05-09 03:32:07 -0500 |
commit | ed0b789d06c69dcc874d0210222e6a33376186a0 (patch) | |
tree | e8c9bd40d7868f3e9d3812bf67768edb6e9f213c /app-text/languagetool | |
parent | media-libs/exiftool: version bump to 11.40 (diff) | |
download | gentoo-ed0b789d06c69dcc874d0210222e6a33376186a0.tar.gz gentoo-ed0b789d06c69dcc874d0210222e6a33376186a0.tar.bz2 gentoo-ed0b789d06c69dcc874d0210222e6a33376186a0.zip |
app-text/languagetool: version bump to 4.5
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'app-text/languagetool')
-rw-r--r-- | app-text/languagetool/Manifest | 1 | ||||
-rw-r--r-- | app-text/languagetool/languagetool-4.5.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest index 1b6a0973f4aa..5f6d6df6704c 100644 --- a/app-text/languagetool/Manifest +++ b/app-text/languagetool/Manifest @@ -1 +1,2 @@ DIST LanguageTool-3.5.zip 93540212 BLAKE2B 166be74df8424692d637d1f23f2044492741984feb8c863aa363aca07ca9903c1e5934e4026a4e8c7b135320053808f1735ae5800a3964e9d75381368a8c5b7b SHA512 ad49dd292ca6841e1ef439b2dbe55748f621333b418bd6a596534cd5b2cb7019170c98046c8e2c68c3d75a9e5d132cf329de6481eaaccb8f78aae2233bdb8e45 +DIST LanguageTool-4.5.zip 189327638 BLAKE2B b0ba0a67ee3de4ef6e452e6c47d5c03800f4e93acdaee03da37dca1a626e808bef91a167a62bd1fd7e732c86010523193d197083179cd40aa22de67bbbe5c4d5 SHA512 66bf6c99425d66ca8bc03b609f07d85f3989dbe73d7a93e81b6dc21d751fe05dd439d4753b51282d359a08ecdd92a18d9deab53d7b3a144c605d4429b2949eef diff --git a/app-text/languagetool/languagetool-4.5.ebuild b/app-text/languagetool/languagetool-4.5.ebuild new file mode 100644 index 000000000000..c50594e3392d --- /dev/null +++ b/app-text/languagetool/languagetool-4.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit java-pkg-2 + +MY_PN=LanguageTool +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A proof-reading tool for many languages" +HOMEPAGE="https://www.languagetool.org/" +SRC_URI="https://www.languagetool.org/download/${MY_P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND=" + dev-java/commons-cli:1 + dev-java/commons-collections:4 + dev-java/commons-io:1 + dev-java/commons-lang:2.1 + dev-java/commons-logging:0 + dev-java/guava:20 + dev-java/hamcrest-core:1.3 + dev-java/jcommander:0 + dev-java/jna:4 + dev-java/slf4j-api:0 + dev-java/slf4j-nop:0 +" + +RDEPEND=">=virtual/jre-1.8 + ${CP_DEPEND}" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + rm libs/commons-{cli,collections4,io,lang,logging}.jar || die + rm libs/{hamcrest-core,guava,jcommander,jna,junit,slf4j-api}.jar || die + + # Loads of bundled stuff :( + #java-pkg-2_src_prepare +} + +src_compile() { :; } + +src_install() { + java-pkg_dojar *.jar libs/*.jar + + local DIR=/usr/share/${PN}/lib/language-modules + java-pkg_addcp "${EPREFIX}${DIR}" + insinto ${DIR} + doins -r org META-INF + + java-pkg_dolauncher ${PN} --main org.${PN}.commandline.Main + java-pkg_dolauncher ${PN}-gui --main org.${PN}.gui.Main + + dodoc CHANGES.md README.md + + unset MY_DEPEND + java-pkg_gen-cp MY_DEPEND + java-pkg_register-dependency "${MY_DEPEND}" +} |