diff options
author | scole <scole@pkgsrc.org> | 2020-07-26 00:51:00 +0000 |
---|---|---|
committer | scole <scole@pkgsrc.org> | 2020-07-26 00:51:00 +0000 |
commit | 1eff8a1f1ea511bfb868037f21bcc030c4cb0e11 (patch) | |
tree | 18fe57eb094422ed22ae8d6b8db7475d9026e66c /devel | |
parent | 9e46ae60e8a37c3ff98ce005c85e26413ca71d00 (diff) | |
download | pkgsrc-1eff8a1f1ea511bfb868037f21bcc030c4cb0e11.tar.gz |
Zeal supports the docset format used by Dash. You can download
official Dash docsets within Zeal.
This version uses QtWebkit to render HTML pages.
Created from post from mikeandmore@gmail.com on teck-pkg
http://mail-index.netbsd.org/tech-pkg/2020/07/22/msg023585.html
with a few changes to appease pkglint.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 3 | ||||
-rw-r--r-- | devel/zeal/DESCR | 5 | ||||
-rw-r--r-- | devel/zeal/Makefile | 34 | ||||
-rw-r--r-- | devel/zeal/PLIST | 9 | ||||
-rw-r--r-- | devel/zeal/distinfo | 7 | ||||
-rw-r--r-- | devel/zeal/patches/patch-src_libs_ui_searchitemdelegate.cpp | 14 |
6 files changed, 71 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile index 18ab4c235cc..f7cca904159 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3173 2020/07/11 13:58:10 nia Exp $ +# $NetBSD: Makefile,v 1.3174 2020/07/26 00:51:00 scole Exp $ # COMMENT= Development utilities @@ -3049,6 +3049,7 @@ SUBDIR+= yajl SUBDIR+= yarn SUBDIR+= yasm SUBDIR+= z80-asm +SUBDIR+= zeal SUBDIR+= zlib SUBDIR+= zookeeper SUBDIR+= zzuf diff --git a/devel/zeal/DESCR b/devel/zeal/DESCR new file mode 100644 index 00000000000..58e3f82bc27 --- /dev/null +++ b/devel/zeal/DESCR @@ -0,0 +1,5 @@ +Zeal is an offline documentation browser for software developers. It +supports the docset format used by Dash. You can download official +Dash docsets within Zeal. + +This version uses QtWebkit to render HTML pages. diff --git a/devel/zeal/Makefile b/devel/zeal/Makefile new file mode 100644 index 00000000000..1ab0ae049f1 --- /dev/null +++ b/devel/zeal/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1 2020/07/26 00:51:00 scole Exp $ + +DISTNAME= zeal-0.6.1 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=zealdocs/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= mikeandmore@gmail.com +HOMEPAGE= https://zealdocs.org/ +COMMENT= Offline documentation browser inspired by Dash +LICENSE= gnu-gpl-v3 + +USE_CMAKE= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake + +BUILD_DEPENDS+= extra-cmake-modules>=5.10.0:../../devel/extra-cmake-modules + +INSTALLATION_DIRS= bin share/applications share/metainfo +INSTALLATION_DIRS+= share/icons/hicolor/16x16/apps +INSTALLATION_DIRS+= share/icons/hicolor/24x24/apps +INSTALLATION_DIRS+= share/icons/hicolor/32x32/apps +INSTALLATION_DIRS+= share/icons/hicolor/64x64/apps +INSTALLATION_DIRS+= share/icons/hicolor/128x128/apps + +.include "../../archivers/libarchive/buildlink3.mk" +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../x11/qt5-qtwebkit/buildlink3.mk" +.include "../../x11/qt5-qtx11extras/buildlink3.mk" +.include "../../x11/xcb-util-keysyms/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/zeal/PLIST b/devel/zeal/PLIST new file mode 100644 index 00000000000..3a7b2e73c1a --- /dev/null +++ b/devel/zeal/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2020/07/26 00:51:00 scole Exp $ +bin/zeal +share/applications/org.zealdocs.Zeal.desktop +share/icons/hicolor/128x128/apps/zeal.png +share/icons/hicolor/16x16/apps/zeal.png +share/icons/hicolor/24x24/apps/zeal.png +share/icons/hicolor/32x32/apps/zeal.png +share/icons/hicolor/64x64/apps/zeal.png +share/metainfo/org.zealdocs.Zeal.appdata.xml diff --git a/devel/zeal/distinfo b/devel/zeal/distinfo new file mode 100644 index 00000000000..1ac6ce16205 --- /dev/null +++ b/devel/zeal/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2020/07/26 00:51:00 scole Exp $ + +SHA1 (zeal-0.6.1.tar.gz) = 3af62d2e34404587a63767ed115d0a3cf41e6ac8 +RMD160 (zeal-0.6.1.tar.gz) = a0ee450c38579b1de4efc95c736b6e75240af013 +SHA512 (zeal-0.6.1.tar.gz) = 5b1a129980000c0fc8516e2c7d6c4a8de4adde7054ff8d9635e3be35441ad3ef0539746bbe1ca8abce7e6fb3d20c825b57661c3f8cd059ef1480db65ff81f3d9 +Size (zeal-0.6.1.tar.gz) = 1063963 bytes +SHA1 (patch-src_libs_ui_searchitemdelegate.cpp) = ecd4ee285c79e2181d051e4588f50ce74eca753a diff --git a/devel/zeal/patches/patch-src_libs_ui_searchitemdelegate.cpp b/devel/zeal/patches/patch-src_libs_ui_searchitemdelegate.cpp new file mode 100644 index 00000000000..232e861fba4 --- /dev/null +++ b/devel/zeal/patches/patch-src_libs_ui_searchitemdelegate.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_libs_ui_searchitemdelegate.cpp,v 1.1 2020/07/26 00:51:00 scole Exp $ + +add QPainterPath to includes + +--- src/libs/ui/searchitemdelegate.cpp.orig 2018-09-28 05:26:37.000000000 +0000 ++++ src/libs/ui/searchitemdelegate.cpp +@@ -27,6 +27,7 @@ + #include <QFontMetrics> + #include <QHelpEvent> + #include <QPainter> ++#include <QPainterPath> + #include <QToolTip> + + using namespace Zeal::WidgetUi; |