commit:     d8b152f2a4aa1c44988f813ecf22d8392676206e
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 10:50:07 2025 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 10:50:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8b152f2

www-plugins/pdfjs: add 5.0.375

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

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

diff --git a/www-plugins/pdfjs/Manifest b/www-plugins/pdfjs/Manifest
index ea9b92af2580..f2d8c024a7ff 100644
--- a/www-plugins/pdfjs/Manifest
+++ b/www-plugins/pdfjs/Manifest
@@ -1,3 +1,4 @@
 DIST pdfjs-4.10.38.zip 6066797 BLAKE2B 
f8a8bfa5d8b7c17cd27edcd872e58e0f2c5ce0d81b292786d0f791ef800217bb91f6bd24c9ef523a3c5e581b0a8565712bf5f4d76209cb8d082699e483585379
 SHA512 
5619751cc14122638a9ba248c088f19ab3ef05b6b6bc9de652b27212eb17a83087a01f24f8aae5d5c2b52e2b6803938b059093662e99db0bffe0f347674d1d22
 DIST pdfjs-4.5.136.zip 5885918 BLAKE2B 
9741c202381f845756ecb2b80299a2c85f5ce3de47fc9b89de3d264695ef039043e8455845b0ac0b5c01b2b17b31066660bfaa83e9bdc011d7a2b7f2b648a029
 SHA512 
1062c1794335333ec23c44f717c8c0eac683594818678078338fb839ac8b72ba72be81074a6c33492994a2044c2fa66e2d219b56fbc36364ef9a43db86337e7f
 DIST pdfjs-4.9.155.zip 6040165 BLAKE2B 
1fcc39dc64a72d92588dccfce69780d969b3f5da5872703a98d5604523266107abb5222f2f1b87075e3ff01214ec68d53834e94614b8880cdc102946966ea934
 SHA512 
9f6b9c8007c1590f688cf71690af0ff271b280551ce347cb64726e07cb03372e4e22724ff4d6aaf06e66b34c3496e554e96fde1aadfc1ba1dd4269bab031786d
+DIST pdfjs-5.0.375.zip 6231693 BLAKE2B 
68b2c0834dbe00eee208cf809f253d55dba89251ce933242e38565a53788aae07d0c477316acbbfde4cd4aefb9a1db2e8251df8e25be863f3b506681e49521bb
 SHA512 
f3bab47997fd94b19c407c8b9fd0a4937bd86da91aceecf100620b9412926a540627e640d1e0303e32a0101fb700c166c09b9217df485d5ab6b1288ba638a9b1

diff --git a/www-plugins/pdfjs/pdfjs-5.0.375.ebuild 
b/www-plugins/pdfjs/pdfjs-5.0.375.ebuild
new file mode 100644
index 000000000000..cc5757c78ec3
--- /dev/null
+++ b/www-plugins/pdfjs/pdfjs-5.0.375.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2025 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