aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2023-12-08 07:07:15 +0000
committerJason E. Hale <jhale@FreeBSD.org>2023-12-09 05:12:11 +0000
commit49cfbca9d02a40730c8daf3988d1b5c162d2276c (patch)
tree5211764f5991cbaa447571b91b762488f855db10
parentd0b3d3980c294b7ad8dca8839c886448a28f132b (diff)
downloadports-49cfbca9d02a40730c8daf3988d1b5c162d2276c.tar.gz
ports-49cfbca9d02a40730c8daf3988d1b5c162d2276c.zip
devel/qcoro: Update to 0.10.0
Switch to using shared libraries and clean up deps in dependencies. https://github.com/danvratil/qcoro/releases/tag/v0.10.0
-rw-r--r--devel/qcoro/Makefile18
-rw-r--r--devel/qcoro/distinfo6
-rw-r--r--devel/qcoro/pkg-plist32
-rw-r--r--graphics/kontrast/Makefile10
-rw-r--r--graphics/kontrast/distinfo2
-rw-r--r--net-im/kaccounts-integration/Makefile17
-rw-r--r--net-im/neochat/Makefile17
-rw-r--r--net/kdenetwork-filesharing/Makefile5
8 files changed, 69 insertions, 38 deletions
diff --git a/devel/qcoro/Makefile b/devel/qcoro/Makefile
index 8402d55a331b..e7e1fc7d74f1 100644
--- a/devel/qcoro/Makefile
+++ b/devel/qcoro/Makefile
@@ -1,6 +1,6 @@
PORTNAME= qcoro
DISTVERSIONPREFIX= v
-DISTVERSION= 0.9.0
+DISTVERSION= 0.10.0
CATEGORIES= devel kde
PKGNAMESUFFIX= -${FLAVOR}
@@ -14,18 +14,24 @@ LICENSE_FILE= ${WRKSRC}/LICENSES/MIT.txt
FLAVORS= qt5 qt6
FLAVOR?= qt5
-USES= cmake compiler:c++17-lang pkgconfig qt:${FLAVOR:S/qt//}
+USES= cmake compiler:c++20-lang gl pkgconfig qt:${FLAVOR:S/qt//}
USE_GITHUB= yes
GH_ACCOUNT= danvratil
-_USE_QT_qt5= concurrent core dbus declarative network testlib websockets \
- buildtools:build qmake:build
-_USE_QT_qt6= base websockets
+_USE_GL_qt5= # empty
+_USE_GL_qt6= opengl
+USE_GL= ${_USE_GL_${FLAVOR}}
+_USE_QT_qt5= core dbus declarative gui network websockets \
+ buildtools:build concurrent:build qmake:build testlib:build
+_USE_QT_qt6= base declarative websockets
USE_QT= ${_USE_QT_${FLAVOR}}
CMAKE_OFF= QCORO_BUILD_EXAMPLES
+CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_ARGS= -DUSE_QT_VERSION=${FLAVOR:S/qt//}
-PLIST_SUB= QT_VER=${FLAVOR:S/qt//}
+PLIST_SUB= QT_VER=${FLAVOR:S/qt//} \
+ SHORTVER=${DISTVERSION:R:R} \
+ FULLVER=${DISTVERSION}
.include <bsd.port.options.mk>
diff --git a/devel/qcoro/distinfo b/devel/qcoro/distinfo
index 69d1bf8ccab4..68694078d8da 100644
--- a/devel/qcoro/distinfo
+++ b/devel/qcoro/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682703175
-SHA256 (danvratil-qcoro-v0.9.0_GH0.tar.gz) = cfaf6b778450f06adac4ce5e353eb6eae213a3b62b8c8740520d58cf9fe3ec1a
-SIZE (danvratil-qcoro-v0.9.0_GH0.tar.gz) = 143270
+TIMESTAMP = 1701911182
+SHA256 (danvratil-qcoro-v0.10.0_GH0.tar.gz) = b7c8f00273ad27d85814bf4ec93eb6922c75656800a61d11854d36355a4a1aec
+SIZE (danvratil-qcoro-v0.10.0_GH0.tar.gz) = 150114
diff --git a/devel/qcoro/pkg-plist b/devel/qcoro/pkg-plist
index 660e3d1753f3..5e68cb11892a 100644
--- a/devel/qcoro/pkg-plist
+++ b/devel/qcoro/pkg-plist
@@ -29,6 +29,14 @@ include/qcoro%%QT_VER%%/QCoro/Task
include/qcoro%%QT_VER%%/qcoro/concepts_p.h
include/qcoro%%QT_VER%%/qcoro/config.h
include/qcoro%%QT_VER%%/qcoro/coroutine.h
+include/qcoro%%QT_VER%%/qcoro/impl/connect.h
+include/qcoro%%QT_VER%%/qcoro/impl/isqprivatesignal.h
+include/qcoro%%QT_VER%%/qcoro/impl/task.h
+include/qcoro%%QT_VER%%/qcoro/impl/taskawaiterbase.h
+include/qcoro%%QT_VER%%/qcoro/impl/taskfinalsuspend.h
+include/qcoro%%QT_VER%%/qcoro/impl/taskpromise.h
+include/qcoro%%QT_VER%%/qcoro/impl/taskpromisebase.h
+include/qcoro%%QT_VER%%/qcoro/impl/waitfor.h
include/qcoro%%QT_VER%%/qcoro/macros_p.h
include/qcoro%%QT_VER%%/qcoro/qcoro.h
include/qcoro%%QT_VER%%/qcoro/qcoroabstractsocket.h
@@ -98,12 +106,24 @@ lib/cmake/QCoro%%QT_VER%%WebSockets/QCoro%%QT_VER%%WebSocketsConfig.cmake
lib/cmake/QCoro%%QT_VER%%WebSockets/QCoro%%QT_VER%%WebSocketsConfigVersion.cmake
lib/cmake/QCoro%%QT_VER%%WebSockets/QCoro%%QT_VER%%WebSocketsTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/QCoro%%QT_VER%%WebSockets/QCoro%%QT_VER%%WebSocketsTargets.cmake
-lib/libQCoro%%QT_VER%%Core.a
-lib/libQCoro%%QT_VER%%DBus.a
-lib/libQCoro%%QT_VER%%Network.a
-lib/libQCoro%%QT_VER%%Qml.a
-lib/libQCoro%%QT_VER%%Quick.a
-lib/libQCoro%%QT_VER%%WebSockets.a
+lib/libQCoro%%QT_VER%%Core.so
+lib/libQCoro%%QT_VER%%Core.so.%%SHORTVER%%
+lib/libQCoro%%QT_VER%%Core.so.%%FULLVER%%
+lib/libQCoro%%QT_VER%%DBus.so
+lib/libQCoro%%QT_VER%%DBus.so.%%SHORTVER%%
+lib/libQCoro%%QT_VER%%DBus.so.%%FULLVER%%
+lib/libQCoro%%QT_VER%%Network.so
+lib/libQCoro%%QT_VER%%Network.so.%%SHORTVER%%
+lib/libQCoro%%QT_VER%%Network.so.%%FULLVER%%
+lib/libQCoro%%QT_VER%%Qml.so
+lib/libQCoro%%QT_VER%%Qml.so.%%SHORTVER%%
+lib/libQCoro%%QT_VER%%Qml.so.%%FULLVER%%
+lib/libQCoro%%QT_VER%%Quick.so
+lib/libQCoro%%QT_VER%%Quick.so.%%SHORTVER%%
+lib/libQCoro%%QT_VER%%Quick.so.%%FULLVER%%
+lib/libQCoro%%QT_VER%%WebSockets.so
+lib/libQCoro%%QT_VER%%WebSockets.so.%%SHORTVER%%
+lib/libQCoro%%QT_VER%%WebSockets.so.%%FULLVER%%
%%QT_MKSPECDIR%%/modules/qt_QCoroCore.pri
%%QT_MKSPECDIR%%/modules/qt_QCoroCoro.pri
%%QT_MKSPECDIR%%/modules/qt_QCoroDBus.pri
diff --git a/graphics/kontrast/Makefile b/graphics/kontrast/Makefile
index 211d8f802c33..385c96594f91 100644
--- a/graphics/kontrast/Makefile
+++ b/graphics/kontrast/Makefile
@@ -1,17 +1,21 @@
PORTNAME= kontrast
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+PORTREVISION= 1
CATEGORIES= graphics accessibility kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Color contrast checker
WWW= https://apps.kde.org/en/kontrast
-BUILD_DEPENDS= ${LOCALBASE}/include/qcoro5/qcoro/qcoro.h:devel/qcoro@qt5
-LIB_DEPENDS= libfuturesql5.so:databases/futuresql
+PATCH_SITES= https://invent.kde.org/accessibility/kontrast/-/commit/
+PATCHFILES+= 1fb315a862c30c20e99dd70967ca5be82d249dd4.patch:-p1
+
+LIB_DEPENDS= libQCoro5Core.so:devel/qcoro@qt5 \
+ libfuturesql5.so:databases/futuresql
USES= compiler:c++11-lang cmake pkgconfig \
kde:5 qt:5 tar:xz
-USE_KDE= coreaddons i18n kdeclarative kirigami2 \
+USE_KDE= coreaddons i18n kirigami2 \
ecm:build
USE_QT= core dbus declarative gui network quickcontrols2 sql svg widgets \
buildtools:build qmake:build
diff --git a/graphics/kontrast/distinfo b/graphics/kontrast/distinfo
index 184d85901b53..dd1837164d26 100644
--- a/graphics/kontrast/distinfo
+++ b/graphics/kontrast/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1701977531
SHA256 (KDE/release-service/23.08.4/kontrast-23.08.4.tar.xz) = d71d29221ba7db1bcd52e1e7ec369b272a58d0f7ee1d120d585b5a34e04c9fb0
SIZE (KDE/release-service/23.08.4/kontrast-23.08.4.tar.xz) = 211820
+SHA256 (KDE/release-service/23.08.4/1fb315a862c30c20e99dd70967ca5be82d249dd4.patch) = b650f58c22b4eac2710939a9acdc0ca3b5746dbe49a431d01b273c189191c0b8
+SIZE (KDE/release-service/23.08.4/1fb315a862c30c20e99dd70967ca5be82d249dd4.patch) = 1188
diff --git a/net-im/kaccounts-integration/Makefile b/net-im/kaccounts-integration/Makefile
index 98f4de76d94e..13bfe67c3bb4 100644
--- a/net-im/kaccounts-integration/Makefile
+++ b/net-im/kaccounts-integration/Makefile
@@ -1,24 +1,23 @@
PORTNAME= kaccounts-integration
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+PORTREVISION= 1
CATEGORIES= net-im kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= System to administer web accounts for the KDE desktop
WWW= https://projects.kde.org/projects/kdereview/kaccounts-integration
-BUILD_DEPENDS= ${LOCALBASE}/include/qcoro5/qcoro/qcoro.h:devel/qcoro@qt5
-LIB_DEPENDS= libaccounts-glib.so:net-im/libaccounts-glib \
+LIB_DEPENDS= libQCoro5Core.so:devel/qcoro@qt5 \
libaccounts-qt5.so:net-im/libaccounts-qt5 \
- liboauth2plugin.so:sysutils/signon-plugin-oauth2 \
- libsignon-qt5.so:sysutils/signon-qt5 \
- libkeyring-kwallet.so:sysutils/signon-kwallet-extension
+ libsignon-qt5.so:sysutils/signon-qt5
RUN_DEPENDS= signon-ui:sysutils/signon-ui
-USES= cmake compiler:c++11-lang gettext pkgconfig kde:5 \
+USES= cmake compiler:c++11-lang gettext-tools pkgconfig kde:5 \
qt:5 tar:xz
-USE_KDE= auth codecs config configwidgets coreaddons dbusaddons \
- i18n iconthemes kcmutils kdeclarative kio service wallet widgetsaddons \
- ecm:build
+USE_KDE= config coreaddons dbusaddons i18n kcmutils kdeclarative kio \
+ service wallet \
+ ecm:build package:build \
+ iconthemes:run
USE_QT= concurrent core dbus declarative gui network widgets xml \
buildtools:build qmake:build
diff --git a/net-im/neochat/Makefile b/net-im/neochat/Makefile
index 04f179b0d21d..5824a2ba2aca 100644
--- a/net-im/neochat/Makefile
+++ b/net-im/neochat/Makefile
@@ -1,5 +1,6 @@
PORTNAME= neochat
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+PORTREVISION= 1
CATEGORIES= net-im deskutils kde kde-applications
MAINTAINER= kde@FreeBSD.org
@@ -9,28 +10,26 @@ WWW= https://invent.kde.org/network/neochat
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-only.txt
-LIB_DEPENDS= libcmark.so:textproc/cmark \
+LIB_DEPENDS= libQCoro5Core.so:devel/qcoro@qt5 \
+ libcmark.so:textproc/cmark \
libqt5keychain.so:security/qtkeychain@qt5 \
libolm.so:security/olm
BUILD_DEPENDS= libquotient-qt5>=0.8.1:net-im/libquotient@qt5 \
kquickimageeditor>=0.2.0:graphics/kquickimageeditor \
- kirigami-addons>=0.6.1:x11-toolkits/kirigami-addons \
- ${LOCALBASE}/include/qcoro5/qcoro/qcoro.h:devel/qcoro@qt5
+ kirigami-addons>=0.6.1:x11-toolkits/kirigami-addons
# Quotient is a static lib, doesn't need to be in RUN_DEPENDS
RUN_DEPENDS= kquickimageeditor>=0.2.0:graphics/kquickimageeditor \
kirigami-addons>=0.6.1:x11-toolkits/kirigami-addons
-USES= cmake compiler:c++20-lang desktop-file-utils gl kde:5 \
- pkgconfig qt:5 tar:xz
-USE_GL= gl
+USES= cmake compiler:c++20-lang desktop-file-utils kde:5 \
+ pkgconfig qt:5 tar:xz xorg
USE_QT= concurrent core dbus declarative graphicaleffects gui imageformats \
multimedia network quickcontrols quickcontrols2 \
- sql svg widgets xml \
+ sql widgets xml \
buildtools:build linguist:build qmake:build
USE_KDE= auth codecs completion config configwidgets coreaddons dbusaddons \
i18n itemmodels jobwidgets kio kirigami2 service solid sonnet \
- syntaxhighlighting notifications qqc2-desktop-style \
- widgetsaddons windowsystem \
+ notifications qqc2-desktop-style widgetsaddons windowsystem \
ecm:build
USE_XORG= x11
diff --git a/net/kdenetwork-filesharing/Makefile b/net/kdenetwork-filesharing/Makefile
index 73a31714bcb2..27276696e2f2 100644
--- a/net/kdenetwork-filesharing/Makefile
+++ b/net/kdenetwork-filesharing/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kdenetwork-filesharing
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+PORTREVISION= 1
CATEGORIES= net kde kde-applications
MAINTAINER= kde@FreeBSD.org
@@ -7,9 +8,9 @@ COMMENT= KDE Filesharing via Samba
BUILD_DEPENDS= ${LOCALBASE}/include/qcoro5/qcoro/qcoro.h:devel/qcoro@qt5
-USES= cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz xorg
+USES= cmake compiler:c++11-lang gettext-tools kde:5 qt:5 tar:xz xorg
USE_KDE= auth completion config coreaddons doctools i18n jobwidgets \
- kdeclarative kio package service solid widgetsaddons windowsystem \
+ kio service solid widgetsaddons windowsystem \
ecm:build
USE_QT= concurrent core dbus declarative gui network widgets \
buildtools:build qmake:build