From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CE44C15808B for ; Sun, 20 Feb 2022 10:08:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3BA9E07EC; Sun, 20 Feb 2022 10:08:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE0BCE07EC for ; Sun, 20 Feb 2022 10:08:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5D4A34388B for ; Sun, 20 Feb 2022 10:08:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F3DB2EB for ; Sun, 20 Feb 2022 10:08:49 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1645351694.75f2cdc89b9a190af6c0e700d200defdf764de73.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/fontbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/fontbox/fontbox-1.7.1-r2.ebuild X-VCS-Directories: dev-java/fontbox/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 75f2cdc89b9a190af6c0e700d200defdf764de73 X-VCS-Branch: master Date: Sun, 20 Feb 2022 10:08:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 47dda0ad-1dd6-4528-9bf4-4a157a0e0aed X-Archives-Hash: 90f5ae084f61af118c5d10393563d549 commit: 75f2cdc89b9a190af6c0e700d200defdf764de73 Author: Miroslav Šulc gentoo org> AuthorDate: Sun Feb 20 10:05:43 2022 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sun Feb 20 10:08:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75f2cdc8 dev-java/fontbox: eapi8, min java 1.8 - 1.7.1-r2 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/fontbox/fontbox-1.7.1-r2.ebuild | 50 ++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/dev-java/fontbox/fontbox-1.7.1-r2.ebuild b/dev-java/fontbox/fontbox-1.7.1-r2.ebuild new file mode 100644 index 000000000000..bb0857365013 --- /dev/null +++ b/dev-java/fontbox/fontbox-1.7.1-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +MY_PN="pdfbox" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="An open source Java library for parsing font files" +HOMEPAGE="https://pdfbox.apache.org/" +SRC_URI="https://archive.apache.org/dist/pdfbox/${PV}/${MY_P}-src.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="1.7" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x64-macos" + +RDEPEND=" + >=virtual/jre-1.8:*" + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + dev-java/ant-junit:0 + dev-java/junit:4 + )" + +S="${WORKDIR}/${MY_P}/${PN}" + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_TEST_GENTOO_CLASSPATH="junit-4" + +src_prepare() { + default + cp -v "${FILESDIR}/${P}-build.xml" build.xml || die +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/org +}