diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 02:11:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 02:11:45 +0000 |
commit | af929819f9adfd95dd0e667ce1fc598c65d63a4c (patch) | |
tree | c715eb1a652fbd07711bcb47e94c7d4168cd09e5 /dev-java/fontbox | |
parent | e44b9cf3e5b67eaf723e4a335faf39c87167abd3 (diff) |
gentoo auto-resync : 28:12:2022 - 02:11:45
Diffstat (limited to 'dev-java/fontbox')
-rw-r--r-- | dev-java/fontbox/Manifest | 2 | ||||
-rw-r--r-- | dev-java/fontbox/fontbox-2.0.27.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/fontbox/Manifest b/dev-java/fontbox/Manifest index 214bd963afa2..4122facf0bc0 100644 --- a/dev-java/fontbox/Manifest +++ b/dev-java/fontbox/Manifest @@ -4,5 +4,7 @@ DIST NotoSansSC-Regular.otf 8481960 BLAKE2B 3eee2c1e6be5e013d2ed679ccb361221e3e4 DIST OpenSans-Regular.pfb 100962 BLAKE2B ff906c67a79df9d8deb9736f7439ba5429b72940b6a6fa49751fdea88adef70a3b57f28b2c31014da3206efe601095a8caeb98382fb36f8544afd0bec5cce355 SHA512 2787fcecc0feb1c9e6ff0d8de6193658413863e44eaab572751ca7e6c3b369c0a9731f4952cb0821f307760f0422f77c5f0d3fe7df6b054643fb39423e8d70ee DIST SourceSansProBold.otf 104072 BLAKE2B 2c6538ed97cca04a6a38a1bcca7def6c9e923f0e7a773c2715d50ca1a526b1ff683bc6544155b1e170fb828c3923d6b22cdf7017f9da9de164523f328c1cc187 SHA512 28a044a2685fbc8da7810d9ac7b6b93a95542d504d7d8e671f009b8ebb2f5b70c974be7ea78974b188d8e6ab17d65b08f276c054927857315d5aad26f6fe36fc DIST pdfbox-2.0.26-src.zip 15766524 BLAKE2B eafedf1db5a54d36cb42111b736ad79adfcc106630fa4b2bc57873dcfbdbbb7bd0e9408611b0d8771909e719813e388430944ae0fbaf800bdc859595de2b101b SHA512 e14c57e28d10324dbcb6ad239bad5751a2dab0035bbd80427afd03f65467ec1376ddd7d08e7cefd4d950b149f85d8f505f6f50cc3093fd65bb8a2cbb2b8c7c1e +DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def EBUILD fontbox-2.0.26.ebuild 1959 BLAKE2B aec4115a79052a22fdf2c82604a75c9af57e01aaf10dc4fcb640f9959f8553f68775c25d15ff16a18a907b13765fe4f405e086c99627c72918d05a3b507221de SHA512 e09fdd42a7ef24a11a6714c11717f65e80f5329b4b9073928fbc4cf91f2bbd240ce8959f087e59dd741f8b4d0dcd7cfab8e436ad6fe6100a206f16f65a7d085b +EBUILD fontbox-2.0.27.ebuild 1993 BLAKE2B b83a00ce58219689c6e7dcdc8eea6026d8c49cc1a96916c500b79fab9957f58fd6c4316be57bd47b18b62fc0df9e7fe0458224b1fd1d4ab2882a6657f4eb8865 SHA512 0f5f9347f7a7150b399e0b93708d9b086594322cc3e69c33624df0128d8db8e5aa40774da6dc7f37482fcfcdd0852a91baee2ace086226bd446a10870a65e1ba MISC metadata.xml 571 BLAKE2B 1ffa3f19fb3e5035c5a73503ce6abbeb02de7ea42fb74e21eecb30aa3827085802644b797f197f35d9001d86ec969b0cc6cbdaa634ab0d003fa65bd03c3d09ab SHA512 e1b958bb3eff6c3428581dd3851b8857048e81df192b87ad91fc61d3074a4ebf88dfecf6310ac96a3da6ba6b96d476ef1e258781e36b8f0c5cbf3110d5608f8e diff --git a/dev-java/fontbox/fontbox-2.0.27.ebuild b/dev-java/fontbox/fontbox-2.0.27.ebuild new file mode 100644 index 000000000000..64b56398d12a --- /dev/null +++ b/dev-java/fontbox/fontbox-2.0.27.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/pdfbox/2.0.27/pdfbox-2.0.27-src.zip --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild fontbox-2.0.27.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.pdfbox:fontbox:2.0.27" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +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/12896461/NotoEmoji-Regular.ttf + https://issues.apache.org/jira/secure/attachment/12809395/DejaVuSansMono.ttf + https://issues.apache.org/jira/secure/attachment/13036376/NotoSansSC-Regular.otf + https://mirrors.ctan.org/fonts/opensans/type1/OpenSans-Regular.pfb + )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# Common dependencies +# POM: pom.xml +# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 + +CP_DEPEND="dev-java/commons-logging:0" +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/pdfbox-${PV}/${PN}" + +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_test() { + mkdir --parents target/{pdfs,fonts} || die + cp \ + "${DISTDIR}"/SourceSansProBold.otf \ + "${DISTDIR}"/NotoEmoji-Regular.ttf \ + "${DISTDIR}"/DejaVuSansMono.ttf \ + "${DISTDIR}"/NotoSansSC-Regular.otf \ + "target/pdfs" || die + cp "${DISTDIR}"/OpenSans-Regular.pfb \ + "target/fonts" || die + + java-pkg-simple_src_test +} |