commit:     7afd769786f2ede8a2daae731bf95fb8b1ba3bbc
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 21 15:10:16 2025 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Jan 21 15:10:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7afd7697

www-plugins/pdfjs: add 4.10.38

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

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

diff --git a/www-plugins/pdfjs/Manifest b/www-plugins/pdfjs/Manifest
index a6d9bf0c5c1e..ea9b92af2580 100644
--- a/www-plugins/pdfjs/Manifest
+++ b/www-plugins/pdfjs/Manifest
@@ -1,2 +1,3 @@
+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

diff --git a/www-plugins/pdfjs/pdfjs-4.10.38.ebuild 
b/www-plugins/pdfjs/pdfjs-4.10.38.ebuild
new file mode 100644
index 000000000000..cc5757c78ec3
--- /dev/null
+++ b/www-plugins/pdfjs/pdfjs-4.10.38.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