diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-11-06 22:28:53 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-11 08:38:16 +0100 |
commit | 5dd04e2164d83f19d29dc06c16789233fa9af17f (patch) | |
tree | f07b6e39eb5324d7ab7d7e25205a1519152be780 /dev-java/fontbox | |
parent | dev-java/jbig2-imageio: add 3.0.4 (diff) | |
download | gentoo-5dd04e2164d83f19d29dc06c16789233fa9af17f.tar.gz gentoo-5dd04e2164d83f19d29dc06c16789233fa9af17f.tar.bz2 gentoo-5dd04e2164d83f19d29dc06c16789233fa9af17f.zip |
dev-java/fontbox: add 2.0.32
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/fontbox')
-rw-r--r-- | dev-java/fontbox/Manifest | 5 | ||||
-rw-r--r-- | dev-java/fontbox/fontbox-2.0.32.ebuild | 83 |
2 files changed, 88 insertions, 0 deletions
diff --git a/dev-java/fontbox/Manifest b/dev-java/fontbox/Manifest index 088db0a2393c..a015e94c5be2 100644 --- a/dev-java/fontbox/Manifest +++ b/dev-java/fontbox/Manifest @@ -1,6 +1,11 @@ DIST DejaVuSansMono.ttf 317336 BLAKE2B c80f50cea451963a75c66160596b67655afb19c9ea0d61b8a5cd38b81c66bdd89a24872d293fa8752b1ce0bb828d63caf91e682c283312d5828218943c63c095 SHA512 1af1ce3e6d34a0b89c93072d8646e92cceb45b276389d2dd0d84457ec1193394d2bcc49bf3ce99c9c6b2658cd1337fc40ee5c61957f74cd45dbc3d51b6aef417 +DIST DejaVuSerifCondensed.pfb 1062649 BLAKE2B 05159cb62eb4c3335b806d5b11653429bf84c6d14ed8e62bf2d8dcbc0b7a9818b1aad05e02f174a16c0163efe1cd433c26cde727d9245abe7eb47fd61d9960b3 SHA512 6ef13c3497862dc8e4c2a4261bc3a7ef3e2dd75e00ae2af4912b236b387225541db76c72854fbb2323d1064311ffdda9e64ed7065afc3a7d13f5b71b7df2f2ef DIST NotoEmoji-Regular.ttf 418804 BLAKE2B e94f7b1d5bced052ff3f15a32ecce8f0f1dc2ef19565d3bcaa75b82676fbf0efeaa6efa1d25edf352b577acce17a45c6f0e7be1550c46a8c2ab6cef208cd6f11 SHA512 51b01ab0794be9f92c59679f6d56d4ce09ed959daeb9ec945bb837eb15a82ab302e83b29aab1972ac9cb648f7196a5f5ff4488a4622b36bedbc9cd0cab6dc3de +DIST NotoMono-Regular.ttf 107848 BLAKE2B 2f0fdfbda5eec2c6cd1a2fd9812a2459c9af09c9d0e77c85504911d50a27433b769c766df3c2c7533c6c83b9c8a928c13aa1994823aa043ace68c37c0d897b00 SHA512 a5f3a12a02d096337cefd82a352a9d4f43555283873211c4ed0ac63eb1e722514dbd97dc959208e38643784b007ef27a96280f57ef01355fdbd8884b84d13d4c DIST NotoSansSC-Regular.otf 8481960 BLAKE2B 3eee2c1e6be5e013d2ed679ccb361221e3e410150c7dc32d570382355e80e540c71be9009ece9951eea2379fb08fc05d8bcd65e941677660c55b450d660e8b03 SHA512 cbdd317d16099d24736457eef631353c7830a1a3c132b01f2cdc1e6a0c21a78e3b1fe8479b3f40179e7630a15cc23a093775bb22d521dba39376bb367d497b21 DIST OpenSans-Regular.pfb 100962 BLAKE2B ff906c67a79df9d8deb9736f7439ba5429b72940b6a6fa49751fdea88adef70a3b57f28b2c31014da3206efe601095a8caeb98382fb36f8544afd0bec5cce355 SHA512 2787fcecc0feb1c9e6ff0d8de6193658413863e44eaab572751ca7e6c3b369c0a9731f4952cb0821f307760f0422f77c5f0d3fe7df6b054643fb39423e8d70ee DIST SourceSansProBold.otf 104072 BLAKE2B 2c6538ed97cca04a6a38a1bcca7def6c9e923f0e7a773c2715d50ca1a526b1ff683bc6544155b1e170fb828c3923d6b22cdf7017f9da9de164523f328c1cc187 SHA512 28a044a2685fbc8da7810d9ac7b6b93a95542d504d7d8e671f009b8ebb2f5b70c974be7ea78974b188d8e6ab17d65b08f276c054927857315d5aad26f6fe36fc +DIST ipag00303.zip 4295310 BLAKE2B b68dd7dd7a7320894d782350c4598572c31d6ef492f9572adc2aac20ca98b5c5027995c0169bf815bc1e3a64d635b0e2d4e378b749e034f2fe718bcb7901d40a SHA512 59535137c649a2f8bdbb463cd716426811a6003a65883ca6e45bb0af1d526b3889af0fba3a353e90bc8d373cd32b90a27ff9ff6916ecbccb42e922c09e9b046a DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def +DIST pdfbox-2.0.32-src.zip 17094201 BLAKE2B a48677819bab371d82a956affa8a9b55a8dca2627bb301b56facb4408229639162550c67eccc843b903e28a3f6258db4b0c096c2b40c134c1f0bf6085ff122d0 SHA512 bdad289bda79e78774dd4dedb8b0531f20382038e96232eb6c55508e2187ca3d7512072e87cd293fe6d1b9967d7e6a44f39b09a3af59872bf2f307275a65f546 +DIST pdfbox-2.0.32-src.zip.asc 195 BLAKE2B a3c1f8078ded155bfecca3c15ec8c9ae648ab6dbfa9c023715eabdf72f092920b0c0ddedaafed3fc6a186f05c9880fbaa703eb088b704964ac4bb8bd5dd386e8 SHA512 b6aff86c09f75234c57ae079eff71e098377e27a1b0d55911b2cd466ff74c5d529c9cd45ba20653adae3a9b5f9ecfc3e9d6df0647bae59a7b651f128ef3b39e5 diff --git a/dev-java/fontbox/fontbox-2.0.32.ebuild b/dev-java/fontbox/fontbox-2.0.32.ebuild new file mode 100644 index 000000000000..8b6a4b0fe28d --- /dev/null +++ b/dev-java/fontbox/fontbox-2.0.32.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.pdfbox:fontbox:${PV}" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="An open source Java library for parsing font files" +HOMEPAGE="https://pdfbox.apache.org/" +SRC_URI="mirror://apache/pdfbox/${PV}/pdfbox-${PV}-src.zip + test? ( + https://issues.apache.org/jira/secure/attachment/12684264/SourceSansProBold.otf + https://issues.apache.org/jira/secure/attachment/12809395/DejaVuSansMono.ttf + https://issues.apache.org/jira/secure/attachment/12896461/NotoEmoji-Regular.ttf + https://issues.apache.org/jira/secure/attachment/13036376/NotoSansSC-Regular.otf + https://issues.apache.org/jira/secure/attachment/13064282/DejaVuSerifCondensed.pfb + https://issues.apache.org/jira/secure/attachment/13065025/NotoMono-Regular.ttf + https://mirrors.ctan.org/fonts/opensans/type1/OpenSans-Regular.pfb + https://moji.or.jp/wp-content/ipafont/IPAfont/ipag00303.zip + ) + verify-sig? ( https://downloads.apache.org/pdfbox/${PV}/pdfbox-${PV}-src.zip.asc )" +S="${WORKDIR}/pdfbox-${PV}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/pdfbox.apache.org.asc" +BDEPEND=" + app-arch/unzip + verify-sig? ( sec-keys/openpgp-keys-apache-pdfbox ) +" +CP_DEPEND="dev-java/commons-logging:0" +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:* +" +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +JAVA_AUTOMATIC_MODULE_NAME="org.apache.fontbox" +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_SRC_DIR="src/test/java" + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached \ + "${DISTDIR}/pdfbox-${PV}-src.zip" \ + "${DISTDIR}/pdfbox-${PV}-src.zip.asc" + fi + default +} + +src_test() { + mkdir --parents target/{pdfs,fonts} || die + cp \ + "${DISTDIR}"/SourceSansProBold.otf \ + "${DISTDIR}"/NotoEmoji-Regular.ttf \ + "${DISTDIR}"/NotoSansSC-Regular.otf \ + "target/pdfs" || die + cp \ + "${DISTDIR}"/DejaVuSansMono.ttf \ + "${DISTDIR}"/OpenSans-Regular.pfb \ + "${DISTDIR}"/NotoEmoji-Regular.ttf \ + "${DISTDIR}"/NotoMono-Regular.ttf \ + "${DISTDIR}"/DejaVuSerifCondensed.pfb \ + "${DISTDIR}"/NotoSansSC-Regular.otf \ + "${DISTDIR}"/SourceSansProBold.otf \ + "target/fonts" || die + unzip "${DISTDIR}"/ipag00303.zip -d "target/fonts" || die + + java-pkg-simple_src_test +} |