Uses/kde.mk: prepare for the removal of devel/kf5-extra-cmake-modules

- only one extra-cmake-modules package can be installed at a time
- devel/kf6-extra-cmake-modules is backward compatible and, according to
  upstream, should be used for all builds.

Exp-run by:	antoine
PR:		280070
This commit is contained in:
Tobias C. Berner 2024-07-01 13:24:24 +02:00 committed by Gleb Popov
parent 9d3a8897b1
commit eef1a0b44d
8 changed files with 11 additions and 9 deletions

View file

@ -435,7 +435,8 @@ kde-dnssd_LIB= libKF${_KDE_VERSION}DNSSD.so
kde-doctools_PORT= devel/kf${_KDE_VERSION}-kdoctools
kde-doctools_PATH= ${KDE_PREFIX}/bin/meinproc${_KDE_VERSION}
kde-ecm_PORT= devel/kf${_KDE_VERSION}-extra-cmake-modules
# Use ECM from KDE Frameworks 6 for everything
kde-ecm_PORT= devel/kf6-extra-cmake-modules
kde-ecm_PATH= ${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake
kde-emoticons_PORT= x11-themes/kf${_KDE_VERSION}-kemoticons

View file

@ -10,7 +10,7 @@ LICENSE= LGPL20
USES= cmake compiler:c++11-lib kde:5 qt:5 tar:xz
USE_KDE= ecm:build
USE_QT= core \
USE_QT= core linguisttools \
buildtools:build qmake:build
.include <bsd.port.mk>

View file

@ -12,7 +12,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LIB
USES= bison cmake compiler:c++11-lang kde:5 qt:5 tar:xz
USE_KDE= ecm:build
USE_QT= charts core declarative gui network printsupport svg widgets \
USE_QT= charts core declarative gui linguisttools network printsupport \
svg widgets \
buildtools:build help:build qdoc:build qmake:build
OPTIONS_DEFINE= SERVER

View file

@ -7,7 +7,7 @@ COMMENT= KF5 helper for multithreaded programming
USES= cmake compiler:c++11-lib kde:5 qt:5 tar:xz
USE_KDE= ecm:build
USE_QT= core widgets \
USE_QT= core widgets xml \
buildtools:build qmake:build testlib:build
.include <bsd.port.mk>

View file

@ -10,7 +10,7 @@ WWW= https://drawpile.net
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake:devel/kf5-extra-cmake-modules
BUILD_DEPENDS= ${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake:devel/kf6-extra-cmake-modules
LIB_DEPENDS= libsodium.so:security/libsodium
USES= cargo cmake compiler:c++17-lang desktop-file-utils kde:5 pkgconfig qt:5 shared-mime-info

View file

@ -16,7 +16,7 @@ LIB_DEPENDS= libpng.so:graphics/png
USES= bison cmake compiler:c++14-lang gl qt:5
USE_GL= gl glu
USE_LDCONFIG= yes
USE_QT= buildtools:build qmake:build core gui opengl widgets
USE_QT= buildtools:build qmake:build core gui linguisttools opengl widgets
MAKE_JOBS_UNSAFE= yes # https://github.com/wdas/seexpr/issues/40

View file

@ -24,7 +24,7 @@ USE_LDCONFIG= yes
USE_KDE= ecm:build
USE_QT= ${_USE_QT_${FLAVOR}}
_USE_QT_qt5= core gui widgets buildtools:build qmake:build
_USE_QT_qt5= core gui linguisttools widgets buildtools:build qmake:build
_USE_QT_qt6= 5compat base tools
_CMAKE_ON_qt5= PHONON_BUILD_QT5
_CMAKE_ON_qt6= PHONON_BUILD_QT6

View file

@ -13,8 +13,8 @@ LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPL3
USES= cmake kde:5 qt:5 tar:xz
USE_KDE= ecm:build
USE_QT= buildtools:build \
qmake:build
# core is needed for kf6-ecm to find qmake
USE_QT= buildtools:build core:build qmake:build
NO_ARCH= yes