commit:     955c004706a00cf12fba0e09ecd88767fef8c157
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 16 07:32:36 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 07:34:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955c0047

app-doc/dita-ot-bin: add 4.2.4

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.2.4.ebuild | 36 ++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/app-doc/dita-ot-bin/Manifest b/app-doc/dita-ot-bin/Manifest
index 7716aa74e3e0..17f2cce7abdf 100644
--- a/app-doc/dita-ot-bin/Manifest
+++ b/app-doc/dita-ot-bin/Manifest
@@ -1 +1,2 @@
 DIST dita-ot-4.2.3.zip 55110433 BLAKE2B 
53c4e2e7896c1b496f95b4d5dafc059c63b7b73fb63c7faefabc87500aab862c80707bc64effa52c447bbdb73e007aadbacec7ada98dade9af0e0c0300b75ba7
 SHA512 
a1e2684444f04d14991d39cfea6b86f49a4ae2802d5b9ffa600c2b18c6ac4efddfb68db8484d6edda5812301f281828b5d22ef3057aa343cd1ffd6d3beeaf48b
+DIST dita-ot-4.2.4.zip 55306735 BLAKE2B 
8467e358873300c9c6fa24cd99cbf2481137aad02e3878820947a55c13c52ee933271e676f111d04951fc7b9cc7fbd16d7d41edb0d8b52a07eb58d75ffdde300
 SHA512 
81ee8963d33f92d3fa95ec458c306ff65fd646a494fb681da254106be1085daf24edaa4b0425d530c62c5e3bc41e63dd5786ed452bef79ef6fc14ace89a80ef3

diff --git a/app-doc/dita-ot-bin/dita-ot-bin-4.2.4.ebuild 
b/app-doc/dita-ot-bin/dita-ot-bin-4.2.4.ebuild
new file mode 100644
index 000000000000..9282e60ecec8
--- /dev/null
+++ b/app-doc/dita-ot-bin/dita-ot-bin-4.2.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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.2.3-set-java-home.patch
+)
+
+src_install() {
+       local installpath=/opt/${MY_P}
+       local installbinpath="${installpath}"/bin
+       insinto "${installpath}"
+       doins -r config lib plugins resources
+
+       exeinto "${installbinpath}"
+       doexe bin/dita
+       dosym -r "${installbinpath}"/dita /usr/bin/dita
+
+       einstalldocs
+}

Reply via email to