void-packages/srcpkgs/hotspot/template
2022-01-08 05:41:40 +01:00

26 lines
1,000 B
Bash

# Template file for 'hotspot'
pkgname=hotspot
version=1.3.0
revision=1
wrksrc=${pkgname}-v${version}
build_style=cmake
hostmakedepends="extra-cmake-modules gettext"
makedepends="qt5-devel qt5-svg-devel kconfigwidgets-devel kcoreaddons-devel
ki18n-devel kio-devel kitemmodels-devel ksolid-devel kwindowsystem-devel
threadweaver-devel"
depends="perf"
short_desc="Linux perf GUI for performance analysis"
maintainer="Piraty <piraty1@inbox.ru>"
# hotspot is GPL-2.0-or-later, included submodule perfparser is GPL-3.0-only
license="GPL-2.0-or-later, GPL-3.0-only"
homepage="https://github.com/KDAB/hotspot"
distfiles="https://github.com/KDAB/hotspot/releases/download/v${version}/hotspot-v${version}.tar.gz"
checksum=7651c5f504138f6438d0cacaea041550bddb30a4ab2128abe3111fc827af4fc8
nocross="perf is nocross"
# https://github.com/KDAB/hotspot/issues/141#issuecomment-668542022
make_check=no
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="fails to link because of something with qt endian stuff"
fi