commit: 1f8d568bfe4ec2eff818430a1c41ed9898e4462d
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 07:12:28 2025 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 07:16:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f8d568b
app-doc/dita-ot-bin: add 4.3.1
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
app-doc/dita-ot-bin/Manifest | 1 +
app-doc/dita-ot-bin/dita-ot-bin-4.3.1.ebuild | 45 ++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/app-doc/dita-ot-bin/Manifest b/app-doc/dita-ot-bin/Manifest
index a0c50d047a38..0255273687bd 100644
--- a/app-doc/dita-ot-bin/Manifest
+++ b/app-doc/dita-ot-bin/Manifest
@@ -1,3 +1,4 @@
DIST dita-ot-4.2.3.zip 55110433 BLAKE2B
53c4e2e7896c1b496f95b4d5dafc059c63b7b73fb63c7faefabc87500aab862c80707bc64effa52c447bbdb73e007aadbacec7ada98dade9af0e0c0300b75ba7
SHA512
a1e2684444f04d14991d39cfea6b86f49a4ae2802d5b9ffa600c2b18c6ac4efddfb68db8484d6edda5812301f281828b5d22ef3057aa343cd1ffd6d3beeaf48b
DIST dita-ot-4.2.4.zip 55306735 BLAKE2B
8467e358873300c9c6fa24cd99cbf2481137aad02e3878820947a55c13c52ee933271e676f111d04951fc7b9cc7fbd16d7d41edb0d8b52a07eb58d75ffdde300
SHA512
81ee8963d33f92d3fa95ec458c306ff65fd646a494fb681da254106be1085daf24edaa4b0425d530c62c5e3bc41e63dd5786ed452bef79ef6fc14ace89a80ef3
+DIST dita-ot-4.3.1.zip 55912642 BLAKE2B
e5096864a2246c6d2c88c9db687e0b551d30d95cf2b3fff460c00c476c133a351d56228bd1d22e0528968839014fefe54bbbff557f5324beea3ee136b864f83a
SHA512
c8b06418967f66f0d5eade2d078fc419f49d40f466b5a1aba446525196be17955c24697f6fbe6d4695a3e2acb81850037a0298709febc4e0dd828ca92dac4561
DIST dita-ot-4.3.zip 55846129 BLAKE2B
b931478256e826eb651068bebaf3159e6961aaab86402f21ced8f84d69ccbc15ae528c794c3004e324601ae52a3c2e9b6bf4d6da6d47d0f927a05875f80e3dc2
SHA512
222e0b0369ba466b7e591b238679ae7e54e4207eb0dc3e40aeebeaaf291448ef55b08e303e5df3996eb4bd717e489e165f6e0b525205ec4c382c24e6fd4ad7b4
diff --git a/app-doc/dita-ot-bin/dita-ot-bin-4.3.1.ebuild
b/app-doc/dita-ot-bin/dita-ot-bin-4.3.1.ebuild
new file mode 100644
index 000000000000..e35eacfc6f0f
--- /dev/null
+++ b/app-doc/dita-ot-bin/dita-ot-bin-4.3.1.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
+}