diff options
author | 2021-12-29 03:54:15 +0000 | |
---|---|---|
committer | 2021-12-29 03:54:46 +0000 | |
commit | bb2c3128f92b3cdf119710158e9abc11b113d317 (patch) | |
tree | 6431a9c572e4b8a14e2fc031e58d20db25bd2ec2 /app-text/epspdf/epspdf-0.6.5.ebuild | |
parent | app-text/ocrad: drop project tex (diff) | |
download | gentoo-bb2c3128f92b3cdf119710158e9abc11b113d317.tar.gz gentoo-bb2c3128f92b3cdf119710158e9abc11b113d317.tar.bz2 gentoo-bb2c3128f92b3cdf119710158e9abc11b113d317.zip |
app-text/epspdf: add 0.6.5
We'll cut it out of TL 2022, but bump now so things
keep working.
Bug: https://bugs.gentoo.org/695990
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/epspdf/epspdf-0.6.5.ebuild')
-rw-r--r-- | app-text/epspdf/epspdf-0.6.5.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-text/epspdf/epspdf-0.6.5.ebuild b/app-text/epspdf/epspdf-0.6.5.ebuild new file mode 100644 index 000000000000..1c46675218c9 --- /dev/null +++ b/app-text/epspdf/epspdf-0.6.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop texlive-common + +DESCRIPTION="GUI and command-line converter for [e]ps and pdf" +HOMEPAGE="http://tex.aanhet.net/epspdf/" +# http://tex.aanhet.net/epspdf/${PN}.${PV}.tgz +SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.zip" +S="${WORKDIR}"/${PN} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc tk" + +RDEPEND="!<dev-texlive/texlive-pictures-2011-r1 + >=dev-texlive/texlive-basic-2011 + app-text/ghostscript-gpl + tk? ( dev-lang/tk )" +BDEPEND="app-arch/unzip + sys-apps/texinfo" + +src_compile() { + cd doc || die + makeinfo epspdf || die +} + +src_install() { + exeinto /usr/share/${PN} + doexe epspdf.tlu + + insinto /usr/share/${PN} + + if use tk ; then + doins epspdf.help doc/images/epspdf.png + doexe epspdftk.tcl + fi + + dobin_texmf_scripts ${PN}/epspdf.tlu + use tk && dobin_texmf_scripts ${PN}/epspdftk.tcl + + doinfo doc/epspdf.info + dodoc doc/Changelog + if use doc ; then + dodoc doc/epspdf.pdf + dodoc -r doc + fi + + # Give it a .desktop + if use tk; then + make_desktop_entry epspdftk epspdftk "${EPREFIX}/usr/share/${PN}/epspdf.png" "Graphics;ImageProcessing" + fi +} |