diff options
Diffstat (limited to 'devel/hotspot')
-rw-r--r-- | devel/hotspot/Makefile | 14 | ||||
-rw-r--r-- | devel/hotspot/files/patch-src_models_timelinedelegate.cpp | 11 | ||||
-rw-r--r-- | devel/hotspot/pkg-plist | 2 |
3 files changed, 19 insertions, 8 deletions
diff --git a/devel/hotspot/Makefile b/devel/hotspot/Makefile index 7658f9119413..062547ddf138 100644 --- a/devel/hotspot/Makefile +++ b/devel/hotspot/Makefile @@ -1,10 +1,10 @@ PORTNAME= hotspot DISTVERSIONPREFIX= v DISTVERSION= 1.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel -MAINTAINER= yuri@FreeBSD.org +MAINTAINER= kde@FreeBSD.org COMMENT= Perf GUI for performance analysis (needs mock 'perf' command) WWW= https://github.com/KDAB/hotspot @@ -13,18 +13,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.GPL.txt BUILD_DEPENDS= ${LOCALBASE}/lib/librustc_demangle.a:devel/rustc-demangle LIB_DEPENDS= libdw.so:devel/elfutils \ - libQCustomPlot-qt5.so:graphics/qcustomplot@qt5 \ - libkddockwidgets.so:x11-toolkits/kddockwidgets \ + libQCustomPlotQt6.so:graphics/qcustomplot@qt6 \ + libkddockwidgets-qt6.so:x11-toolkits/kddockwidgets \ libkgraphviewer.so:graphics/kgraphviewer \ libzstd.so:archivers/zstd -USES= cmake desktop-file-utils qt:5 kde:5 pkgconfig xorg +USES= cmake desktop-file-utils gettext-tools qt:6 kde:6 pkgconfig xorg USE_KDE= ecm \ archive auth bookmarks codecs completion config configwidgets coreaddons i18n iconthemes \ itemmodels itemviews jobwidgets kio notifications parts service solid sonnet syntaxhighlighting \ textwidgets threadweaver widgetsaddons windowsystem xmlgui -USE_QT= concurrent core dbus declarative gui network quickcontrols2 svg widgets x11extras xml \ - buildtools:build qmake:build +USE_QT= base declarative USE_XORG= x11 USE_GITHUB= yes @@ -32,6 +31,7 @@ GH_ACCOUNT= KDAB GH_TUPLE= KDAB:perfparser:851ebf0:perfparser/3rdparty/perfparser \ koenpoppe:PrefixTickLabels:6e86393:PrefixTickLabels/3rdparty/PrefixTickLabels +CMAKE_ON= QT6_BUILD CMAKE_ARGS= -DCMAKE_MODULE_PATH=${LOCALBASE}/share/ECM/find-modules PORTSCOUT= limit:^.*[0-9]\.[0-9].*$$ # prevent tags like 'continuous' diff --git a/devel/hotspot/files/patch-src_models_timelinedelegate.cpp b/devel/hotspot/files/patch-src_models_timelinedelegate.cpp new file mode 100644 index 000000000000..28e2e8df92a2 --- /dev/null +++ b/devel/hotspot/files/patch-src_models_timelinedelegate.cpp @@ -0,0 +1,11 @@ +--- src/models/timelinedelegate.cpp.orig 2024-05-28 14:02:14 UTC ++++ src/models/timelinedelegate.cpp +@@ -194,7 +194,7 @@ void TimeLineDelegate::paint(QPainter* painter, const + painter->drawRect(threadTimeRect.adjusted(-1, -1, 0, 0)); + + // visualize all events +- painter->setBrush({}); ++ painter->setBrush(QBrush()); + + if (offCpuCostId != -1) { + const auto offCpuColor = scheme.background(KColorScheme::NegativeBackground).color(); diff --git a/devel/hotspot/pkg-plist b/devel/hotspot/pkg-plist index fe2226a4131f..c7cad8fa9048 100644 --- a/devel/hotspot/pkg-plist +++ b/devel/hotspot/pkg-plist @@ -7,5 +7,5 @@ share/icons/hicolor/22x22/apps/hotspot.png share/icons/hicolor/32x32/apps/hotspot.png share/icons/hicolor/48x48/apps/hotspot.png share/icons/hicolor/64x64/apps/hotspot.png -share/knotifications5/hotspot.notifyrc +share/knotifications6/hotspot.notifyrc share/metainfo/com.kdab.Hotspot.appdata.xml |