diff options
author | Ken Moore <ken@ixsystems.com> | 2018-03-21 16:51:28 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-03-21 16:52:24 -0400 |
commit | f4f0e54399c1c4e8d0bf7ece8e30e70d82738012 (patch) | |
tree | 66b8339d41253165a647c1a0479db91b35f133d1 /port-files | |
parent | Improved Bookmarks layout and made MuPDF the default backend (diff) | |
download | lumina-f4f0e54399c1c4e8d0bf7ece8e30e70d82738012.tar.gz lumina-f4f0e54399c1c4e8d0bf7ece8e30e70d82738012.tar.bz2 lumina-f4f0e54399c1c4e8d0bf7ece8e30e70d82738012.zip |
Update the port makefile for deskutils/lumina-pdf to expose the MuPDF/Poppler build options.
Have the MuPDF option enabled by default.
Diffstat (limited to 'port-files')
-rw-r--r-- | port-files/FreeBSD/deskutils/lumina-pdf/Makefile | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/port-files/FreeBSD/deskutils/lumina-pdf/Makefile b/port-files/FreeBSD/deskutils/lumina-pdf/Makefile index 5277be8b..77de270f 100644 --- a/port-files/FreeBSD/deskutils/lumina-pdf/Makefile +++ b/port-files/FreeBSD/deskutils/lumina-pdf/Makefile @@ -10,14 +10,27 @@ COMMENT= PDF viewer from the Lumina Desktop LICENSE= BSD3CLAUSE -LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 - CONFLICTS_INSTALL= lumina-1.2.* OPTIONS_DEFINE= I18N + +OPTIONS_SINGLE= RENDERER +OPTIONS_SINGLE_RENDERER= POPPLER MUPDF + OPTIONS_SUB= yes -OPTIONS_DEFAULT= I18N +OPTIONS_DEFAULT= I18N MUPDF + I18N_DESC= Install localization files +POPPLER_DESC= Use Poppler-qt5 backend renderer +MUPDF_DESC= Use MuPDF backend renderer + +POPPLER_LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 +POPPLER_QMAKE_ON= USE_POPPLER=true +MUPDF_LIB_DEPENDS= libmupdf.so:graphics/mupdf +MUPDF_QMAKE_ON= USE_MUPDF=true + +I18N_QMAKE_ON= CONFIG+=WITH_I18N +I18N_USE= qt5=linguist_build .include <bsd.port.options.mk> @@ -32,9 +45,4 @@ GH_PROJECT= lumina GH_TAGNAME= %%GHTAG%% WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} -.if${PORT_OPTIONS:MI18N} -USE_QT5+= linguist_build -QMAKE_ARGS+=CONFIG+=WITH_I18N -.endif - .include <bsd.port.mk> |