freebsd-ports/devel/kf5-kcoreaddons/Makefile
Tobias C. Berner cfb714fa23 KDE: Update KDE Frameworks 5.103.0
Sunday, 12 February 2023

KDE today announces the release of KDE Frameworks 5.103.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
the KDE Frameworks release announcement.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

Announcement:	https://kde.org/announcements/frameworks/5/5.103.0/
PR:		269526
Exp-run by:	antoine
2023-02-18 10:51:22 +01:00

40 lines
1.2 KiB
Makefile

PORTNAME= kcoreaddons
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
CATEGORIES= devel kde kde-frameworks
MAINTAINER= kde@FreeBSD.org
COMMENT= KF5 addons to QtCore
LICENSE= LGPL21+ BSD3CLAUSE
LICENSE_COMB= multi
USES= cmake compiler:c++11-lib kde:5 qt:5 shared-mime-info tar:xz
USE_KDE= ecm:build
USE_QT= core linguisttools \
buildtools:build qmake:build
OPTIONS_DEFINE= FAM INOTIFY
OPTIONS_DEFAULT= INOTIFY
OPTIONS_SUB= yes
INOTIFY_DESC= Filesystem alteration notifications using inotify
INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify
INOTIFY_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_INOTIFY
# TODO: FAM is broken, and hangs on NFS
FAM_DESC= Filesystem alteration notifications using fam (broken: hangs on NFS)
FAM_USES= fam
FAM_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FAM
CMAKE_ARGS= -DACCOUNTS_SERVICE_ICON_DIR:PATH=/var/db/AccountsService/icons
.include <bsd.port.pre.mk>
# FreeBSD base gained /etc/os-release in r354922, which
# corresponds to __FreeBSD_version 1300060
.if ${OSVERSION} < 1300060
post-patch:
${REINPLACE_CMD} -e '/QStringLiteral/s|/etc/os-release|${LOCALBASE}/etc/os-release|g' \
${WRKSRC}/src/lib/util/kosrelease.cpp
.endif
.include <bsd.port.post.mk>