Install this version:
emerge -a =dev-tex/pgf-3.1.11a
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-tex/pgf-3.1.11a
Or alternatively:
emerge --autounmask-write -a =dev-tex/pgf-3.1.11a
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.1.11a | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit latex-package
DESCRIPTION="The TeX Portable Graphic Format"
HOMEPAGE="https://github.com/pgf-tikz/pgf"
SRC_URI="
https://github.com/pgf-tikz/pgf/archive/${PV}.tar.gz -> ${P}.tar.gz
doc? ( https://github.com/pgf-tikz/pgf/releases/download/${PV}/pgfmanual-${PV}.pdf -> ${P}-pgfmanual.pdf )
"
LICENSE="GPL-2 LPPL-1.3c FDL-1.2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc source"
RDEPEND="dev-texlive/texlive-latexrecommended"
# ADJUST ON BUMPS: The date of the according release tag. See also
# upstream's build.lua
PGF_VERSION_DATE="2025-08-29"
src_install() {
einstalldocs
insinto "${TEXMF}"
doins -r tex
insinto "${TEXMF}"/tex/generic/${PN}
newins - pgf.revision.tex <<EOF
\\def\\pgfrevision{${PV}}
\\def\\pgfversion{${PV}}
\\def\\pgfrevisiondate{${PGF_VERSION_DATE}}
\\def\\pgfversiondate{${PGF_VERSION_DATE}}
EOF
if use source ; then
doins -r source
fi
if use doc; then
cd "${S}/doc/generic/pgf" || die
docinto texdoc
# pgfmanual is now split from the main tar archive
newdoc "${DISTDIR}/${P}-pgfmanual.pdf" pgfmanual.pdf
doins -r images
dosym "../../../doc/${PF}/texdoc" "${TEXMF}/doc/latex/${PN}"
docompress -x "/usr/share/doc/${P}/texdoc/"
fi
}
Manage flags for this package:
euse -i <flag> -p dev-tex/pgf |
euse -E <flag> -p dev-tex/pgf |
euse -D <flag> -p dev-tex/pgf
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | pgf-3.1.11a-pgfmanual.pdf | 9444626 bytes | https://github.com/pgf-tikz/pgf/releases/download/3.1.11a/pgfmanual-3.1.11a.pdf |
| DIST | pgf-3.1.11a.tar.gz | 2483669 bytes | https://github.com/pgf-tikz/pgf/archive/3.1.11a.tar.gz |