diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-06-27 11:19:24 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-06-27 11:21:14 +0200 |
commit | 703d303771d844b8d33bca95e8c4c1681841d3f2 (patch) | |
tree | 78a47d0dc396a27175da8ce8dd3e37b79f0bf045 /dev-tex | |
parent | dev-tex/pdfannotextractor: rewrite with java-pkg-simple (diff) | |
download | gentoo-703d303771d844b8d33bca95e8c4c1681841d3f2.tar.gz gentoo-703d303771d844b8d33bca95e8c4c1681841d3f2.tar.bz2 gentoo-703d303771d844b8d33bca95e8c4c1681841d3f2.zip |
dev-tex/pdfannotextractor: drop 0.2-r2
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild b/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild deleted file mode 100644 index 2e8ffce4d1fc..000000000000 --- a/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit latex-package java-pkg-2 java-ant-2 - -MY_COMMIT_ID=718e18be0c8fd1dc5b7c974eb4fbe6d0774cd05e -MY_PDFBOX_VER="1.8.17" -MY_FONTBOX_VER="1.7.1" - -DESCRIPTION="Extract annotations from pdf files" -HOMEPAGE="https://www.ctan.org/tex-archive/macros/latex/contrib/pax/" -SRC_URI=" - https://github.com/bastien-roucaries/latex-pax/archive/${MY_COMMIT_ID}.tar.gz - -> ${P}.tar.gz - https://downloads.apache.org/pdfbox/${MY_PDFBOX_VER}/pdfbox-${MY_PDFBOX_VER}.jar - https://archive.apache.org/dist/pdfbox/${MY_FONTBOX_VER}/fontbox-${MY_FONTBOX_VER}.jar -" - -S="${WORKDIR}/latex-pax-${MY_COMMIT_ID}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x64-macos" - -COMMON_DEPEND="virtual/latex-base" -DEPEND=" - ${COMMON_DEPEND} - >=virtual/jdk-11 -" -BDEPEND="app-arch/unzip" -RDEPEND=" - dev-java/commons-logging:0 - ${COMMON_DEPEND} - virtual/perl-Getopt-Long - dev-perl/File-Which - >=virtual/jre-11 - !<dev-texlive/texlive-latexextra-2023_p69752-r4 -" - -JAVA_ANT_REWRITE_CLASSPATH="true" - -PATCHES=( - "${FILESDIR}"/${PN}-0.2-javajars.patch -) - -src_unpack() { - unpack ${P}.tar.gz -} - -src_prepare() { - default - cp "${DISTDIR}"/pdfbox-${MY_PDFBOX_VER}.jar pdfbox.jar || die - cp "${DISTDIR}"/fontbox-${MY_FONTBOX_VER}.jar fontbox.jar || die -} - -src_compile() { - cd source || die - EANT_GENTOO_CLASSPATH_EXTRA="${S}/pdfbox.jar:${S}/fontbox.jar" eant || die -} - -src_install() { - java-pkg_dojar scripts/pax.jar pdfbox.jar fontbox.jar - java-pkg_dolauncher ${PN} --main pax.PDFAnnotExtractor - java-pkg_addcp "$(java-pkg_getjars --runtime-only --with-dependencies commons-logging)" - - insinto ${TEXMF}/latex/pax - doins tex/pax.sty - - dodoc README -} |