commit:     08b39afed44d0c0c2d7feb8231fcb125ae94b303
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 14 10:36:00 2024 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 10:36:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b39afe

www-plugins/pdfjs: add 4.7.76

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 www-plugins/pdfjs/Manifest            |  1 +
 www-plugins/pdfjs/pdfjs-4.7.76.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/www-plugins/pdfjs/Manifest b/www-plugins/pdfjs/Manifest
index 4c6b16436765..4f17fec3092c 100644
--- a/www-plugins/pdfjs/Manifest
+++ b/www-plugins/pdfjs/Manifest
@@ -1,2 +1,3 @@
 DIST pdfjs-4.5.136.zip 5885918 BLAKE2B 
9741c202381f845756ecb2b80299a2c85f5ce3de47fc9b89de3d264695ef039043e8455845b0ac0b5c01b2b17b31066660bfaa83e9bdc011d7a2b7f2b648a029
 SHA512 
1062c1794335333ec23c44f717c8c0eac683594818678078338fb839ac8b72ba72be81074a6c33492994a2044c2fa66e2d219b56fbc36364ef9a43db86337e7f
 DIST pdfjs-4.6.82.zip 5971143 BLAKE2B 
7ee5d313cb0e90cd059576594bced79c2b77db3c7142c5b68787635f3206910f9fe560f4d19a9b7e467c799d5287fe33427021c033444d02f9b89f66974f4788
 SHA512 
4981a39827b36a1f6a8ba0611504460422e7f47ea35e57bb08812750959b3d51c19395a29e0e3aef7787c2f746ca84ede11de483f80450586266c56ceb0aef76
+DIST pdfjs-4.7.76.zip 6005973 BLAKE2B 
50c0df71c0dce34369d70573717f3126ae0f9a681688747aab44a4e7067a484549809646e24b74682fe10136ae5c602a82332d737b428792f47d1615bfdd41c5
 SHA512 
ce0584c2ee0e11ac23e74c647de886b2a9d80be6db88f82d9cf7bcdcfb785e1bd3a851cf31f0c330ea4d1dd5e50e7894dcd84b22754f324a152a9c8411fa664d

diff --git a/www-plugins/pdfjs/pdfjs-4.7.76.ebuild 
b/www-plugins/pdfjs/pdfjs-4.7.76.ebuild
new file mode 100644
index 000000000000..a7c66a412285
--- /dev/null
+++ b/www-plugins/pdfjs/pdfjs-4.7.76.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm64 ~x86"
+
+BDEPEND="app-arch/unzip"
+
+src_install() {
+       insinto /usr/share/pdf.js/
+
+       doins -r build
+       doins -r web
+}

Reply via email to