# $NetBSD: Makefile,v 1.48 2022/03/28 10:59:31 tnn Exp $
DISTNAME= otter-browser-1.0.02
PKGREVISION= 6
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=OtterBrowser/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://otter-browser.org/
COMMENT= Project aiming to recreate classic Opera (12.x) UI using Qt5
LICENSE= gnu-gpl-v3
USE_CMAKE= yes
USE_LANGUAGES= c c++
CMAKE_ARGS+= -DENABLE_QTWEBENGINE=OFF
NOT_PAX_MPROTECT_SAFE+= bin/otter-browser
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing (some) absolute paths to hunspell dictionaries.
SUBST_FILES.fix-paths= 3rdparty/sonnet/src/plugins/hunspell/hunspellclient.cpp
SUBST_SED.fix-paths= -e 's,"/usr/local,"${PREFIX},g'
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/hunspell/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
.include "../../x11/qt5-qtwebkit/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>