47 lines
1.9 KiB
Makefile
47 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.122 2021/12/08 16:06:14 adam Exp $
|
|
|
|
DISTNAME= okular-${KAPPSVER}
|
|
PKGREVISION= 12
|
|
CATEGORIES= print
|
|
|
|
HOMEPAGE= https://kde.org/applications/graphics/okular/
|
|
COMMENT= KDE universal document viewer
|
|
LICENSE= gnu-gpl-v2 AND gnu-fdl-v1.2
|
|
|
|
.include "../../meta-pkgs/kde/applications.mk"
|
|
|
|
BUILD_DEPENDS+= kdoctools>=5.19.0:../../devel/kdoctools
|
|
|
|
USE_TOOLS+= msgmerge pkg-config
|
|
|
|
# generation of kded.moc fails when ${PREFIX}/include in the moc include path
|
|
SUBST_CLASSES+= fix-moc
|
|
SUBST_STAGE.fix-moc= post-configure
|
|
SUBST_MESSAGE.fix-moc= Cleaning up MOC includes
|
|
SUBST_FILES.fix-moc= _KDE_build/generators/*/CMakeFiles/okularGenerator_*_autogen.dir/AutogenInfo.json
|
|
SUBST_FILES.fix-moc+= _KDE_build/CMakeFiles/okularpart_autogen.dir/AutogenInfo.json
|
|
SUBST_NOOP_OK.fix-moc= yes
|
|
SUBST_SED.fix-moc= -e 's;"${PREFIX}/include",;;g'
|
|
|
|
.include "../../devel/chmlib/buildlink3.mk"
|
|
.include "../../devel/kparts/buildlink3.mk"
|
|
.include "../../devel/kpty/buildlink3.mk"
|
|
.include "../../devel/purpose/buildlink3.mk"
|
|
.include "../../devel/threadweaver/buildlink3.mk"
|
|
.include "../../graphics/djvulibre-lib/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../graphics/kdegraphics-mobipocket/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../graphics/libkexiv2/buildlink3.mk"
|
|
.include "../../print/libspectre/buildlink3.mk"
|
|
.include "../../print/poppler-qt5/buildlink3.mk"
|
|
.include "../../security/qca2-qt5/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../textproc/discount/buildlink3.mk"
|
|
.include "../../textproc/ebook-tools/buildlink3.mk"
|
|
.include "../../www/kjs/buildlink3.mk"
|
|
.include "../../www/khtml/buildlink3.mk"
|
|
.include "../../x11/kactivities5/buildlink3.mk"
|
|
.include "../../x11/kirigami2/buildlink3.mk"
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|