summaryrefslogtreecommitdiff
path: root/dev-libs/mathjax
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-17 03:31:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-17 03:31:10 +0100
commit280d9db9f9470686aae5ce1fa4cfa57b26e9beb2 (patch)
tree604fa555cdb815d5774494412f041887debf5220 /dev-libs/mathjax
parent2ef316f0ffbd90d833effd2d09d1232e5767e321 (diff)
gentoo auto-resync : 17:08:2023 - 03:31:10
Diffstat (limited to 'dev-libs/mathjax')
-rw-r--r--dev-libs/mathjax/Manifest2
-rw-r--r--dev-libs/mathjax/mathjax-3.2.2.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/mathjax/Manifest b/dev-libs/mathjax/Manifest
index f1b9930aa1fc..b86b2398b529 100644
--- a/dev-libs/mathjax/Manifest
+++ b/dev-libs/mathjax/Manifest
@@ -1,3 +1,5 @@
DIST mathjax-2.7.7.tar.gz 25347766 BLAKE2B c1f11bc854c95888d7f04ee627094a2e297e7554b0380dab30c08e2c4405495df611b440da0efd1e6456150513e07fa4ef90808d2332f9fb83785c118228de18 SHA512 471bd22475827a13d79de7d335f3e51ace06dfc04f575e8829b4505f428949f1dbe58798635cb434ed02ae0cd3fd8d1d577196b4961365fbcb399cc075d3284f
+DIST mathjax-3.2.2.tar.gz 6191341 BLAKE2B 4884ad28ede1d3d6f6647e04c8a69185a53715db673d42935ea9ff3ea1756e0e478b1f19345a35902d2e5c01a312272a2fe96dd36871cd8c4f266bcf4fb56c72 SHA512 4dc80c9e24593c1fcf08f38bad5251025f1de364d5cf24dd2f4cee0d78917dd11187f6132b67a17ff190d0a1862b83eb6c6edf28f91e8e84e50cdf76537f6b20
EBUILD mathjax-2.7.7.ebuild 1405 BLAKE2B b1b6a47d751d07cd35c8cc9386e3c67c78cf70ff8f7b8406aeb06a46359128d306e7f18ca08fa5ef24d96d767c7d44e60212a9ea2bf4f9c51d6eea2a760fbd6e SHA512 d8b70496fcf5a8ea511174c0b2a47411b263e8a0d4e95f796f73e3f839beb1ba1b10ebbf75a0677c28cb6c13ea60593db1f07f66f9fdc9da2910420c486ab1da
+EBUILD mathjax-3.2.2.ebuild 1149 BLAKE2B 5f83066fdedf89af0686903d7374278862c161068c420fc6936014b2c86b14711b014f490cd9009e04409a81b1e71d36a33739030531881c11a724d532f4194b SHA512 1a90ef2815fe45055c5d1f414225b6d29bf1e4de7bf1f9546b8be79f94ddef91d47819eab36e8c115b1fad7cab3cfa6c8b41225b5732ec2a7d53c986c6ea0bc9
MISC metadata.xml 1058 BLAKE2B 7b981b7e57c1645c403c1867defd7369db9ef81d92b0d6f5ad73d9e253e7158650af232a1d5f77ed26a573afeeb63156a06a87c9bbf9de8600e7602dce64b1a5 SHA512 28a6124db7d3aa2f7da5c39f6eaf57cc84385ab13d88fa54129acc6fa1eef99bd2ec30240c980182355778944f7e9d694ee5497a19101919d58004a056290261
diff --git a/dev-libs/mathjax/mathjax-3.2.2.ebuild b/dev-libs/mathjax/mathjax-3.2.2.ebuild
new file mode 100644
index 000000000000..9d8ec2feb032
--- /dev/null
+++ b/dev-libs/mathjax/mathjax-3.2.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit vcs-clean
+
+DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
+HOMEPAGE="https://www.mathjax.org/"
+SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/MathJax-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="doc"
+
+RDEPEND="doc? ( ~app-doc/mathjax-docs-${PV} )"
+
+src_prepare() {
+ default
+ egit_clean
+}
+
+src_install() {
+ local DOCS=( CONTRIBUTING.md README.md )
+ default
+
+ if use doc; then
+ # We need best_version to determine the right revision for
+ # app-doc/mathjax-docs.
+ local docsPF=$(best_version app-doc/mathjax-docs)
+
+ # Strip the (known) category from the best_version output.
+ docsPF=${docsPF#app-doc/}
+
+ dosym "../${docsPF}/html" "/usr/share/doc/${PF}/html"
+ fi
+
+ insinto "/usr/share/${PN}"
+
+ # Start the install beneath the "es5" directory for compatibility with
+ # Arch, Solus, and Void Linux.
+ doins -r es5/*
+}