mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
e8035d4760
Major update from 3.31.8 to 4.1.2. CMake 4.0 introduces a breaking change: compatibility with versions older than 3.5 has been removed. Projects calling cmake_minimum_required() or cmake_policy() with versions < 3.5 now error out. To maintain compatibility with existing ports during the transition, the cmake module now provides MODCMAKE_POLICY_VERSION_OVERRIDE (idea from sthen@) support: - MODCMAKE_POLICY_VERSION_OVERRIDE ?= No - MODCMAKE_POLICY_VERSION_OVERRIDE_VER ?= 3.5 When MODCMAKE_POLICY_VERSION_OVERRIDE is set to "yes", CMake is instructed to accept policy versions down to the specified minimum (default 3.5) via -DCMAKE_POLICY_VERSION_MINIMUM. This allows older ports to build while acknowledging they may use deprecated features. https://cmake.org/cmake/help/latest/release/4.0.html https://cmake.org/cmake/help/latest/release/4.1.html OK sthen@
36 lines
724 B
Makefile
36 lines
724 B
Makefile
COMMENT = lightweight Qt5 notes manager
|
|
DISTNAME = feathernotes-${GH_TAGNAME:S/^V//}
|
|
CATEGORIES = misc x11
|
|
REVISION = 0
|
|
|
|
GH_ACCOUNT = tsujan
|
|
GH_PROJECT = FeatherNotes
|
|
GH_TAGNAME = V1.1.0
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} ICE Qt5Core Qt5DBus Qt5Gui Qt5Network
|
|
WANTLIB += Qt5PrintSupport Qt5Svg Qt5Widgets Qt5X11Extras Qt5Xml
|
|
WANTLIB += SM X11 Xext c hunspell-1.7 m
|
|
|
|
MODULES = devel/cmake \
|
|
x11/qt5
|
|
|
|
LIB_DEPENDS = textproc/hunspell \
|
|
x11/qt5/qtsvg \
|
|
x11/qt5/qtx11extras
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
misc/shared-mime-info \
|
|
x11/gtk+4,-guic
|
|
|
|
CONFIGURE_ARGS = -DCMAKE_INSTALL_PREFIX="${LOCALBASE}"
|
|
|
|
NO_TEST = Yes
|
|
|
|
|
|
MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
|
|
|
|
.include <bsd.port.mk>
|