freebsd-ports/www/dooble/Makefile
Eric Camachat e3dda513b6 www/dooble: update to 2024.01.25
ChangeLog: https://github.com/textbrowser/dooble/releases/tag/2024.01.25

 * Display a history item's data in page's status bar during a hover event.
 * New jar scheme. Decompressed files are recorded in the Desktop. The
   executables jar and unzip are required.
 * QSqlDatabase issues a warning (connect() and nullptr) if QApplication is not
   present in Qt 6. A QApplication object must be created before accessing an
   SQLite database.
 * QWebEngineSettings::ReadingFromCanvasEnabled and Qt 6.6.
 * Smaller page buttons in Settings.

PR:		276647
Reported by:	eric@camachat.org (maintainer)
2024-01-29 19:34:50 +01:00

37 lines
1.5 KiB
Makefile

PORTNAME= dooble
DISTVERSION= 2024.01.25
CATEGORIES= www
MAINTAINER= eric@camachat.org
COMMENT= Dooble Web Browser
WWW= https://textbrowser.github.io/dooble/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++17-lang desktop-file-utils gl gmake qmake qt:6 ssl \
tar xorg
USE_GITHUB= yes
GH_ACCOUNT= textbrowser
USE_GL= gl
USE_QT= base charts declarative positioning webchannel webengine \
sqldriver-sqlite:run
USE_XORG= xcb
QMAKE_SOURCE_PATH= dooble.pro
QTWEBENGINE_DICTIONARIES= ${QT_DATADIR}/qtwebengine_dictionaries
PLIST_SUB= QTWEBENGINE_DICTIONARIES=${QTWEBENGINE_DICTIONARIES}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Dooble ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/Icons/Logo/dooble.png ${STAGEDIR}${PREFIX}/share/pixmaps/dooble.png
${MKDIR} ${STAGEDIR}${QTWEBENGINE_DICTIONARIES}
${INSTALL_DATA} ${WRKSRC}/qtwebengine_dictionaries/*.bdic ${STAGEDIR}${QTWEBENGINE_DICTIONARIES}
desktop-file-edit --remove-category=Web --add-category=Network --add-category=WebBrowser ${WRKSRC}/Distributions/dooble.desktop
desktop-file-edit --set-key=Exec --set-value="/usr/bin/env QTWEBENGINE_DICTIONARIES_PATH=${QTWEBENGINE_DICTIONARIES} ${PREFIX}/bin/${PORTNAME}" ${WRKSRC}/Distributions/dooble.desktop
desktop-file-edit --set-icon=${PREFIX}/share/pixmaps/dooble.png ${WRKSRC}/Distributions/dooble.desktop
${INSTALL_DATA} ${WRKSRC}/Distributions/dooble.desktop ${STAGEDIR}${PREFIX}/share/applications/dooble.desktop
.include <bsd.port.mk>