diff options
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/heaptrack/heaptrack-9999.ebuild | 59 | ||||
| -rw-r--r-- | dev-util/heaptrack/metadata.xml | 8 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-util/heaptrack/heaptrack-9999.ebuild b/dev-util/heaptrack/heaptrack-9999.ebuild new file mode 100644 index 00000000000..d9ac4ed88a5 --- /dev/null +++ b/dev-util/heaptrack/heaptrack-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_AUTODEPS="false" +QT_MINIMAL="5.5.1" +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 test" + +COMMON_DEPEND=" + dev-libs/boost + sys-libs/libunwind + sys-libs/zlib + qt5? ( + $(add_frameworks_dep extra-cmake-modules) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep threadweaver) + $(add_kdeapps_dep kdiagram) + >=dev-qt/qtcore-${QT_MINIMAL}:5 + >=dev-qt/qtgui-${QT_MINIMAL}:5 + >=dev-qt/qtwidgets-${QT_MINIMAL}:5 + ) +" +DEPEND="${COMMON_DEPEND} + sys-devel/gettext +" +RDEPEND="${COMMON_DEPEND} + qt5? ( >=kde-frameworks/kf-env-3 ) +" + +src_prepare() { + use test || \ + sed -i -e "/add_subdirectory(tests)/ s/^/#/" CMakeLists.txt || die + + kde5_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package qt5) + $(cmake-utils_use_find_package qt5 ECM) + $(cmake-utils_use_find_package qt5 KChart) + ) + + kde5_src_configure +} diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml new file mode 100644 index 00000000000..9882e038896 --- /dev/null +++ b/dev-util/heaptrack/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>zzam@gentoo.org</email> + <name>Matthias Schwarzott</name> + </maintainer> +</pkgmetadata> |
