public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/plantuml/
Date: Thu, 25 Apr 2024 11:55:31 +0000 (UTC)	[thread overview]
Message-ID: <1714045988.c72eb908b57d4a89b01adbc68863ad08a3302e44.fordfrog@gentoo> (raw)

commit:     c72eb908b57d4a89b01adbc68863ad08a3302e44
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Apr 21 13:00:06 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 11:53:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72eb908

media-gfx/plantuml: switch to java-pkg-simple

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/36342
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-gfx/plantuml/plantuml-1.2024.4-r1.ebuild | 43 ++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

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
+}


             reply	other threads:[~2024-04-25 11:55 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-25 11:55 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-03  8:29 [gentoo-commits] repo/gentoo:master commit in: media-gfx/plantuml/ Miroslav Šulc
2024-06-29  9:50 Miroslav Šulc
2024-06-28 15:38 Sam James
2024-05-29  9:43 Miroslav Šulc
2024-05-27  6:39 Miroslav Šulc
2024-05-25  9:23 Miroslav Šulc
2024-05-25  0:49 Sam James
2024-05-08  9:05 Miroslav Šulc
2024-05-07 10:05 Sam James
2024-04-07  8:31 Miroslav Šulc
2024-03-22  8:43 Miroslav Šulc
2024-03-22  6:14 Arthur Zamarin
2024-02-17 11:53 Miroslav Šulc
2024-02-16 12:57 Miroslav Šulc
2024-02-13  8:26 Miroslav Šulc
2024-02-12 10:22 Sam James
2024-02-09  8:22 Miroslav Šulc
2024-02-02 15:15 Miroslav Šulc
2024-01-12 13:35 Miroslav Šulc
2024-01-12 13:35 Miroslav Šulc
2022-09-25  3:19 Miroslav Šulc
2022-09-25  1:18 Sam James
2022-08-24  3:20 Miroslav Šulc
2022-07-26  4:10 Miroslav Šulc
2022-07-25  7:07 Agostino Sarubbo
2022-06-23  4:09 Miroslav Šulc
2022-06-01  5:53 Miroslav Šulc
2022-05-31  7:07 Jakov Smolić
2022-05-11 12:33 Miroslav Šulc
2022-05-11  9:33 Jakov Smolić
2022-05-01  5:26 Miroslav Šulc
2022-05-01  5:11 Miroslav Šulc
2022-04-30 19:09 Sam James
2022-04-15  6:34 Miroslav Šulc
2022-04-14 19:36 Jakov Smolić
2022-04-10  8:38 Miroslav Šulc
2022-03-30  6:37 Miroslav Šulc
2022-03-15  9:50 Miroslav Šulc
2022-03-15  9:38 Jakov Smolić
2022-03-14  8:27 Miroslav Šulc
2022-02-12 15:19 Miroslav Šulc
2022-02-12 11:38 Jakov Smolić
2022-02-02  8:34 Miroslav Šulc
2022-01-12  9:46 Miroslav Šulc
2022-01-09 21:46 Miroslav Šulc
2022-01-09 20:35 Jakov Smolić
2022-01-04  8:11 Miroslav Šulc
2022-01-03 18:21 Miroslav Šulc
2022-01-03  9:19 Sam James
2021-12-14  8:05 Miroslav Šulc
2021-12-14  8:00 Jakov Smolić
2021-12-09  9:07 Miroslav Šulc
2021-12-04  8:58 Miroslav Šulc
2021-12-03 15:58 Sam James
2021-12-03  9:57 Miroslav Šulc
2021-11-13  9:04 Miroslav Šulc
2021-11-08 11:22 Miroslav Šulc
2021-11-08 10:01 Jakov Smolić
2021-11-03  6:28 Miroslav Šulc
2021-10-08 18:46 Miroslav Šulc
2021-06-12  9:52 Miroslav Šulc
2021-06-12  3:29 Sam James
2021-05-12  6:17 Miroslav Šulc
2020-07-21  1:36 Aaron Bauman
2020-02-18  8:52 Miroslav Šulc
2020-02-17 12:13 Agostino Sarubbo
2020-01-17 10:14 Miroslav Šulc
2020-01-17  9:29 Agostino Sarubbo
2020-01-16 23:44 Miroslav Šulc
2019-12-17 12:46 Miroslav Šulc
2019-12-17 12:46 Miroslav Šulc
2019-04-09 21:17 Mikle Kolyada
2016-08-06 10:05 James Le Cuirot
2016-08-06  9:39 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1714045988.c72eb908b57d4a89b01adbc68863ad08a3302e44.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox