pkgsrc-WIP-changes archive

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

dspdfviewer: Import of dspdfviewer-1.15.1 as wip/dspdfviewer.



Module Name:	pkgsrc-wip
Committed By:	fox <santhosh.raju%gmail.com@localhost>
Pushed By:	fox
Date:		Thu May 11 13:24:38 2017 +0530
Changeset:	550f7b0fe94a7a0d914698e9eddd95bea246ed3d

Added Files:
	dspdfviewer/DESCR
	dspdfviewer/Makefile
	dspdfviewer/PLIST
	dspdfviewer/distinfo
	dspdfviewer/patches/patch-CMakeLists.txt

Log Message:
dspdfviewer: Import of dspdfviewer-1.15.1 as wip/dspdfviewer.

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

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

diffstat:
 dspdfviewer/DESCR                        |  7 ++++++
 dspdfviewer/Makefile                     | 39 ++++++++++++++++++++++++++++++++
 dspdfviewer/PLIST                        |  4 ++++
 dspdfviewer/distinfo                     |  7 ++++++
 dspdfviewer/patches/patch-CMakeLists.txt | 15 ++++++++++++
 5 files changed, 72 insertions(+)

diffs:
diff --git a/dspdfviewer/DESCR b/dspdfviewer/DESCR
new file mode 100644
index 0000000000..338ea27cc5
--- /dev/null
+++ b/dspdfviewer/DESCR
@@ -0,0 +1,7 @@
+dspdfviewer a simple viewer for latex-beamer presentations that are built with
+the show notes on second screen option of latex-beamer. It will take your PDF
+file, split it in a left and right half and render the two halves individually
+to the screens.
+
+In addition, your laptop screen will contain some counters and a wall-clock,
+which may help you time your presentation right.
diff --git a/dspdfviewer/Makefile b/dspdfviewer/Makefile
new file mode 100644
index 0000000000..a646d0717e
--- /dev/null
+++ b/dspdfviewer/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+DISTNAME=	dspdfviewer-1.15.1
+CATEGORIES=	print
+MASTER_SITES=	${MASTER_SITE_GITHUB:=dannyedel/}
+
+MAINTAINER=	santhosh.raju%gmail.com@localhost
+HOMEPAGE=	http://dspdfviewer.danny-edel.de/
+COMMENT=	Dual-Screen PDF Viewer for latex-beamer
+LICENSE=	gnu-gpl-v2
+
+GITHUB_TAG=	v${VERSION}
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+CONFIGURE_DIRS=	build
+BUILD_DIRS=	build
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	cmake pkg-config
+USE_CMAKE=	yes
+CMAKE_ARGS+=	-DBuildTests=OFF
+CMAKE_ARG_PATH=	${WRKSRC}/build
+BUILD_MAKE_FLAGS+= VERBOSE=1
+
+DEPENDS+=	qt5-qttools>=5.5.1:../../x11/qt5-qttools
+
+BUILDLINK_API_DEPENDS.boost-libs+=	boost-libs>=1.63
+BUILDLINK_API_DEPENDS.poppler-qt5+=	poppler-qt5>=0.50.0
+
+pre-configure:
+	mkdir -p ${WRKSRC}/build
+
+do-configure:
+	cd ${WRKSRC}/build && cmake .. ${CMAKE_ARGS}
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../print/poppler-qt5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dspdfviewer/PLIST b/dspdfviewer/PLIST
new file mode 100644
index 0000000000..53ea715fbe
--- /dev/null
+++ b/dspdfviewer/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/dspdfviewer
+man/man1/dspdfviewer.1
+share/applications/dspdfviewer.desktop
diff --git a/dspdfviewer/distinfo b/dspdfviewer/distinfo
new file mode 100644
index 0000000000..ccad3c07d7
--- /dev/null
+++ b/dspdfviewer/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (dspdfviewer-1.15.1.tar.gz) = 338a6dcf95dadb56f499f1a6e3ad4a68a60ef87f
+RMD160 (dspdfviewer-1.15.1.tar.gz) = 34d4fae5923892d3ba7019d45b516bf469ce11ad
+SHA512 (dspdfviewer-1.15.1.tar.gz) = 41de12554224c0ba60ec93f398e77f437d01548d5b72c955c39db59845ee33cfed5512abc705d6ef1b6aeb605715335015f8bbb933b6748ef8f14c7a2cc8eb03
+Size (dspdfviewer-1.15.1.tar.gz) = 165202 bytes
+SHA1 (patch-CMakeLists.txt) = 1d7a079fdce884943c877257cbdb756d625c9ebd
diff --git a/dspdfviewer/patches/patch-CMakeLists.txt b/dspdfviewer/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..ad1a2d111e
--- /dev/null
+++ b/dspdfviewer/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix the location of manpage
+
+--- CMakeLists.txt.orig	2017-04-20 11:02:53.067851000 +0000
++++ CMakeLists.txt
+@@ -95,7 +95,7 @@ install(TARGETS	dspdfviewer
+ 	RUNTIME DESTINATION bin)
+ 
+ install(FILES docs/dspdfviewer.1
+-	DESTINATION share/man/man1)
++	DESTINATION man/man1)
+ 
+ install(FILES dspdfviewer.desktop
+ 	DESTINATION share/applications)


Home | Main Index | Thread Index | Old Index