summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/pdfjs/Manifest1
-rw-r--r--www-plugins/pdfjs/pdfjs-2.10.377.ebuild22
2 files changed, 23 insertions, 0 deletions
diff --git a/www-plugins/pdfjs/Manifest b/www-plugins/pdfjs/Manifest
index 07d8fe055728..5d4c6c0e5f53 100644
--- a/www-plugins/pdfjs/Manifest
+++ b/www-plugins/pdfjs/Manifest
@@ -1,2 +1,3 @@
+DIST pdfjs-2.10.377.zip 5274223 BLAKE2B 5cfc5dfa68519d987a440804d852834001d6b33b8677eaa3b2a27da872f5340472a00b0026f58917c15a8579670fe99aa53c76b31f79017a41778fdb74819f9c SHA512 ea26094558e1477b6fa9377ad96c9dd616257a65ff1cb05ef91f91e7dbb3f44ae17dde9577aa2743c20203c2d1c27537ea391ac1eff0dace134676beba1d0cb2
DIST pdfjs-2.4.456.zip 3773255 BLAKE2B b3f293d57bd21e05d4de70f99d24ac047e51b91a844e763778e5d557e9af0dbb090f9157363c92b4453bc925db4ce1c954999f6064fd4d062f27ef5ceed4a2d6 SHA512 2f79af887aac0eab346ab48f9ad91e92aefbd037c4cbe00694c07283b61cea6e321fd0abd88846723b34e2e81abd81ce3a11258f88ba033fcb59f196d1497e7d
DIST pdfjs-2.5.207.zip 3804074 BLAKE2B a6c61c755ecdbd90bdf4ae76ec1ed9ffe00293e32d9e1ec92623f1a19658462385dded7f33f65f2ee609f157cf95b568b7e8c5ccd03a24d1f514092dd660a7c0 SHA512 f23140bd1705966a950076c6c7aeea10da6e29db160fd760f3c877b6e632d24f313e15d3ece64c662077e3cc9e25eb5c8c937e48c7e8b32ec07df6cdb0827304
diff --git a/www-plugins/pdfjs/pdfjs-2.10.377.ebuild b/www-plugins/pdfjs/pdfjs-2.10.377.ebuild
new file mode 100644
index 000000000000..6f2bb76c6b3f
--- /dev/null
+++ b/www-plugins/pdfjs/pdfjs-2.10.377.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A PDF reader in JavaScript"
+HOMEPAGE="https://mozilla.github.io/pdf.js/"
+SRC_URI="https://github.com/mozilla/pdf.js/releases/download/v${PV}/${P}-dist.zip -> ${P}.zip"
+S="${WORKDIR}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="app-arch/unzip"
+
+src_install() {
+ insinto /usr/share/pdf.js/
+
+ doins -r build
+ doins -r web
+}