public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
Date: Sun, 12 Feb 2017 15:37:37 +0000 (UTC)	[thread overview]
Message-ID: <1486913837.7810050a91051d4b8df5b1c5a60de33afb0a2379.asturm@gentoo> (raw)

commit:     7810050a91051d4b8df5b1c5a60de33afb0a2379
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 15:33:44 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 @@
 <?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>


             reply	other threads:[~2017-02-12 15:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-12 15:37 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-13 18:47 [gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/ Andreas Sturmlechner
2024-12-30 14:21 Andreas Sturmlechner
2023-10-03 19:21 Andreas Sturmlechner
2022-06-18 11:03 Andreas Sturmlechner
2022-06-18 11:03 Andreas Sturmlechner
2022-04-19 21:08 Sam James
2021-12-18 20:56 Andreas Sturmlechner
2021-09-05  9:06 Andreas Sturmlechner
2020-05-24 21:46 Andreas Sturmlechner
2020-05-24 21:46 Andreas Sturmlechner
2019-11-12  1:13 Andreas Sturmlechner
2019-02-15 23:28 Andreas Sturmlechner
2018-03-17 16:49 Andreas Sturmlechner
2016-07-07 19:48 Austin English
2016-05-21 14:40 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1486913837.7810050a91051d4b8df5b1c5a60de33afb0a2379.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox