import ports/textproc/qpdfview, from Salil Wadernkar
tweaks from op@ and me, ok op@ qpdfview is a tabbed document viewer. It uses Poppler for PDF support, libspectre for PS support, DjVuLibre for DjVu support, CUPS for printing support and the Qt toolkit for its interface.
This commit is contained in:
parent
3c439572f7
commit
ec01ffd386
44
textproc/qpdfview/Makefile
Normal file
44
textproc/qpdfview/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
COMMENT= tabbed DjVu/PDF/PS document viewer
|
||||
V= 0.4.18
|
||||
DISTNAME= qpdfview-$V
|
||||
CATEGORIES= textproc
|
||||
|
||||
HOMEPAGE= https://launchpad.net/qpdfview
|
||||
|
||||
MAINTAINER= Salil Wadnerkar <bsdprg@gmail.com>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MASTER_SITES= https://launchpad.net/qpdfview/trunk/$V/+download/
|
||||
|
||||
MODULES= devel/qmake \
|
||||
x11/qt5
|
||||
|
||||
MODQMAKE_ARGS+= TARGET_INSTALL_PATH=${LOCALBASE}/bin \
|
||||
PLUGIN_INSTALL_PATH=${LOCALBASE}/lib \
|
||||
DATA_INSTALL_PATH=${LOCALBASE}/share/qpdfview \
|
||||
MANUAL_INSTALL_PATH=${LOCALBASE}/man/man1 \
|
||||
ICON_INSTALL_PATH=${LOCALBASE}/share/icons/hicolor/scalable/apps \
|
||||
LAUNCHER_INSTALL_PATH=${LOCALBASE}/share/applications \
|
||||
APPDATA_INSTALL_PATH=${LOCALBASE}/share
|
||||
|
||||
MODQMAKE_PROJECTS= qpdfview.pro
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} GL Qt5Concurrent Qt5Core Qt5DBus
|
||||
WANTLIB += Qt5Gui Qt5PrintSupport Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
|
||||
WANTLIB += c cups djvulibre m poppler-qt5 spectre synctex
|
||||
|
||||
LIB_DEPENDS= graphics/djvulibre \
|
||||
print/libspectre \
|
||||
print/poppler,-qt5 \
|
||||
print/texlive/base,-synctex \
|
||||
x11/qt5/qtsvg
|
||||
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
misc/shared-mime-info \
|
||||
x11/gtk+3,-guic
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/qpdfview/distinfo
Normal file
2
textproc/qpdfview/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (qpdfview-0.4.18.tar.gz) = zGQuf6dAKTc8qbn7wprcSIP4tFUTCnitVHRtaESgOWw=
|
||||
SIZE (qpdfview-0.4.18.tar.gz) = 786577
|
11
textproc/qpdfview/patches/patch-sources_model_h
Normal file
11
textproc/qpdfview/patches/patch-sources_model_h
Normal file
@ -0,0 +1,11 @@
|
||||
Index: sources/model.h
|
||||
--- sources/model.h.orig
|
||||
+++ sources/model.h
|
||||
@@ -27,6 +27,7 @@ along with qpdfview. If not, see <http://www.gnu.org/
|
||||
#include <QtPlugin>
|
||||
#include <QWidget>
|
||||
#include <QVector>
|
||||
+#include <QPainterPath>
|
||||
|
||||
class QAbstractItemModel;
|
||||
class QColor;
|
3
textproc/qpdfview/pkg/DESCR
Normal file
3
textproc/qpdfview/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
qpdfview is a tabbed document viewer. It uses Poppler for PDF support,
|
||||
libspectre for PS support, DjVuLibre for DjVu support, CUPS for printing
|
||||
support and the Qt toolkit for its interface.
|
43
textproc/qpdfview/pkg/PLIST
Normal file
43
textproc/qpdfview/pkg/PLIST
Normal file
@ -0,0 +1,43 @@
|
||||
@bin bin/qpdfview
|
||||
@so lib/libqpdfview_djvu.so
|
||||
@so lib/libqpdfview_image.so
|
||||
@so lib/libqpdfview_pdf.so
|
||||
@so lib/libqpdfview_ps.so
|
||||
@man man/man1/qpdfview.1
|
||||
share/applications/qpdfview.desktop
|
||||
share/icons/hicolor/scalable/apps/qpdfview.svg
|
||||
share/qpdfview/
|
||||
share/qpdfview.appdata.xml
|
||||
share/qpdfview/help.html
|
||||
share/qpdfview/help_az.html
|
||||
share/qpdfview/help_bg.html
|
||||
share/qpdfview/help_ca.html
|
||||
share/qpdfview/help_cs.html
|
||||
share/qpdfview/help_da.html
|
||||
share/qpdfview/help_de.html
|
||||
share/qpdfview/help_en_GB.html
|
||||
share/qpdfview/help_es.html
|
||||
share/qpdfview/help_fa.html
|
||||
share/qpdfview/help_fi.html
|
||||
share/qpdfview/help_fr.html
|
||||
share/qpdfview/help_gl.html
|
||||
share/qpdfview/help_it.html
|
||||
share/qpdfview/help_ja.html
|
||||
share/qpdfview/help_ko.html
|
||||
share/qpdfview/help_ku.html
|
||||
share/qpdfview/help_lt.html
|
||||
share/qpdfview/help_ms.html
|
||||
share/qpdfview/help_pl.html
|
||||
share/qpdfview/help_pt.html
|
||||
share/qpdfview/help_pt_BR.html
|
||||
share/qpdfview/help_ru.html
|
||||
share/qpdfview/help_sk.html
|
||||
share/qpdfview/help_sr.html
|
||||
share/qpdfview/help_sv.html
|
||||
share/qpdfview/help_tr.html
|
||||
share/qpdfview/help_uk.html
|
||||
share/qpdfview/help_vi.html
|
||||
share/qpdfview/help_zh_CN.html
|
||||
share/qpdfview/help_zh_TW.html
|
||||
@tag update-desktop-database
|
||||
@tag gtk-update-icon-cache %D/share/icons/hicolor
|
Loading…
x
Reference in New Issue
Block a user