summaryrefslogtreecommitdiff
path: root/graphics/pdfpc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pdfpc')
-rw-r--r--graphics/pdfpc/DESCR8
-rw-r--r--graphics/pdfpc/Makefile29
-rw-r--r--graphics/pdfpc/PLIST20
-rw-r--r--graphics/pdfpc/distinfo7
-rw-r--r--graphics/pdfpc/patches/patch-rc_CMakeLists.txt15
5 files changed, 79 insertions, 0 deletions
diff --git a/graphics/pdfpc/DESCR b/graphics/pdfpc/DESCR
new file mode 100644
index 00000000000..953b78f21ba
--- /dev/null
+++ b/graphics/pdfpc/DESCR
@@ -0,0 +1,8 @@
+pdfpc is a GTK-based presentation viewer which uses Keynote-like
+multi-monitor output to provide meta information to the speaker
+during the presentation. It is able to show a normal presentation
+window on one screen while showing a more sophisticated overview
+on the other one, providing information like a picture of the next
+slide, as well as the time left in the presentation. pdfpc processes
+PDF documents, which can be created using nearly all modern
+presentation software.
diff --git a/graphics/pdfpc/Makefile b/graphics/pdfpc/Makefile
new file mode 100644
index 00000000000..ebde3dbdad3
--- /dev/null
+++ b/graphics/pdfpc/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2020/06/14 07:40:59 ryoon Exp $
+
+DISTNAME= pdfpc-4.4.0
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=pdfpc/}
+GITHUB_PROJECT= pdfpc
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= https://pdfpc.github.io/
+COMMENT= Presenter console with multi-monitor support for PDF files
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= gst-plugins1-gtk-[0-9]*:../../multimedia/gst-plugins1-gtk
+
+USE_TOOLS+= pkg-config
+USE_CMAKE= yes
+
+EGDIR= ${PREFIX}/share/examples/pdfpc
+CONF_FILES+= ${EGDIR}/pdfpcrc ${PKG_SYSCONFDIR}/pdfpcrc
+
+.include "../../devel/libgee/buildlink3.mk"
+BUILDLINK_DEPMETHOD.vala= build
+.include "../../lang/vala/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
+.include "../../multimedia/gstreamer1/buildlink3.mk"
+.include "../../print/poppler-glib/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/pdfpc/PLIST b/graphics/pdfpc/PLIST
new file mode 100644
index 00000000000..10ceb1735dd
--- /dev/null
+++ b/graphics/pdfpc/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/14 07:40:59 ryoon Exp $
+bin/pdfpc
+man/man1/pdfpc.1
+man/man5/pdfpcrc.5
+share/examples/pdfpc/pdfpcrc
+share/pixmaps/pdfpc/blank.svg
+share/pixmaps/pdfpc/empty.svg
+share/pixmaps/pdfpc/eraser.svg
+share/pixmaps/pdfpc/hidden.svg
+share/pixmaps/pdfpc/highlight.svg
+share/pixmaps/pdfpc/linewidth.svg
+share/pixmaps/pdfpc/loaded.svg
+share/pixmaps/pdfpc/locked.svg
+share/pixmaps/pdfpc/move.svg
+share/pixmaps/pdfpc/pause.svg
+share/pixmaps/pdfpc/pdfpc.css
+share/pixmaps/pdfpc/pen.svg
+share/pixmaps/pdfpc/saved.svg
+share/pixmaps/pdfpc/settings.svg
+share/pixmaps/pdfpc/snow.svg
diff --git a/graphics/pdfpc/distinfo b/graphics/pdfpc/distinfo
new file mode 100644
index 00000000000..9f54c524ed5
--- /dev/null
+++ b/graphics/pdfpc/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/06/14 07:40:59 ryoon Exp $
+
+SHA1 (pdfpc-4.4.0.tar.gz) = 4938445201e3158d2bd679446cd13db75a714258
+RMD160 (pdfpc-4.4.0.tar.gz) = 156ff4a1364d3f6be3a0f4bca5dccf5e10ffbc85
+SHA512 (pdfpc-4.4.0.tar.gz) = 4f5d013ae513ba5f106638401cccd280e1a77535747663963a566c8b9ddc7b87c0ae1859220586ed66d294902674d54cea4256c72320ad3005e3e47cc8ea57a3
+Size (pdfpc-4.4.0.tar.gz) = 7733136 bytes
+SHA1 (patch-rc_CMakeLists.txt) = 386f2149dee0ba12c8af6cddc05ea2509eb5d6b9
diff --git a/graphics/pdfpc/patches/patch-rc_CMakeLists.txt b/graphics/pdfpc/patches/patch-rc_CMakeLists.txt
new file mode 100644
index 00000000000..d82cbfbf3de
--- /dev/null
+++ b/graphics/pdfpc/patches/patch-rc_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-rc_CMakeLists.txt,v 1.1 2020/06/14 07:40:59 ryoon Exp $
+
+* Install rc file under share/ for pkgsrc.
+
+--- rc/CMakeLists.txt.orig 2020-02-26 17:21:19.000000000 +0000
++++ rc/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ install(FILES
+ pdfpcrc
+ DESTINATION
+- ${CMAKE_INSTALL_FULL_SYSCONFDIR}
++ ${CMAKE_INSTALL_PREFIX}/share/examples/pdfpc
+ )
+
+ install(FILES