diff options
author | olivierd <olivierd@FreeBSD.org> | 2015-11-19 13:02:25 +0800 |
---|---|---|
committer | olivierd <olivierd@FreeBSD.org> | 2015-11-19 13:02:25 +0800 |
commit | f8d9e2ec03d4d55b5e986b2d43c7df20f75a1154 (patch) | |
tree | d690f7cba458a36d0e34ca62a19350eedb265270 /print | |
parent | 52effd470d3f748442dd7982cf4b06c83d6839d5 (diff) | |
download | freebsd-ports-gnome-f8d9e2ec03d4d55b5e986b2d43c7df20f75a1154.tar.gz freebsd-ports-gnome-f8d9e2ec03d4d55b5e986b2d43c7df20f75a1154.tar.zst freebsd-ports-gnome-f8d9e2ec03d4d55b5e986b2d43c7df20f75a1154.zip |
- Update to 0.4.16
- Add support of Qt4 (set by default) and Qt5
PR: 204563
Submitted by: myself
Approved by: vg@ (maintainer)
Diffstat (limited to 'print')
-rw-r--r-- | print/qpdfview/Makefile | 24 | ||||
-rw-r--r-- | print/qpdfview/distinfo | 4 | ||||
-rw-r--r-- | print/qpdfview/pkg-plist | 5 |
3 files changed, 19 insertions, 14 deletions
diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile index 3565394720dc..5a3f410949a4 100644 --- a/print/qpdfview/Makefile +++ b/print/qpdfview/Makefile @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= qpdfview -PORTVERSION= 0.4.14 -PORTREVISION= 1 +PORTVERSION= 0.4.16 CATEGORIES= print -MASTER_SITES= https://launchpad.net/qpdfview/trunk/0.4.14/+download/ +MASTER_SITES= https://launchpadlibrarian.net/226592308/ \ + https://launchpad.net/${PORTVERSION}/trunk/${PORTVERSION}/+download/ MAINTAINER= vg@FreeBSD.org COMMENT= Tabbed DjVu/PDF/PS document viewer @@ -13,19 +13,18 @@ COMMENT= Tabbed DjVu/PDF/PS document viewer LICENSE= GPLv2 USES= desktop-file-utils pkgconfig qmake -USE_QT4= corelib dbus gui imageformats_run linguisttools_build \ - moc_build rcc_build sql sql-sqlite3_run svg xml USE_LDCONFIG= yes -QMAKE_ARGS+= QMAKE_CFLAGS_RELEASE="" QMAKE_CXXFLAGS_RELEASE="" QMAKE_SOURCE_PATH= ${PORTNAME}.pro DATADIR= ${PREFIX}/share/${PORTNAME} +OPTIONS_SINGLE= TOOLKITS +OPTIONS_SINGLE_TOOLKITS= QT4 QT5 OPTIONS_DEFINE= CUPS OPTIONS_MULTI= BACKEND -OPTIONS_MULTI_BACKEND= DJVU PDF PS -BACKEND_DESC= Documents support -OPTIONS_DEFAULT= CUPS PDF +OPTIONS_MULTI_BACKEND= DJVU PS +BACKEND_DESC= Additional documents support +OPTIONS_DEFAULT= QT4 CUPS PS OPTIONS_SUB= yes CUPS_QMAKE_OFF= "CONFIG+=without_cups" @@ -34,8 +33,11 @@ CUPS_LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client DJVU_LIB_DEPENDS= libdjvulibre.so:${PORTSDIR}/graphics/djvulibre DJVU_QMAKE_OFF= "CONFIG+=without_djvu" -PDF_LIB_DEPENDS= libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 -PDF_QMAKE_OFF= "CONFIG+=without_pdf" +QT4_USE= qt4=dbus,gui,linguisttools,sql,sql-sqlite3,svg,xml +QT4_LIB_DEPENDS= libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 + +QT5_USE= qt5=concurrent,linguisttools,printsupport,sql,sql-sqlite3 +QT5_LIB_DEPENDS= libpoppler-qt5.so:${PORTSDIR}/graphics/poppler-qt5 PS_LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre PS_QMAKE_OFF= "CONFIG+=without_ps" diff --git a/print/qpdfview/distinfo b/print/qpdfview/distinfo index 1ace9142f833..cdf64b72ed3c 100644 --- a/print/qpdfview/distinfo +++ b/print/qpdfview/distinfo @@ -1,2 +1,2 @@ -SHA256 (qpdfview-0.4.14.tar.gz) = 69c685be50792256547ce85c672448bd655f8ca4a1a15fbf4e97e58d7f47a895 -SIZE (qpdfview-0.4.14.tar.gz) = 591025 +SHA256 (qpdfview-0.4.16.tar.gz) = fad416e8fefc3057fa1b8d12d964c7eccd16dffe0307a0d6e9d55a543294da7f +SIZE (qpdfview-0.4.16.tar.gz) = 636095 diff --git a/print/qpdfview/pkg-plist b/print/qpdfview/pkg-plist index ed7d0d08e398..61f7c5c71b70 100644 --- a/print/qpdfview/pkg-plist +++ b/print/qpdfview/pkg-plist @@ -1,6 +1,7 @@ bin/qpdfview %%DJVU%%lib/qpdfview/libqpdfview_djvu.so -%%PDF%%lib/qpdfview/libqpdfview_pdf.so +lib/qpdfview/libqpdfview_image.so +lib/qpdfview/libqpdfview_pdf.so %%PS%%lib/qpdfview/libqpdfview_ps.so man/man1/qpdfview.1.gz share/appdata/qpdfview.appdata.xml @@ -25,6 +26,7 @@ share/icons/hicolor/scalable/apps/qpdfview.svg %%DATADIR%%/help_pt_BR.html %%DATADIR%%/help_ru.html %%DATADIR%%/help_sk.html +%%DATADIR%%/help_sv.html %%DATADIR%%/help_uk.html %%DATADIR%%/help_vi.html %%DATADIR%%/help_zh_CN.html @@ -47,6 +49,7 @@ share/icons/hicolor/scalable/apps/qpdfview.svg %%DATADIR%%/qpdfview_gl.qm %%DATADIR%%/qpdfview_he.qm %%DATADIR%%/qpdfview_hr.qm +%%DATADIR%%/qpdfview_hu.qm %%DATADIR%%/qpdfview_id.qm %%DATADIR%%/qpdfview_it.qm %%DATADIR%%/qpdfview_kk.qm |