diff options
Diffstat (limited to 'media-gfx/plantuml')
-rw-r--r-- | media-gfx/plantuml/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/plantuml/plantuml-1.2024.4-r1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/plantuml/Manifest b/media-gfx/plantuml/Manifest index 253edfed3bb7..f598493a2961 100644 --- a/media-gfx/plantuml/Manifest +++ b/media-gfx/plantuml/Manifest @@ -1,5 +1,6 @@ DIST plantuml-1.2024.3.tar.gz 12035326 BLAKE2B 38ee1a8ad29c5f22e00977a0716b17fa4385373ea23a9384bcb388cc714b1ea48742485225e864e8d4fbbf2fb5264e51e16288361e3a18291511cddd3046c5e7 SHA512 85a8f4043ef10e66de2b88892076a7cd0cc645a117bdf354a028a2ab0b17c8fb12d40ca5be44c87871daabe75b3172b2b01d63f158e22eb9cdeff557409855b9 DIST plantuml-1.2024.4.tar.gz 12061228 BLAKE2B b6edf25c99fecab5a463ddc3f330b28ecad1b60a595f833e4af4ec5e4db3489456f5df4be997879ef38c4053da75b790ae9b942bf28b77a8f73413fbe9289b9a SHA512 cb51e44691eb0a206de3f23e0bf1ba08f8a9d111d838c8b5f2ef2e7b7bae61294deb935bd0c0f2798fdc51d7a0a3e54d40d201075964e109a7f0781010933e91 EBUILD plantuml-1.2024.3.ebuild 792 BLAKE2B ea75fbe7d06f65919d074186bce1ddf75778c639cf42844fa1930e5b9832660222fe9459a4a3948a594fb5ff55b089afbb7717ffc671de8d7ed901b24f91d180 SHA512 060cafa71902df5a50487937b7a3c73e04ee7b24191575fe268b9ba4c7c29657a9dc7a0812914933b15f33ab575f40279896dee87bead9e009b84f6e6ba2fdaf +EBUILD plantuml-1.2024.4-r1.ebuild 1158 BLAKE2B 3c0acae8915a378129832443be1253f2a28a06b130a7a4fd148054378fa5ee0187c05896bf2cfb5d292a34b55b9fa8f6b44afe0a445fd1bf8cabf9437d07c2ef SHA512 71f21bc40862028e49cb59eb98ca302e0aa4826f23d8b278b6788345795f24f2545bc8477d13dcfe9a1b2100af7ab63a51b4be839be73447921781318d4f5c4d EBUILD plantuml-1.2024.4.ebuild 793 BLAKE2B 7b7d7df1dbafb2df922d592e2206fde50a3f051d035ee1f05861da0bc4685d9bc22444bd010319c2e86f6aa2f18a5170f1f456a33990ea2a96c16946d015f09c SHA512 609949e761bd85e649ca0dec33886f1c87322db569eb30feb0f99b206c8bf988ce38169c8abe5e691974facfcb9c686c12afdd41a858cd9d585db5601f168f4b MISC metadata.xml 879 BLAKE2B b711489e5c713d9b6ee8489e7ca080b9af19965e10ce3795e3dd16e3cabd0b9284bb1a75646baf2c0134cce31189a9e7dea499129750e20f4971f53aee66feaf SHA512 cfde5b9a2e44e38bc2eca2d7e32e6d4a18d0413325e41b0823091fdefcd15b035f32572397c27173887d370b2cca7673638ccf32690447dcab91ff31bc309c76 diff --git a/media-gfx/plantuml/plantuml-1.2024.4-r1.ebuild b/media-gfx/plantuml/plantuml-1.2024.4-r1.ebuild new file mode 100644 index 000000000000..303ce0fb9f18 --- /dev/null +++ b/media-gfx/plantuml/plantuml-1.2024.4-r1.ebuild @@ -0,0 +1,43 @@ +# 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" + +DEPEND=">=virtual/jdk-1.8:* + >=dev-java/ant-1.10.14-r1:0" +RDEPEND=">=virtual/jre-1.8:* + media-gfx/graphviz" + +JAVA_AUTOMATIC_MODULE_NAME="net.sourceforge.plantuml" +JAVA_CLASSPATH_EXTRA="ant" +JAVA_MAIN_CLASS="net.sourceforge.plantuml.Run" +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR="src" + +src_prepare() { + java-pkg-2_src_prepare + + # 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 +} |