Mon Nov 26 14:38:27 2018 UTC ()
Import of dspdfviewer-1.15.1 as print/dspdfviewer

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.


(fox)
diff -r0 -r1.1 pkgsrc/print/dspdfviewer/DESCR
diff -r0 -r1.1 pkgsrc/print/dspdfviewer/Makefile
diff -r0 -r1.1 pkgsrc/print/dspdfviewer/PLIST
diff -r0 -r1.1 pkgsrc/print/dspdfviewer/distinfo
diff -r0 -r1.1 pkgsrc/print/dspdfviewer/patches/patch-CMakeLists.txt

File Added: pkgsrc/print/dspdfviewer/DESCR
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.

File Added: pkgsrc/print/dspdfviewer/Makefile
# $NetBSD: Makefile,v 1.1 2018/11/26 14:38:27 fox Exp $

DISTNAME=	dspdfviewer-1.15.1
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_GITHUB:=dannyedel/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	fox@NetBSD.org
HOMEPAGE=	http://dspdfviewer.danny-edel.de/
COMMENT=	Dual-Screen PDF Viewer for latex-beamer
LICENSE=	gnu-gpl-v2

DEPENDS+=	qt5-qttools>=5.5.1:../../x11/qt5-qttools

USE_LANGUAGES=		c c++
USE_TOOLS+=		pkg-config
USE_CMAKE=		yes
CMAKE_ARGS+=		-DBuildTests=OFF
CONFIGURE_DIRS=		build
CMAKE_ARG_PATH=		..
BUILD_MAKE_FLAGS+=	VERBOSE=1

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "FreeBSD"
CFLAGS+=		-Wno-error=undefined-func-template
.endif

pre-configure:
	mkdir -p ${WRKSRC}/build

.include "../../devel/boost-libs/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
BUILDLINK_API_DEPENDS.poppler-qt5+=	poppler-qt5>=0.50.0
.include "../../print/poppler-qt5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/print/dspdfviewer/PLIST
@comment $NetBSD: PLIST,v 1.1 2018/11/26 14:38:27 fox Exp $
bin/dspdfviewer
man/man1/dspdfviewer.1
share/applications/dspdfviewer.desktop

File Added: pkgsrc/print/dspdfviewer/distinfo
$NetBSD: distinfo,v 1.1 2018/11/26 14:38:27 fox Exp $

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

File Added: pkgsrc/print/dspdfviewer/patches/patch-CMakeLists.txt
$NetBSD: patch-CMakeLists.txt,v 1.1 2018/11/26 14:38:27 fox Exp $

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)