git: 03c4a79aad30 - main - textproc/kreport: Shift dependencies after 116eb4a7d098
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Nov 2024 08:40:39 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=03c4a79aad305accfc412b5c7d46a71fcf558f46 commit 03c4a79aad305accfc412b5c7d46a71fcf558f46 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2024-11-16 08:13:55 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2024-11-16 08:40:31 +0000 textproc/kreport: Shift dependencies after 116eb4a7d098 With the addition of the MARBLE option in 116eb4a7d098, several Qt dependencies can be conditionalized based on whether astro/marble was built with the WEBENGINE option enabled. This should enable building on platforms that cannot build qt5-webengine. Disable Marble detection the cannonical way to avoid CMake warnings. Add LICENSE info (LGPL2+), remove outdated CONFLICTS line, and clean up whitespace issues. --- textproc/kreport/Makefile | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/textproc/kreport/Makefile b/textproc/kreport/Makefile index 50931847b605..98e0e1eda6d8 100644 --- a/textproc/kreport/Makefile +++ b/textproc/kreport/Makefile @@ -1,32 +1,41 @@ -PORTNAME= kreport -DISTVERSION= 3.2.0 -PORTREVISION= 9 -CATEGORIES= textproc kde -MASTER_SITES= KDE/stable/${PORTNAME}/src -DIST_SUBDIR= KDE/${PORTNAME} - -MAINTAINER= kde@FreeBSD.org -COMMENT= Framework for creation of reports in multiple formats +PORTNAME= kreport +DISTVERSION= 3.2.0 +PORTREVISION= 10 +CATEGORIES= textproc kde +MASTER_SITES= KDE/stable/${PORTNAME}/src +DIST_SUBDIR= KDE/${PORTNAME} + +MAINTAINER= kde@FreeBSD.org +COMMENT= Framework for creation of reports in multiple formats WWW= https://www.kexi-project.org/ -LIB_DEPENDS= libKPropertyCore3.so:x11-toolkits/kproperty +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING.LIB + +LIB_DEPENDS= libKPropertyCore3.so:x11-toolkits/kproperty USES= cmake compiler:c++11-lang gettext kde:5 python qt:5 tar:xz USE_KDE= config coreaddons widgetsaddons \ ecm:build -USE_QT= core declarative gui location network printsupport webchannel \ - webengine widgets xml \ +USE_LDCONFIG= yes +USE_QT= core declarative gui network printsupport widgets xml \ buildtools:build qmake:build -OPTIONS_DEFINE= MARBLE -OPTIONS_DEFAULT=MARBLE -OPTIONS_SUB= yes +OPTIONS_DEFINE= MARBLE +OPTIONS_DEFAULT= MARBLE +OPTIONS_SUB= yes + +MARBLE_DESC= Virtual globe and world atlas +MARBLE_USE= kde=marble +MARBLE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Marble -MARBLE_DESC= Virtual globe and world atlas -MARBLE_USE= kde=marble -MARBLE_CMAKE_OFF= -DMarble_FOUND:BOOL=OFF +.include <bsd.port.options.mk> -CONFLICTS_INSTALL= calligra-2* +# These dependencies are only needed if the WEBENGINE option is enabled +# in astro/marble. +.if ${PORT_OPTIONS:MMARBLE} && exists(${LOCALBASE}/lib/marble/plugins/Photo.so) +USE_QT+= location webchannel webengine +.endif post-extract: ${CP} ${FILESDIR}/KReportGroupTracker.cpp ${WRKSRC}/src/renderer/scripting/KReportGroupTracker.cpp