From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E7B0139694 for ; Sun, 12 Feb 2017 15:37:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EB48E0C56; Sun, 12 Feb 2017 15:37:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C82EE0C56 for ; Sun, 12 Feb 2017 15:37:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59698341398 for ; Sun, 12 Feb 2017 15:37:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD24A4561 for ; Sun, 12 Feb 2017 15:37:37 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1486913837.7810050a91051d4b8df5b1c5a60de33afb0a2379.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/heaptrack/heaptrack-9999.ebuild dev-util/heaptrack/metadata.xml X-VCS-Directories: dev-util/heaptrack/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7810050a91051d4b8df5b1c5a60de33afb0a2379 X-VCS-Branch: master Date: Sun, 12 Feb 2017 15:37:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8d8b5459-3b15-44b7-a321-36c7418f54d7 X-Archives-Hash: b4b413722e34a88aa3b9ef3afdad3d35 commit: 7810050a91051d4b8df5b1c5a60de33afb0a2379 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 12 15:33:44 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 12 15:37:17 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7810050a dev-util/heaptrack: Import from kde overlay, pick up maintainership Package-Manager: portage-2.3.3 dev-util/heaptrack/heaptrack-9999.ebuild | 54 +++++++++++++++++++++++--------- dev-util/heaptrack/metadata.xml | 5 ++- 2 files changed, 43 insertions(+), 16 deletions(-) diff --git a/dev-util/heaptrack/heaptrack-9999.ebuild b/dev-util/heaptrack/heaptrack-9999.ebuild index ef1d0a305e..96391d3630 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 6f49eba8f4..c6bc2d9401 100644 --- a/dev-util/heaptrack/metadata.xml +++ b/dev-util/heaptrack/metadata.xml @@ -1,5 +1,8 @@ - + + asturm@gentoo.org + Andreas Sturmlechner +