summaryrefslogtreecommitdiff
path: root/dev-tex/pgf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-01 11:41:16 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-01 11:41:16 +0000
commitfd1824e9b1fd180f410170bf2d02e1f098f53db9 (patch)
tree7d1346df7be9d29e8e8b2d7bd8c36fe016fd917a /dev-tex/pgf
parent895ff0a4d41ed3004a73b7869773a26f463c5ded (diff)
gentoo auto-resync : 01:03:2024 - 11:41:16
Diffstat (limited to 'dev-tex/pgf')
-rw-r--r--dev-tex/pgf/Manifest3
-rw-r--r--dev-tex/pgf/pgf-3.1.10.ebuild63
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-tex/pgf/Manifest b/dev-tex/pgf/Manifest
index a8818cd222ae..858838c0c7a3 100644
--- a/dev-tex/pgf/Manifest
+++ b/dev-tex/pgf/Manifest
@@ -1,5 +1,8 @@
+DIST pgf-3.1.10-pgfmanual.pdf 10174139 BLAKE2B 038e00427575b02ace3310379a40e9d5b7362cea7d451bc3c9d5198f321d60e13acd1c0cf9a40ca0400c79a80f6c8b5b9eb98279ddb21e045c34d05c3ec7a261 SHA512 862291baddce938d735171c6b1c42b3acf9177a3009b3b7cfdf7188c399b5cb05e371650dc2214f1888875a497178ed18c0537f2c4628f3d6f563e8264cc43e0
+DIST pgf-3.1.10.tar.gz 2477289 BLAKE2B b43850eaa3b1d75d90b71f838579904fca5d0d9a6434350fef62a20dc7de6206c52c06dc70baf293165d6f89f22e28dfca9b22ba635a82994942b69b5b2161c4 SHA512 16c2cbcdcfa3a34d018a4436ef9e4944d2ac575c2b35403e87e7057837cdc7e95de576a1ea2cc37f5bdf77b87b0119f6e76969ceb910c2b1b97e3d6bb6a8cdf9
DIST pgf-3.1.9a-pgfmanual.pdf 10185873 BLAKE2B b4be2357eaa99d9db140172ae760acd157d02ae2def6d1cc3032ed998190231b67b5f8d80035feb54bf6552d4c4b14b2ba1247506feb0ce8334a43faab599d6f SHA512 84d90419f9fb4444765c5c76d42d74529ba3f716aadf99a723dc9c55c65511f1de6d8a56fff2d26dba3d3e6b26821e33da55c19e571a2130e5f389c4d3c88747
DIST pgf-3.1.9a-revisioned.xz 240 BLAKE2B 3a0c910e32c24635e65454468b20dcc49c9053bf786f0acb636171034a1b2a3fc2235a214f1fe2e2b0457baed09bb04d4425e6d3744ec50a6a44f2a8017f93af SHA512 be2c42c406c1887ad5e8af154d31fe779d2a3203b12785f67a2db8d3da7892f1793f9163dda2ce9ac1ac920a538a77e230464080796d15c4741169fdfc3df0cf
DIST pgf-3.1.9a.tar.gz 2693043 BLAKE2B 488c886f1ac8ba26a684321410018b94e7baf8a3a15e21d140318c0f553e76b34de9f1e6e85241b4a9f7cd314a0686f8045b99cbe50e71ba5db5abf020712e24 SHA512 db609a615487b2c4bf4efe46d5b6b1a20b7fd1fc313c6fb6493fe0f6d547a9f4f6b8c2edc1412af5a18faf38a8ec6c3d9642e6de473be34f5896280496e5f02c
+EBUILD pgf-3.1.10.ebuild 1864 BLAKE2B 481b3311eb08c2fa271a66331ea894458e94919b8f09e4c2cb3bd67b26ee2c5003eae9019e55de73eb714808ebe31898759b87ef2873f994f56a1c769d379650 SHA512 28e2a6da582048391159aef1f6e77ab1fd06442e4eef2f552bd515bd4970f9e3ed5fa08c873f9306b6d6cf6997b051bb7dd0e597aad9f439ce028c4d0a90ce86
EBUILD pgf-3.1.9a.ebuild 1404 BLAKE2B c3960cde652959b73583ad4e44d090d7418b9bed643c4978ae38fb8bef226bc82da242052b08b5dd4d6992eab545c16c7b82e2bb8cad60c30740e85ddb67340b SHA512 e13c6a3613b1cab8470e3d6ab4057107f08b9421fbe1e4f8c226d31c702a7fc90506e580ba17bb4f59d7e7971b472540869f016882837a96f31fe69c36d200c7
MISC metadata.xml 375 BLAKE2B c821e303f35c53e3fa546c4703660caa04744b0e01b41f4930ade73477ea72c0f8e46753deb7f7ddaf0a76e207b2944eaa15eb7b7bbb58ed52746f19b56fe5f8 SHA512 0fbff96f42820196a3d66e28754473368b60d372fe04a7e8f45522facc630ef03c36effe83d2d44463d2b55cccab8157ae3665e0e61374101d100f7c8dce1c4b
diff --git a/dev-tex/pgf/pgf-3.1.10.ebuild b/dev-tex/pgf/pgf-3.1.10.ebuild
new file mode 100644
index 000000000000..c27820776254
--- /dev/null
+++ b/dev-tex/pgf/pgf-3.1.10.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc source"
+
+RDEPEND="dev-texlive/texlive-latexrecommended"
+
+src_install() {
+ einstalldocs
+
+ insinto "${TEXMF}"
+ doins -r tex
+ insinto "${TEXMF}"/tex/generic/${PN}
+ # Here is one of the rare examples where you want to quote the label
+ # of the heredoc to prevent the backticks from being evaluated.
+ newins - pgf.revision.tex <<"EOF"
+\begingroup
+\catcode`\-=12
+\catcode`\/=12
+\catcode`\.=12
+\catcode`\:=12
+\catcode`\+=12
+\catcode`\-=12
+\gdef\pgfrevision{@PVR@}
+\gdef\pgfversion{@PVR@}
+\gdef\pgfversiondatetime{2024-02-09 00:00:00 +0000}
+\gdef\pgfrevisiondatetime{2024-02-09 00:00:00 +0000}
+\gdef\pgf@glob@TMPa#1-#2-#3 #4\relax{#1/#2/#3}
+\xdef\pgfversiondate{\expandafter\pgf@glob@TMPa\pgfversiondatetime\relax}
+\xdef\pgfrevisiondate{\expandafter\pgf@glob@TMPa\pgfrevisiondatetime\relax}
+\endgroup
+EOF
+ sed -i s/@PVR@/${PVR}/ "${ED}/${TEXMF}"/tex/generic/${PN}/pgf.revision.tex || die
+
+ 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
+}