Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : mupdf | name : mupdf | ||||
| version : 1.17.0 | version : 1.18.0 | ||||
| release : 4 | release : 5 | ||||
| source : | source : | ||||
| - https://github.com/ArtifexSoftware/mupdf/archive/1.17.0.tar.gz : 86bf76f88335cfe494ecb753ac8d714def3824718a815b0b42bce7e2dcefaf8d | - https://mupdf.com/downloads/archive/mupdf-1.18.0-source.tar.xz : 592d4f6c0fba41bb954eb1a41616661b62b134d5b383e33bd45a081af5d4a59a | ||||
| homepage : https://mupdf.com/ | homepage : https://mupdf.com | ||||
| license : AGPL-3.0-or-later | license : AGPL-3.0-or-later | ||||
| component : office.viewers | component : office.viewers | ||||
| summary : lightweight PDF, XPS, and E-book viewer | summary : lightweight PDF, XPS, and e-book viewer | ||||
| description: | | description: | | ||||
| MuPDF is a lightweight PDF, XPS, and E-book viewer. | MuPDF is a lightweight PDF, XPS, and E-book viewer. | ||||
| MuPDF consists of a software library, command line tools, and viewers for various platforms. | MuPDF consists of a software library, command line tools, and viewers for various platforms. | ||||
| The renderer in MuPDF is tailored for high quality anti-aliased graphics. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen. | The renderer in MuPDF is tailored for high quality anti-aliased graphics. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen. | ||||
| The viewer is small, fast, yet complete. It supports many document formats, such as PDF, XPS, OpenXPS, CBZ, EPUB, and FictionBook 2. You can annotate PDF documents and fill out forms with the mobile viewers (this feature is coming soon to the desktop viewer as well). | The viewer is small, fast, yet complete. It supports many document formats, such as PDF, XPS, OpenXPS, CBZ, EPUB, and FictionBook 2. You can annotate PDF documents and fill out forms with the mobile viewers (this feature is coming soon to the desktop viewer as well). | ||||
| The command line tools allow you to annotate, edit, and convert documents to other formats such as HTML, SVG, PDF, and CBZ. You can also write scripts to manipulate documents using Javascript. | The command line tools allow you to annotate, edit, and convert documents to other formats such as HTML, SVG, PDF, and CBZ. You can also write scripts to manipulate documents using Javascript. | ||||
| libsplit : false | libsplit : false | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(freetype2) | - pkgconfig(freetype2) | ||||
| - pkgconfig(glu) | - pkgconfig(glu) | ||||
| - pkgconfig(glut) | - pkgconfig(gumbo) | ||||
| - pkgconfig(harfbuzz) | - pkgconfig(harfbuzz) | ||||
| - pkgconfig(jbig2dec) | - pkgconfig(jbig2dec) | ||||
| - pkgconfig(lcms2) | - pkgconfig(lcms2) | ||||
| - pkgconfig(libcurl) | - pkgconfig(libcurl) | ||||
| - pkgconfig(libopenjp2) | - pkgconfig(libopenjp2) | ||||
| - pkgconfig(libturbojpeg) | - pkgconfig(libturbojpeg) | ||||
| - pkgconfig(mujs) | - pkgconfig(mujs) | ||||
| - pkgconfig(xext) | - pkgconfig(xext) | ||||
| - pkgconfig(xi) | |||||
| - pkgconfig(xrandr) | |||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/0001-shared_libs-1.patch | # MuPDF ships a patched freeglut that supports unicode. Use it. | ||||
| find thirdparty -mindepth 1 -maxdepth 1 -not -name freeglut -exec rm -rf {} + | |||||
| %patch -p1 < $pkgfiles/Link-against-shared-libs.patch | |||||
| echo "\ | |||||
| USE_SYSTEM_FREETYPE=yes | |||||
| USE_SYSTEM_GUMBO=yes | |||||
| USE_SYSTEM_HARFBUZZ=yes | |||||
| USE_SYSTEM_JBIG2DEC=yes | |||||
| USE_SYSTEM_LCMS2=yes | |||||
| USE_SYSTEM_LIBJPEG=yes | |||||
| USE_SYSTEM_MUJS=yes | |||||
| USE_SYSTEM_OPENJPEG=yes | |||||
| USE_SYSTEM_ZLIB=yes" > user.make | |||||
| build : | | build : | | ||||
| rm -rf thirdparty/ | %make | ||||
| %make USE_SYSTEM_LIBS=yes | |||||
| install : | | install : | | ||||
| %make_install prefix=/usr USE_SYSTEM_LIBS=yes | %make_install prefix=%PREFIX% | ||||
| install -Dm 00644 docs/logo/mupdf.png $installdir/usr/share/pixmaps/mupdf.png | install -Dm00644 docs/logo/mupdf-logo.svg $installdir/usr/share/icons/hicolor/scalable/apps/mupdf.svg | ||||
| install -Dm 00644 $pkgfiles/mupdf.desktop $installdir/usr/share/applications/mupdf.desktop | install -Dm00644 $pkgfiles/mupdf.desktop -t $installdir/usr/share/applications | ||||
| # Not used anywhere. | |||||
| rm -rf $installdir/usr/lib/libmupdf-third.so | rm -rf $installdir/usr/lib/libmupdf-third.so | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.