git: c0026dd4b8d5 - main - graphics/py-qpageview: New port: Page-based viewer widget for Qt5/PyQt5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 19:08:37 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c0026dd4b8d5278c9fad00a32c56bc85fc1da28f
commit c0026dd4b8d5278c9fad00a32c56bc85fc1da28f
Author: Martin Neubauer <m.ne@gmx.net>
AuthorDate: 2022-07-03 19:05:23 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-07-03 19:08:00 +0000
graphics/py-qpageview: New port: Page-based viewer widget for Qt5/PyQt5
- author becomes maintainer
qpageview provides a page based document viewer widget for Qt5/PyQt5.
It has a flexible architecture potentionally supporting many formats.
Currently, it supports SVG documents, images, and, using the
Poppler-Qt5 binding, PDF documents.
https://qpageview.org/
PR: 264987
---
graphics/Makefile | 1 +
graphics/py-qpageview/Makefile | 29 +++++++++++++++++++++++++++++
graphics/py-qpageview/distinfo | 3 +++
graphics/py-qpageview/pkg-descr | 7 +++++++
4 files changed, 40 insertions(+)
diff --git a/graphics/Makefile b/graphics/Makefile
index 85d1eb877603..b73569570c04 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -909,6 +909,7 @@
SUBDIR += py-pyvips
SUBDIR += py-pyvista
SUBDIR += py-pyx
+ SUBDIR += py-qpageview
SUBDIR += py-qrencode
SUBDIR += py-railroad-diagrams
SUBDIR += py-rasterio
diff --git a/graphics/py-qpageview/Makefile b/graphics/py-qpageview/Makefile
new file mode 100644
index 000000000000..684ea2c3f1ac
--- /dev/null
+++ b/graphics/py-qpageview/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= qpageview
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.6.2
+CATEGORIES= graphics python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= m.ne@gmx.net
+COMMENT= Page-based viewer widget for Qt5/PyQt5
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-poppler-qt5>=0:graphics/py-python-poppler-qt5@${PY_FLAVOR}
+
+USES= pyqt:5 python:3.6+ qt:5
+USE_GITHUB= yes
+GH_ACCOUNT= frescobaldi
+USE_PYQT= pyqt5
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= CUPS
+
+CUPS_DESC= Use print/py-pycups for printing
+
+CUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycups>0:print/py-pycups@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/graphics/py-qpageview/distinfo b/graphics/py-qpageview/distinfo
new file mode 100644
index 000000000000..2ca2c24d0a9d
--- /dev/null
+++ b/graphics/py-qpageview/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1653158600
+SHA256 (frescobaldi-qpageview-v0.6.2_GH0.tar.gz) = 5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674
+SIZE (frescobaldi-qpageview-v0.6.2_GH0.tar.gz) = 159098
diff --git a/graphics/py-qpageview/pkg-descr b/graphics/py-qpageview/pkg-descr
new file mode 100644
index 000000000000..4868f8692c9a
--- /dev/null
+++ b/graphics/py-qpageview/pkg-descr
@@ -0,0 +1,7 @@
+qpageview provides a page based document viewer widget for Qt5/PyQt5.
+
+It has a flexible architecture potentionally supporting many formats.
+Currently, it supports SVG documents, images, and, using the
+Poppler-Qt5 binding, PDF documents.
+
+WWW: https://qpageview.org/