app-text/epspdf - 0.6.5.2 (gentoo)

Search

Install

Install this version:

emerge -a =app-text/epspdf-0.6.5.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-text/epspdf-0.6.5.2

Or alternatively:

emerge --autounmask-write -a =app-text/epspdf-0.6.5.2

Package Information

Description:
GUI and command-line converter for [e]ps and pdf
Homepage:
http://tex.aanhet.net/epspdf/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.6.5.2 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris 0
View Raw Ebuild
# Copyright 1999-2026 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://distfiles.gentoo.org/pub/proj/tex/${P}.zip"
S="${WORKDIR}"/${PN}

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~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
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-text/epspdf | euse -E <flag> -p app-text/epspdf | euse -D <flag> -p app-text/epspdf

Global/Standard Flags

doc
tk

Inherited Eclasses

Dependencies

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

Manifest for 0.6.5.2

Type File Size Source URLs
DIST epspdf-0.6.5.2.zip 332325 bytes https://distfiles.gentoo.org/pub/proj/tex/epspdf-0.6.5.2.zip