pkgsrc-WIP-changes archive

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

/tmp/popplerqt6-msg



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%pkgsrc.org@localhost>
Pushed By:	nros
Date:		Thu Jan 20 21:21:33 2022 +0100
Changeset:	efeeeee54baeeeac4db8ee19207091687f862cbb

Modified Files:
	Makefile
Added Files:
	poppler-qt6/DESCR
	poppler-qt6/Makefile
	poppler-qt6/PLIST
	poppler-qt6/buildlink3.mk

Log Message:
/tmp/popplerqt6-msg

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=efeeeee54baeeeac4db8ee19207091687f862cbb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                  |  1 +
 poppler-qt6/DESCR         |  9 +++++++++
 poppler-qt6/Makefile      | 32 ++++++++++++++++++++++++++++++++
 poppler-qt6/PLIST         | 14 ++++++++++++++
 poppler-qt6/buildlink3.mk | 15 +++++++++++++++
 5 files changed, 71 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 90d8c62494..27600e5549 100644
--- a/Makefile
+++ b/Makefile
@@ -3259,6 +3259,7 @@ SUBDIR+=	polymul
 SUBDIR+=	ponyc
 SUBDIR+=	pooler
 SUBDIR+=	pop3.proxy
+SUBDIR+=	poppler-qt6
 SUBDIR+=	popup-el-current
 SUBDIR+=	portablexdr
 SUBDIR+=	portfwd
diff --git a/poppler-qt6/DESCR b/poppler-qt6/DESCR
new file mode 100644
index 0000000000..6e838a1771
--- /dev/null
+++ b/poppler-qt6/DESCR
@@ -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 --git a/poppler-qt6/Makefile b/poppler-qt6/Makefile
new file mode 100644
index 0000000000..5468d5a7ca
--- /dev/null
+++ b/poppler-qt6/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+.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 "../../wip/qt6-qtbase/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/poppler-qt6/PLIST b/poppler-qt6/PLIST
new file mode 100644
index 0000000000..80d89e4151
--- /dev/null
+++ b/poppler-qt6/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+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.1.0
+lib/pkgconfig/poppler-qt6.pc
diff --git a/poppler-qt6/buildlink3.mk b/poppler-qt6/buildlink3.mk
new file mode 100644
index 0000000000..32c4110ca8
--- /dev/null
+++ b/poppler-qt6/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+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?=	../../wip/poppler-qt6
+
+.include "../../print/poppler/buildlink3.mk"
+.include "../../wip/qt6-qtbase/buildlink3.mk"
+.endif	# POPPLER_QT6_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-poppler-qt6


Home | Main Index | Thread Index | Old Index