summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-06-22 11:41:00 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-06-22 11:47:57 +0200
commit07151659a783626e82e3449fd5c376485343575c (patch)
treeb0ca000656787ebc1b801013fcb42230c47a7fe4 /app-text
parentapp-text/pdfjam: mark ALLARCHES (diff)
downloadgentoo-07151659a783626e82e3449fd5c376485343575c.tar.gz
gentoo-07151659a783626e82e3449fd5c376485343575c.tar.bz2
gentoo-07151659a783626e82e3449fd5c376485343575c.zip
app-text/epspdf: add 0.6.5.1
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/epspdf/Manifest1
-rw-r--r--app-text/epspdf/epspdf-0.6.5.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/app-text/epspdf/Manifest b/app-text/epspdf/Manifest
index bc3fef3d9903..621acd1719c5 100644
--- a/app-text/epspdf/Manifest
+++ b/app-text/epspdf/Manifest
@@ -1,2 +1,3 @@
+DIST epspdf-0.6.5.1.zip 445167 BLAKE2B 2e1ee1e04e8731fdfb085596a463b897714a460f75166cdeac4311d85cd70bb5983bff74424fe940cf90849ef6ee73a8ccb9e52520857dcaa8881d90ff36ae81 SHA512 2ec0b83798ca911b1f40617c2904c0caf9022c82e5a55556b5fcb5dbf37e3596a659a86dcdc8876b111c59659b3d4f710031cb7a03a8233b1e8715d875db03c0
DIST epspdf-0.6.5.zip 331312 BLAKE2B 3bd2c9cd432172c38efe33d08068f20fddf169d5d7bc94c9f1720cf379de9ba54aedb1cb6fd438b721c2e98f24dfd1ca4b3dab5c1fe01a71791748f952832ac9 SHA512 28ef12546a957c62fd94b405b53359898d46c825bad8fd2167b5ab23bb2a6ea457ccbcc8263b31574e128ebe56e21b30fae27d406397df3fdc1506a088ab41f4
DIST epspdf.0.6.3.tgz 335975 BLAKE2B aacd6e222bfe74636dba796fd6e878fa9970f469d096eb77acf4a336a0ab5620629de7ba1c763afa62b181887724db55be57d1929a041a945c7d74ea3028d6de SHA512 ddb0d8c17b6b0bbb934312e6253a2b689d2545c892af989efac9782022c501109f2ff57bb2ea7c26d63d7747e2a510c18bd22a6076bb7137fe0252c38b2125ea
diff --git a/app-text/epspdf/epspdf-0.6.5.1.ebuild b/app-text/epspdf/epspdf-0.6.5.1.ebuild
new file mode 100644
index 000000000000..544af5859d7a
--- /dev/null
+++ b/app-text/epspdf/epspdf-0.6.5.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop texlive-common
+
+DESCRIPTION="GUI and command-line converter for [e]ps and pdf"
+HOMEPAGE="http://tex.aanhet.net/epspdf/"
+# Unversioned epspdf.zip in https://ctan.space-pro.be/tex-archive/support/
+SRC_URI="https://dev.gentoo.org/~flow/distfiles//${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 ~x64-solaris"
+IUSE="doc tk"
+
+RDEPEND="
+ !<dev-texlive/texlive-pictures-2023_p69409-r2
+ >=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
+}