diff options
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/pgf/Manifest | 3 | ||||
-rw-r--r-- | dev-tex/pgf/pgf-3.1.9a.ebuild | 46 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-tex/pgf/Manifest b/dev-tex/pgf/Manifest index f2070ba60588..46f565e6a9dd 100644 --- a/dev-tex/pgf/Manifest +++ b/dev-tex/pgf/Manifest @@ -4,3 +4,6 @@ DIST pgf-3.1.4b.tar.gz 2426541 BLAKE2B 91f1b0ea1f2f3526da6a57cd2deec76b49b420404 DIST pgf-3.1.5b-pgfmanual.pdf 10531853 BLAKE2B 5bae5c0fa8a5427e93a779fecf76483ae3c29500a9637f4c1f22ef5d994fef20d64ece69fc78778c07095003e9b8c77b394f26cd649dfb0d6cc3efba63bb3937 SHA512 980e11182adf58b5a029bc807ef5e57110b566c836548df37aed9d2493803fa72bdead0b05220d844c9de8c416fd8439dcb9e9dc50626f15955f97ced3cb582c DIST pgf-3.1.5b-revisioned.xz 244 BLAKE2B 7072ba9a8f22bc26fda64dcdb9a272ed71a718d0c99b5ee53acdf14e472bc7bc220ffc3a7d95bbef221f44bad5f136f8247d69dcd8b22f3d6215fd9c59ea3b67 SHA512 09803852bea5768186fbee86390249a046a9c9e9b60624d02de7e8ea34789e3640ba762b17dd717fc751d869ca3b30cc66e7c4237746ddc1390c65e70ab97302 DIST pgf-3.1.5b.tar.gz 2597080 BLAKE2B 33b2ec65202d65a839db50ec084e0708d3f3b413e7bf1d09cf78d39bc2da1390b06a05f2e386de5f7a94c60634bf1e99354851245152c57bda67ecf20a980318 SHA512 a7473526746e8ba2485ece61f4b5dafb78d1714ba616fb7707ea22451f5b64c307474988ab6914a98e94773b7dc07492325c3e11037f3db2bf11f32396b8dc40 +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 diff --git a/dev-tex/pgf/pgf-3.1.9a.ebuild b/dev-tex/pgf/pgf-3.1.9a.ebuild new file mode 100644 index 000000000000..02e87d3a3e94 --- /dev/null +++ b/dev-tex/pgf/pgf-3.1.9a.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 + https://dev.gentoo.org/~tamiko/distfiles/${P}-revisioned.xz + 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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc source" + +RDEPEND="dev-texlive/texlive-latexrecommended" + +DOCS=( README.md doc/generic/pgf/ChangeLog doc/generic/pgf/RELEASE_NOTES.md ) + +src_install() { + einstalldocs + + insinto "${TEXMF}" + doins -r tex + insinto "${TEXMF}"/tex/generic/${PN} + newins "${WORKDIR}"/${P}-revisioned pgf.revision.tex + + 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 text-en version-* + rm version-for-dvisvgm/en/color.cfg || die # bug 700056 + + dosym "../../../doc/${PF}/texdoc" "${TEXMF}/doc/latex/${PN}" + docompress -x "/usr/share/doc/${P}/texdoc/" + fi +} |