mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pdf.js: update to 2.4.456.
This commit is contained in:
parent
646fdb7089
commit
4e73937b61
1 changed files with 7 additions and 20 deletions
|
@ -1,31 +1,18 @@
|
||||||
# Template file for 'pdf.js'
|
# Template file for 'pdf.js'
|
||||||
pkgname=pdf.js
|
pkgname=pdf.js
|
||||||
version=2.3.200
|
version=2.4.456
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
hostmakedepends="nodejs python pkg-config"
|
create_wrksrc=yes
|
||||||
makedepends="pixman-devel cairo-devel pango-devel libjpeg-turbo-devel"
|
|
||||||
short_desc="Portable Document Format (PDF) viewer built with HTML5"
|
short_desc="Portable Document Format (PDF) viewer built with HTML5"
|
||||||
maintainer="Daniel Santana <daniel@santana.tech>"
|
maintainer="Daniel Santana <daniel@santana.tech>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://mozilla.github.io/pdf.js/"
|
homepage="https://mozilla.github.io/pdf.js/"
|
||||||
distfiles="https://github.com/mozilla/pdf.js/archive/v${version}.tar.gz"
|
distfiles="https://github.com/mozilla/pdf.js/releases/download/v${version}/pdfjs-${version}-es5-dist.zip"
|
||||||
checksum=b0f95b7a56187a04fcba11242df5285f1f3cc99ce86be269ca033820098e667d
|
checksum=f40f7bc4d96cc430c858ef26da2708b5a4669b6316278b67251a95f9a8fdff5d
|
||||||
|
|
||||||
nocross="doesn't respect CFLAGS"
|
|
||||||
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
|
||||||
i686*) broken="https://build.voidlinux.org/builders/i686_builder/builds/15674/steps/shell_3/logs/stdio" ;;
|
|
||||||
ppc*) broken="attempts to build v8 and fails" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
npm install
|
|
||||||
npm install --no-save gulp-cli
|
|
||||||
node_modules/.bin/gulp generic
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/$pkgname
|
vmkdir usr/share/$pkgname/
|
||||||
vcopy "build/generic/*" usr/share/$pkgname
|
vcopy web usr/share/$pkgname/
|
||||||
|
vcopy build usr/share/$pkgname/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue