commit:     5ccc759b52c3461abf0e4bc72ae56e6a4da90b5d
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  9 08:22:42 2024 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Jan  9 08:23:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ccc759b

www-plugins/pdfjs: add 4.0.379

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

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

diff --git a/www-plugins/pdfjs/Manifest b/www-plugins/pdfjs/Manifest
index e852044fbea2..8910c91bce18 100644
--- a/www-plugins/pdfjs/Manifest
+++ b/www-plugins/pdfjs/Manifest
@@ -1,2 +1,3 @@
 DIST pdfjs-3.9.179.zip 5775197 BLAKE2B 
03bbdce1ebeffa025106ce88fcc61bcc523fcac6009cdac39a694a5347cdf63eb2da37a39ea08ca9c3c9e1e3ccf988f17619a14b07d2f8c3c2eac33a43cdabe3
 SHA512 
85fdcc7839a871a87312d0f006e6d54badf561bfff7bb16463230811cba47d1636e66b3865fb3dd19613444e88e7c1d89a298be04f88f2d1a7c6455df259ff4c
 DIST pdfjs-4.0.269.zip 5781825 BLAKE2B 
5ee4fea2eb0ed6c5e97a2135c077abd7747487070a7126be443ebfb5f0fe289e3584edfebf2bfa270daa1397f4ca42bb963b9ed8fe89c7a7c31ae0505f80d7f5
 SHA512 
68a2a8ddc11e732099c7a79d0bbb6c2db579fdeb96c8335206d5797c662e2bf3fcd257de5909a979e54afa09858b408dfc827360d86deac640199e0980354c12
+DIST pdfjs-4.0.379.zip 5813357 BLAKE2B 
b0ca37ad0ea4d0859c5a0277592d9f2f1ca0a49bfbd05ccde12e982d6485fe70a4d00ba5608c240a1b482c63f0bf39163fe49a7f833e3192b475af35059a3c73
 SHA512 
cdab3338b953c800056a26aa94a7b31ae0a67dd9f4725550318d133acbb7eec8dafed55e61cd838fc7f43ba11bfed186395330e7fe36bc0000082baea4ee6b73

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