diff --git a/app-doc/dita-ot-bin/Manifest b/app-doc/dita-ot-bin/Manifest index 0b112919f8881..8ae005b14aa61 100644 --- a/app-doc/dita-ot-bin/Manifest +++ b/app-doc/dita-ot-bin/Manifest @@ -1 +1,2 @@ DIST dita-ot-4.3.4.zip 52850881 BLAKE2B 424a563c2d27c3175d6f86498dd5a30afd4926754553316d0ad21929e1cbac32c8941e56520aca295f0e1777888c94c0f091503af893a5f8bedc1f48d168c50d SHA512 b45a93490ee7d85f819075ea5efa11e6bafd1c7be8d41a438d472f62fea41a857f7dd83d10fc8aed93404bdd34f070d6e7a156cbbef481376f7f6fcdcabad8fb +DIST dita-ot-4.3.5.zip 53957093 BLAKE2B 3b3d8cd12b1d3b93e1c7744bd4a265b179396688d0a7117bd23f77dd1e2a082f102b1ee3440a4ebe1e34e5eedd5a653c89d5db5adb48799e9fdaf485fc6ad6d2 SHA512 acf80a56b43ebcfa9bbe051726ec818ee1dd1afc739050d586578e77e1a900d2107a515c864f7618b769657a68c667a7bc1c3f210377c2a0801f88f405d9c57b diff --git a/app-doc/dita-ot-bin/dita-ot-bin-4.3.5.ebuild b/app-doc/dita-ot-bin/dita-ot-bin-4.3.5.ebuild new file mode 100644 index 0000000000000..e35eacfc6f0f6 --- /dev/null +++ b/app-doc/dita-ot-bin/dita-ot-bin-4.3.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 + +MY_PN=${PN%*-bin} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Darwin Information Typing Architecture - Open Toolkit publishing engine" +HOMEPAGE="https://www.dita-ot.org/ https://github.com/dita-ot/dita-ot" +SRC_URI="https://github.com/dita-ot/dita-ot/releases/download/${PV}/${MY_P}.zip" +S="${WORKDIR}"/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=virtual/jdk-17:*" +RDEPEND=">=virtual/jre-17:*" +BDEPEND="app-arch/unzip" + +PATCHES=( + "${FILESDIR}"/${PN}-4.3-set-java-home.patch +) + +src_prepare() { + default + java-pkg-2_src_prepare +} + +src_install() { + local installpath=/opt/${MY_P} + local installbinpath="${installpath}"/bin + insinto "${installpath}" + doins -r config lib plugins resources + + java-pkg_regjar "${installpath}"/lib/dost.jar + + exeinto "${installbinpath}" + doexe bin/dita + dosym -r "${installbinpath}"/dita /usr/bin/dita + + einstalldocs +}