summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/qpdfview/Makefile8
-rw-r--r--print/qpdfview/PLIST6
-rw-r--r--print/qpdfview/distinfo10
-rw-r--r--print/qpdfview/patches/patch-qpdfview.pri25
4 files changed, 29 insertions, 20 deletions
diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile
index e5305c98c47..dd56c575b81 100644
--- a/print/qpdfview/Makefile
+++ b/print/qpdfview/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2013/02/16 11:24:14 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2013/02/25 21:36:51 ryoon Exp $
#
-VER= 0.3.7
+VER= 0.4
DISTNAME= qpdfview-${VER}
-PKGREVISION= 3
CATEGORIES= print
MASTER_SITES= https://launchpad.net/qpdfview/trunk/${VER}/+download/
@@ -17,6 +16,7 @@ LICENSE= gnu-gpl-v2
FETCH_USING= curl
DEPENDS+= poppler-data-[0-9]*:../../print/poppler-data
+DEPENDS+= qt4-sqlite3-[0-9]*:../../x11/qt4-sqlite3
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
@@ -31,7 +31,9 @@ do-configure:
cd ${WRKSRC} && QTDIR=${QTDIR} \
${QTDIR}/bin/qmake qpdfview.pro
+.include "../../graphics/djvulibre-lib/buildlink3.mk"
.include "../../print/cups/buildlink3.mk"
+.include "../../print/libspectre/buildlink3.mk"
.include "../../print/poppler-qt4/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-qdbus/buildlink3.mk"
diff --git a/print/qpdfview/PLIST b/print/qpdfview/PLIST
index 139ed0548f0..344852df3a6 100644
--- a/print/qpdfview/PLIST
+++ b/print/qpdfview/PLIST
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2013/01/03 13:38:55 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/02/25 21:36:51 ryoon Exp $
bin/qpdfview
+lib/qpdfview/libqpdfview_djvu.la
+lib/qpdfview/libqpdfview_pdf.la
+lib/qpdfview/libqpdfview_ps.la
man/man1/qpdfview.1
share/applications/qpdfview.desktop
share/qpdfview/help.html
@@ -21,6 +24,7 @@ share/qpdfview/qpdfview_hr.qm
share/qpdfview/qpdfview_id.qm
share/qpdfview/qpdfview_it.qm
share/qpdfview/qpdfview_ky.qm
+share/qpdfview/qpdfview_ms.qm
share/qpdfview/qpdfview_my.qm
share/qpdfview/qpdfview_pl.qm
share/qpdfview/qpdfview_pt_BR.qm
diff --git a/print/qpdfview/distinfo b/print/qpdfview/distinfo
index ece7b02e58f..e6900fb24b2 100644
--- a/print/qpdfview/distinfo
+++ b/print/qpdfview/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2013/01/03 13:38:55 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2013/02/25 21:36:51 ryoon Exp $
-SHA1 (qpdfview-0.3.7.tar.gz) = 1b5012b1602837e9709d562e168d3c9fff4a3076
-RMD160 (qpdfview-0.3.7.tar.gz) = b8b200baed6fbca53d9ed7fcbf3d33e9c16f37f4
-Size (qpdfview-0.3.7.tar.gz) = 385833 bytes
-SHA1 (patch-qpdfview.pri) = 5275448accbd24f190f09e6cf29f16924fee13b6
+SHA1 (qpdfview-0.4.tar.gz) = 6598a9f863a247b544c3a8a068aa14ab4ef85c8f
+RMD160 (qpdfview-0.4.tar.gz) = 72f211cbba8a6c2abfb326dbd810786a567a2475
+Size (qpdfview-0.4.tar.gz) = 396479 bytes
+SHA1 (patch-qpdfview.pri) = ba8d5058c73120d8b297915e67a64de3ba8024d3
diff --git a/print/qpdfview/patches/patch-qpdfview.pri b/print/qpdfview/patches/patch-qpdfview.pri
index 6c6cb7d1776..3956d255b63 100644
--- a/print/qpdfview/patches/patch-qpdfview.pri
+++ b/print/qpdfview/patches/patch-qpdfview.pri
@@ -1,15 +1,18 @@
-$NetBSD: patch-qpdfview.pri,v 1.1 2013/01/03 13:38:55 ryoon Exp $
+$NetBSD: patch-qpdfview.pri,v 1.2 2013/02/25 21:36:51 ryoon Exp $
* Set install places
---- qpdfview.pri.orig 2012-12-29 16:48:33.000000000 +0000
+--- qpdfview.pri.orig 2013-02-16 12:42:07.000000000 +0000
+++ qpdfview.pri
-@@ -1,4 +1,4 @@
--TARGET_INSTALL_PATH = /usr/bin
--DATA_INSTALL_PATH = /usr/share/qpdfview
--LAUNCHER_INSTALL_PATH = /usr/share/applications
--MANUAL_INSTALL_PATH = /usr/share/man/man1
-+TARGET_INSTALL_PATH = @DESTDIR@@PREFIX@/bin
-+DATA_INSTALL_PATH = @DESTDIR@@PREFIX@/share/qpdfview
-+LAUNCHER_INSTALL_PATH = @DESTDIR@@PREFIX@/share/applications
-+MANUAL_INSTALL_PATH = @DESTDIR@@PREFIX@/@PKGMANDIR@/man1
+@@ -1,6 +1,5 @@
+-isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = /usr/bin
+-isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = /usr/lib/qpdfview
+-isEmpty(DATA_INSTALL_PATH):DATA_INSTALL_PATH = /usr/share/qpdfview
+-isEmpty(LAUNCHER_INSTALL_PATH):LAUNCHER_INSTALL_PATH = /usr/share/applications
+-isEmpty(MANUAL_INSTALL_PATH):MANUAL_INSTALL_PATH = /usr/share/man/man1
+-
++isEmpty(TARGET_INSTALL_PATH):TARGET_INSTALL_PATH = @DESTDIR@@PREFIX@/bin
++isEmpty(PLUGIN_INSTALL_PATH):PLUGIN_INSTALL_PATH = @DESTDIR@@PREFIX@/lib/qpdfview
++isEmpty(DATA_INSTALL_PATH):DATA_INSTALL_PATH = @DESTDIR@@PREFIX@/share/qpdfview
++isEmpty(LAUNCHER_INSTALL_PATH):LAUNCHER_INSTALL_PATH = @DESTDIR@@PREFIX@/share/applications
++isEmpty(MANUAL_INSTALL_PATH):MANUAL_INSTALL_PATH = @DESTDIR@@PREFIX@/@PKGMANDIR@/man1