summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-02-12 16:33:44 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-02-12 16:37:17 +0100
commit7810050a91051d4b8df5b1c5a60de33afb0a2379 (patch)
treeefec80d831efcd8da5ce9dc4dfb28d9b52dba22c /dev-util
parentsys-fs/f2fs-tools: Removing f2fs-tools-1.7.0 (diff)
downloadgentoo-7810050a91051d4b8df5b1c5a60de33afb0a2379.tar.gz
gentoo-7810050a91051d4b8df5b1c5a60de33afb0a2379.tar.bz2
gentoo-7810050a91051d4b8df5b1c5a60de33afb0a2379.zip
dev-util/heaptrack: Import from kde overlay, pick up maintainership
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/heaptrack/heaptrack-9999.ebuild54
-rw-r--r--dev-util/heaptrack/metadata.xml5
2 files changed, 43 insertions, 16 deletions
diff --git a/dev-util/heaptrack/heaptrack-9999.ebuild b/dev-util/heaptrack/heaptrack-9999.ebuild
index ef1d0a305ee8..96391d36307e 100644
--- a/dev-util/heaptrack/heaptrack-9999.ebuild
+++ b/dev-util/heaptrack/heaptrack-9999.ebuild
@@ -1,27 +1,51 @@
-# Copyright 2015-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-EGIT_REPO_URI="git://anongit.kde.org/heaptrack"
-[[ ${PV} = 9999 ]] && inherit git-r3
-inherit cmake-utils
+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"
-[[ ${PV} = 9999 ]] || SRC_URI="${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
-# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
-[[ ${PV} = 9999 ]] || \
-KEYWORDS="~amd64 ~x86"
-IUSE=""
+KEYWORDS=""
+IUSE="+qt5"
-RDEPEND="sys-libs/libunwind
- >=dev-libs/boost-1.41.0"
-DEPEND="${RDEPEND}"
+COMMON_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
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ $(add_frameworks_dep extra-cmake-modules)
+"
+RDEPEND="${COMMON_DEPEND}
+ qt5? ( >=kde-frameworks/kf-env-4 )
+"
-DOCS=()
-[[ ${PV} = 9999 ]] || DOCS+=( ChangeLog )
+src_configure() {
+ local mycmakeargs=(
+ -DHEAPTRACK_BUILD_GUI=$(usex qt5)
+ )
+
+ kde5_src_configure
+}
diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml
index 6f49eba8f496..c6bc2d94015a 100644
--- a/dev-util/heaptrack/metadata.xml
+++ b/dev-util/heaptrack/metadata.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>asturm@gentoo.org</email>
+ <name>Andreas Sturmlechner</name>
+ </maintainer>
</pkgmetadata>