You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/heaptrack/heaptrack-9999.ebuild

53 lines
1.1 KiB

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
KDE_AUTODEPS="false"
KDE_TEST="forceoptional"
inherit kde5
DESCRIPTION="A fast heap memory profiler"
HOMEPAGE="http://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE="+qt5 zstd"
BDEPEND="
$(add_frameworks_dep extra-cmake-modules)
"
DEPEND="
dev-libs/boost:=
sys-libs/libunwind
sys-libs/zlib
qt5? (
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep kitemmodels)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep threadweaver)
$(add_qt_dep qtcore)
$(add_qt_dep qtgui)
$(add_qt_dep qtwidgets)
dev-libs/kdiagram:5
)
zstd? ( app-arch/zstd:= )
"
RDEPEND="${DEPEND}
qt5? ( >=kde-frameworks/kf-env-4 )
"
src_configure() {
local mycmakeargs=(
-DHEAPTRACK_BUILD_GUI=$(usex qt5)
$(cmake-utils_use_find_package zstd Zstd)
)
kde5_src_configure
}