diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-02-03 17:19:48 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-02-03 17:19:48 +0000 |
commit | dde1d99f260cbcad0c0052bc2ca8514f3bf80cc8 (patch) | |
tree | 9e5d99ee1df84e79448afdab5aa63a41a57b9ba2 /print | |
parent | deb9cad240a74e508a92a9f521fa9b619d3cd86d (diff) |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/xreader/Makefile | 12 | ||||
-rw-r--r-- | print/xreader/pkg-plist | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/print/xreader/Makefile b/print/xreader/Makefile index 0aca321c7ee1..d3a5c5377bd3 100644 --- a/print/xreader/Makefile +++ b/print/xreader/Makefile @@ -22,10 +22,12 @@ USE_XORG= ice sm x11 GLIB_SCHEMAS= org.x.reader.gschema.xml INSTALLS_ICONS= yes -MESON_ARGS= -Depub=false -Dtests=false +MATHJAX_DIR= ${LOCALBASE}/www/MathJax +MESON_ARGS= -Dtests=false -OPTIONS_DEFINE= DJVU KEYRING PDF PS TIFF XPS +OPTIONS_DEFINE= DJVU EPUB KEYRING PDF PS TIFF XPS OPTIONS_DEFAULT= DJVU KEYRING PDF TIFF XPS +EPUB_DESC= EPUB e-book format support KEYRING_DESC= Password-protected document support XPS_DESC= XPS document support OPTIONS_SUB= yes @@ -33,6 +35,12 @@ OPTIONS_SUB= yes DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_MESON_ON= -Ddjvu=true +EPUB_BUILD_DEPENDS= ${MATHJAX_DIR}/MathJax.js:www/mathjax +EPUB_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 +EPUB_RUN_DEPENDS= ${EPUB_BUILD_DEPENDS} +EPUB_MESON_ON= -Dmathjax-directory=${MATHJAX_DIR} +EPUB_MESON_OFF= -Depub=false + KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret KEYRING_MESON_OFF= -Dkeyring=false diff --git a/print/xreader/pkg-plist b/print/xreader/pkg-plist index 4174d7044b85..497e62c59ad2 100644 --- a/print/xreader/pkg-plist +++ b/print/xreader/pkg-plist @@ -57,7 +57,9 @@ lib/libxreaderview.so lib/libxreaderview.so.3 lib/libxreaderview.so.3.0.0 %%DJVU%%lib/xreader/3/backends/djvudocument.xreader-backend +%%EPUB%%lib/xreader/3/backends/epubdocument.xreader-backend %%DJVU%%lib/xreader/3/backends/libdjvudocument.so +%%EPUB%%lib/xreader/3/backends/libepubdocument.so %%PDF%%lib/xreader/3/backends/libpdfdocument.so %%PS%%lib/xreader/3/backends/libpsdocument.so %%TIFF%%lib/xreader/3/backends/libtiffdocument.so |