From ca62af712909cca934c7b3c843e53810ea2579d7 Mon Sep 17 00:00:00 2001 From: Eric Camachat Date: Tue, 25 May 2021 10:26:54 +0800 Subject: [PATCH] www/dooble: (new) qt5-webengine based browser, minimal, cute, and usually stable PR: 250854 --- www/Makefile | 1 + www/dooble/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ www/dooble/distinfo | 3 +++ www/dooble/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 www/dooble/Makefile create mode 100644 www/dooble/distinfo create mode 100644 www/dooble/pkg-descr diff --git a/www/Makefile b/www/Makefile index 33d1a7b88f3a..4c6ac36cf6ff 100644 --- a/www/Makefile +++ b/www/Makefile @@ -108,6 +108,7 @@ SUBDIR += dfileserver SUBDIR += dhttpd SUBDIR += dillo2 + SUBDIR += dooble SUBDIR += dojo SUBDIR += dojo-shrinksafe SUBDIR += dokuwiki diff --git a/www/dooble/Makefile b/www/dooble/Makefile new file mode 100644 index 000000000000..10013a0b0706 --- /dev/null +++ b/www/dooble/Makefile @@ -0,0 +1,44 @@ +PORTNAME= dooble +DISTVERSION= 2021.02.20 +CATEGORIES= www + +MAINTAINER= eric@camachat.org +COMMENT= Dooble Web Browser + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/../LICENSE + +USES= compiler:c++17-lang desktop-file-utils gmake qmake qt:5 ssl tar \ + xorg + +USE_GITHUB= yes +GH_ACCOUNT= textbrowser + +USE_QT= concurrent core gui network printsupport sql webengine widgets \ + xml buildtools_build qmake_build +USE_XORG= xcb + +QMAKE_SOURCE_PATH= ${PORTNAME}.pro +WRKSRC_SUBDIR= 2.x + +PLIST_FILES= ${PREFIX}/share/applications/${PORTNAME}.desktop \ + ${PREFIX}/share/pixmaps/${PORTNAME}.png \ + bin/${PORTNAME} + +.include + +QT5_VER_MINOR= ${QT5_VERSION:C/^[0-9]+\.//:C/\..+$//} +.if ${QT5_VER_MINOR} < 15 +BROKEN= Qt 5.15 or higher required, using 5.${QT5_VER_MINOR} now +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/Dooble ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/Icons/Logo/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + desktop-file-edit --remove-category=Web --add-category=Network --add-category=WebBrowser ${WRKSRC}/${PORTNAME}.desktop + desktop-file-edit --set-key=Exec --set-value=${PREFIX}/bin/${PORTNAME} ${WRKSRC}/${PORTNAME}.desktop + desktop-file-edit --set-icon=${PREFIX}/share/pixmaps/${PORTNAME}.png ${WRKSRC}/${PORTNAME}.desktop + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop + +.include diff --git a/www/dooble/distinfo b/www/dooble/distinfo new file mode 100644 index 000000000000..c3862fae25fb --- /dev/null +++ b/www/dooble/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1614118092 +SHA256 (textbrowser-dooble-2021.02.20_GH0.tar.gz) = c7519b90b084566b4f2229179f39e5c29d988fc1ad098ff9f8d2251fa0afbb25 +SIZE (textbrowser-dooble-2021.02.20_GH0.tar.gz) = 97885460 diff --git a/www/dooble/pkg-descr b/www/dooble/pkg-descr new file mode 100644 index 000000000000..c92201a602dd --- /dev/null +++ b/www/dooble/pkg-descr @@ -0,0 +1,20 @@ +Dooble, the weather bug browser. Minimal, cute, and unusually stable. + + - A Web browser! + - Basic themes. + - Compact. + - Cookie crusher. + - Custom search engines. + - Custom style sheets. + - Documented. + - Domain restrictions. + - Favorites. + - Floating digital clock. + - FreeBSD, Linux, Mac, Windows. + - Gopher support. + - Multiple private instances, including downloads. + - Original implementations of AES-256, Threefish-256. + - Qt-only dependency. + - Windows portable. + +WWW: https://textbrowser.github.io/dooble/