aboutsummaryrefslogtreecommitdiff
path: root/devel/hotspot/Makefile
blob: 3200d86bfecf2c44468ceb1e2f2c3b9976ff4e06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PORTNAME=	hotspot
DISTVERSIONPREFIX=	v
DISTVERSION=	1.5.0
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Perf GUI for performance analysis (needs mock 'perf' command)
WWW=		https://github.com/KDAB/hotspot

LICENSE=	GPLv2
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 \
		libkgraphviewer.so:graphics/kgraphviewer \
		libzstd.so:archivers/zstd

USES=		cmake desktop-file-utils qt:5 kde:5 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_XORG=	x11

USE_GITHUB=	yes
GH_ACCOUNT=	KDAB
GH_TUPLE=	KDAB:perfparser:851ebf0:perfparser/3rdparty/perfparser \
		koenpoppe:PrefixTickLabels:6e86393:PrefixTickLabels/3rdparty/PrefixTickLabels

CMAKE_ARGS=	-DCMAKE_MODULE_PATH=${LOCALBASE}/share/ECM/find-modules

PORTSCOUT=	limit:^.*[0-9]\.[0-9].*$$ # prevent tags like 'continuous'

.include <bsd.port.mk>