summaryrefslogtreecommitdiff
path: root/media-gfx/plantuml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-29 00:07:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-29 00:07:15 +0100
commit5c4786a868bad6e3f46aecf32ad6c6dc5de98408 (patch)
tree1a1792815761a5b6f645c8d55b6b698e102dca48 /media-gfx/plantuml
parent3c1648a0749c1d66b300d857e6b417c1162890da (diff)
gentoo auto-resync : 29:05:2024 - 00:07:15
Diffstat (limited to 'media-gfx/plantuml')
-rw-r--r--media-gfx/plantuml/Manifest4
-rw-r--r--media-gfx/plantuml/metadata.xml3
-rw-r--r--media-gfx/plantuml/plantuml-1.2024.5.ebuild50
3 files changed, 56 insertions, 1 deletions
diff --git a/media-gfx/plantuml/Manifest b/media-gfx/plantuml/Manifest
index 5826c6a5f5b5..c2895150f820 100644
--- a/media-gfx/plantuml/Manifest
+++ b/media-gfx/plantuml/Manifest
@@ -1,3 +1,5 @@
DIST plantuml-1.2024.4.tar.gz 12061228 BLAKE2B b6edf25c99fecab5a463ddc3f330b28ecad1b60a595f833e4af4ec5e4db3489456f5df4be997879ef38c4053da75b790ae9b942bf28b77a8f73413fbe9289b9a SHA512 cb51e44691eb0a206de3f23e0bf1ba08f8a9d111d838c8b5f2ef2e7b7bae61294deb935bd0c0f2798fdc51d7a0a3e54d40d201075964e109a7f0781010933e91
+DIST plantuml-1.2024.5.tar.gz 12119170 BLAKE2B 97fd8f48aa04d9d8b089547871abd954b8b1c189d32b844f1de4ac33678dabe2968a3307fb573f571adf541dbbbfd5eb5c21839b14f3cb9ed2e86ac7b447bb87 SHA512 20b9502a3d6ac9ceccb667943f8ea70990102f778175001852b1fcd2b9b7fa570f5b7a7fb237b6831c0411667c3e986f2b0ea09ce2602b5c1ca98694b37c20a5
EBUILD plantuml-1.2024.4-r1.ebuild 1157 BLAKE2B 0cea92bc9488cee120779fa023231be060ab4659967e137c47e49bf9f64c1e8400ed1abb912c0d269762c736f7d5b813c6b275d74fc9356a5b70c9db56b39fab SHA512 207471d7c211c503f368fd6dd4b8393224bc652afb704f46c7842f11f954b0239d34399b71bca0b9a2fb1e828a468e2351dbe96afed99fc5b697e8d082993140
-MISC metadata.xml 879 BLAKE2B b711489e5c713d9b6ee8489e7ca080b9af19965e10ce3795e3dd16e3cabd0b9284bb1a75646baf2c0134cce31189a9e7dea499129750e20f4971f53aee66feaf SHA512 cfde5b9a2e44e38bc2eca2d7e32e6d4a18d0413325e41b0823091fdefcd15b035f32572397c27173887d370b2cca7673638ccf32690447dcab91ff31bc309c76
+EBUILD plantuml-1.2024.5.ebuild 1389 BLAKE2B 2116a7e4378f2b07d9da9419348c40bc8c436ec2f33617f7aa469cd6e88cada97e6dbd28001a89d7588316e71c746deb04c88ab60fc5eabb176619301f62bf18 SHA512 0f98212b29593b9f06c61eac4f7b7400f8abd48687aa6b46f68ca3e824d0f307936f7c5d4f1e75b55428a8f4f8c2266c7da5e9b15d66c8409a01a1a525287e1b
+MISC metadata.xml 975 BLAKE2B 3a847073b2f3b5f14adb59f8dec5183533eef81f8b10e5633b356743cb45c3927dfc2f8427f26f1e2b3eef01976b0a8e5884b5f9492310e87884c26759dbfed8 SHA512 2cd56c421b1566a679afb739ca82377d5c8b47519fd2cc44307424f5cd88fa0f8b2144842943a7da6abef7ad79254101818292819fdef97631746815a892e7a5
diff --git a/media-gfx/plantuml/metadata.xml b/media-gfx/plantuml/metadata.xml
index e6cce2ef5e7b..0d377a268e92 100644
--- a/media-gfx/plantuml/metadata.xml
+++ b/media-gfx/plantuml/metadata.xml
@@ -19,4 +19,7 @@
<remote-id type="sourceforge">plantuml</remote-id>
<remote-id type="github">plantuml/plantuml</remote-id>
</upstream>
+ <use>
+ <flag name="ant-task">Provides classes used to manage PlantUML Ant task</flag>
+ </use>
</pkgmetadata>
diff --git a/media-gfx/plantuml/plantuml-1.2024.5.ebuild b/media-gfx/plantuml/plantuml-1.2024.5.ebuild
new file mode 100644
index 000000000000..04cef1a18f85
--- /dev/null
+++ b/media-gfx/plantuml/plantuml-1.2024.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-pkg-simple desktop xdg
+
+DESCRIPTION="Draw UML diagrams using a simple and human readable text description"
+HOMEPAGE="https://plantuml.com"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ant-task"
+
+DEPEND=">=virtual/jdk-1.8:*
+ ant-task? ( >=dev-java/ant-1.10.14-r3:0 )"
+RDEPEND=">=virtual/jre-1.8:*
+ media-gfx/graphviz
+ ant-task? ( >=dev-java/ant-1.10.14-r3:0 )"
+
+JAVA_AUTOMATIC_MODULE_NAME="net.sourceforge.plantuml"
+JAVA_MAIN_CLASS="net.sourceforge.plantuml.Run"
+JAVA_RESOURCE_DIRS="res"
+JAVA_SRC_DIR="src"
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ if use ant-task; then
+ # src/net/sourceforge/plantuml/ant/readme.md
+ JAVA_GENTOO_CLASSPATH+="ant"
+ else
+ rm src/net/sourceforge/plantuml/ant/{CheckZip,PlantUml}Task.java || die
+ fi
+
+ # java-pkg-simple wants resources in a separate directory
+ cp -r src res || die
+ cp -r skin stdlib svg themes res || die
+ find res -type f \( -name '*.java' -o -iname 'readme.md' \
+ -o -name '*.ttf' -o -name '*.html' -o -name 'data.txt' \
+ -o -name '.editorconfig' \) -exec rm -rf {} + || die
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ make_desktop_entry plantuml PlantUML
+}