pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print Add print/poppler-qt6 version 22.10.0 to pkgsrc-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1af85c761415
branches:  trunk
changeset: 389592:1af85c761415
user:      nros <nros%pkgsrc.org@localhost>
date:      Tue Dec 06 14:05:09 2022 +0000

description:
Add print/poppler-qt6 version 22.10.0 to pkgsrc-current

This is the QT6 wrapper for poppler, a PDF rendering library. It
is a fork of the xpdf 3.0 PDF viewer developed by Derek Noonburg
of Glyph and Cog, LLC.

Poppler provides PDF rendering functionality as a shared library,
to centralize the maintenence effort and to reduce duplicated
effort. And the poppler developers would like to move libpoppler
forward in a number of areas that doesn't fit within the goals of
xpdf.

diffstat:

 print/Makefile                  |   3 ++-
 print/poppler-qt6/DESCR         |   9 +++++++++
 print/poppler-qt6/Makefile      |  37 +++++++++++++++++++++++++++++++++++++
 print/poppler-qt6/PLIST         |  14 ++++++++++++++
 print/poppler-qt6/buildlink3.mk |  15 +++++++++++++++
 print/poppler/Makefile.common   |   3 ++-
 6 files changed, 79 insertions(+), 2 deletions(-)

diffs (124 lines):

diff -r ea5eca94868d -r 1af85c761415 print/Makefile
--- a/print/Makefile    Tue Dec 06 13:32:03 2022 +0000
+++ b/print/Makefile    Tue Dec 06 14:05:09 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.893 2022/11/14 19:34:37 wiz Exp $
+# $NetBSD: Makefile,v 1.894 2022/12/06 14:05:09 nros Exp $
 #
 
 COMMENT=       Desktop publishing
@@ -120,6 +120,7 @@
 SUBDIR+=       poppler-glib
 SUBDIR+=       poppler-includes
 SUBDIR+=       poppler-qt5
+SUBDIR+=       poppler-qt6
 SUBDIR+=       poppler-utils
 SUBDIR+=       poster
 SUBDIR+=       pscal
diff -r ea5eca94868d -r 1af85c761415 print/poppler-qt6/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-qt6/DESCR   Tue Dec 06 14:05:09 2022 +0000
@@ -0,0 +1,9 @@
+This is the QT6 wrapper for poppler, a PDF rendering library. It
+is a fork of the xpdf 3.0 PDF viewer developed by Derek Noonburg
+of Glyph and Cog, LLC.
+
+Poppler provides PDF rendering functionality as a shared library,
+to centralize the maintenence effort and to reduce duplicated
+effort. And the poppler developers would like to move libpoppler
+forward in a number of areas that doesn't fit within the goals of
+xpdf.
diff -r ea5eca94868d -r 1af85c761415 print/poppler-qt6/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-qt6/Makefile        Tue Dec 06 14:05:09 2022 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2022/12/06 14:05:10 nros Exp $
+
+# this must be set before compiler.mk
+# is included in Makefile.common
+GCC_REQD+=     9 # required by Qt6 headers
+
+.include "../../print/poppler/Makefile.common"
+
+PKGNAME=       poppler-qt6-${POPPLER_VERS}
+COMMENT=       PDF rendering library (QT6 wrapper)
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+
+
+CMAKE_ARGS+=   -DBUILD_GTK_TESTS=OFF
+CMAKE_ARGS+=   -DENABLE_GLIB=OFF
+CMAKE_ARGS+=   -DENABLE_UTILS=OFF
+CMAKE_ARGS+=   -DENABLE_CPP=OFF
+CMAKE_ARGS+=   -DENABLE_QT5=OFF
+CMAKE_ARGS+=   -DENABLE_QT6=ON
+# Don't build libcurl based HTTP support. ## might want to include
+CMAKE_ARGS+=   -DENABLE_LIBCURL=OFF
+
+BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS}
+.include "../../print/poppler/buildlink3.mk"
+
+PKGCONFIG_OVERRIDE+=   poppler-qt6.pc.cmake
+
+INSTALLATION_DIRS+=    lib/pkgconfig
+
+BUILD_DIRS=            qt6/src
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/poppler-qt6.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ea5eca94868d -r 1af85c761415 print/poppler-qt6/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-qt6/PLIST   Tue Dec 06 14:05:09 2022 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/06 14:05:10 nros Exp $
+include/poppler/qt6/poppler-annotation.h
+include/poppler/qt6/poppler-export.h
+include/poppler/qt6/poppler-form.h
+include/poppler/qt6/poppler-link.h
+include/poppler/qt6/poppler-media.h
+include/poppler/qt6/poppler-optcontent.h
+include/poppler/qt6/poppler-page-transition.h
+include/poppler/qt6/poppler-qt6.h
+include/poppler/qt6/poppler-version.h
+lib/libpoppler-qt6.so
+lib/libpoppler-qt6.so.3
+lib/libpoppler-qt6.so.3.2.0
+lib/pkgconfig/poppler-qt6.pc
diff -r ea5eca94868d -r 1af85c761415 print/poppler-qt6/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-qt6/buildlink3.mk   Tue Dec 06 14:05:09 2022 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/12/06 14:05:10 nros Exp $
+
+BUILDLINK_TREE+=       poppler-qt6
+
+.if !defined(POPPLER_QT6_BUILDLINK3_MK)
+POPPLER_QT6_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.poppler-qt6+=    poppler-qt6>=22.01.0
+BUILDLINK_PKGSRCDIR.poppler-qt6?=      ../../print/poppler-qt6
+
+.include "../../print/poppler/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.endif # POPPLER_QT6_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -poppler-qt6
diff -r ea5eca94868d -r 1af85c761415 print/poppler/Makefile.common
--- a/print/poppler/Makefile.common     Tue Dec 06 13:32:03 2022 +0000
+++ b/print/poppler/Makefile.common     Tue Dec 06 14:05:09 2022 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile.common,v 1.140 2022/10/13 10:56:03 wiz Exp $
+# $NetBSD: Makefile.common,v 1.141 2022/12/06 14:05:09 nros Exp $
 #
 # used by print/poppler/Makefile
 # used by print/poppler-cpp/Makefile
 # used by print/poppler-glib/Makefile
 # used by print/poppler-includes/Makefile
 # used by print/poppler-qt5/Makefile
+# used by print/poppler-qt6/Makefile
 # used by print/poppler-utils/Makefile
 
 POPPLER_VERS=  22.10.0



Home | Main Index | Thread Index | Old Index