From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1559619-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5BB7158089 for <garchives@archives.gentoo.org>; Tue, 3 Oct 2023 19:21:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E96C82BC02B; Tue, 3 Oct 2023 19:21:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF63E2BC02B for <gentoo-commits@lists.gentoo.org>; Tue, 3 Oct 2023 19:21:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC5C7335CA6 for <gentoo-commits@lists.gentoo.org>; Tue, 3 Oct 2023 19:21:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B7A9926 for <gentoo-commits@lists.gentoo.org>; Tue, 3 Oct 2023 19:21:25 +0000 (UTC) From: "Andreas Sturmlechner" <asturm@gentoo.org> 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" <asturm@gentoo.org> Message-ID: <1696360855.9e9c0e1fbd50eae0c6afa203e22c81a983761c7a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/heaptrack/Manifest dev-util/heaptrack/heaptrack-1.5.0.ebuild X-VCS-Directories: dev-util/heaptrack/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 9e9c0e1fbd50eae0c6afa203e22c81a983761c7a X-VCS-Branch: master Date: Tue, 3 Oct 2023 19:21:25 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1f1c5505-15d8-4c80-a9d4-e32612673646 X-Archives-Hash: 0fb0d8fca4bd54f2e130f93bbd21008d commit: 9e9c0e1fbd50eae0c6afa203e22c81a983761c7a Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Oct 2 18:02:16 2023 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Oct 3 19:20:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9c0e1f dev-util/heaptrack: add 1.5.0 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-util/heaptrack/Manifest | 1 + dev-util/heaptrack/heaptrack-1.5.0.ebuild | 71 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest index cb37c6e788cd..704ded416de6 100644 --- a/dev-util/heaptrack/Manifest +++ b/dev-util/heaptrack/Manifest @@ -1 +1,2 @@ DIST heaptrack-1.4.0.tar.xz 5526100 BLAKE2B ffb912bc080cf966d670fcafcce682ddc5793878b73b8480b40aaf6b3c9596e892b646f9ca2ce40c195ed32d595e265e9c3a49095ac725b95a0845b2c4a7a81a SHA512 8d34356c9ecf2f9901e15ff7f24e6772e35d31ea9634d7b3ce5615df6f4f7ed024a7a4336f3b6fca648632c4c1693411641782fe60bf4cfeeb1d07d8607636a4 +DIST heaptrack-1.5.0.tar.xz 5447668 BLAKE2B f4a69311267daf9439e264bf8bb9802db41abb3fa766e5dfc8fcfe39c58feab2d0fe32710c6b5a2d63715e8b013e4a81e2984de425be871e253b1b2567a1dca2 SHA512 b52cc63a29d67dade85f40a7f9abb43e104762b9c853385f501d37fcbcef90fdcdfc93e2900c71b5a47c773bf98fe75f66f8b6a9e31a12610b6deec20d9736aa diff --git a/dev-util/heaptrack/heaptrack-1.5.0.ebuild b/dev-util/heaptrack/heaptrack-1.5.0.ebuild new file mode 100644 index 000000000000..55b236232d02 --- /dev/null +++ b/dev-util/heaptrack/heaptrack-1.5.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake kde.org xdg-utils + +DESCRIPTION="Fast heap memory profiler" +HOMEPAGE="https://apps.kde.org/heaptrack/ +https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux" +SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+gui test zstd" + +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/boost:=[zstd?,zlib] + sys-libs/libunwind:= + sys-libs/zlib + gui? ( + dev-libs/kdiagram:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + kde-frameworks/kconfig:5 + kde-frameworks/kconfigwidgets:5 + kde-frameworks/kcoreaddons:5 + kde-frameworks/ki18n:5 + kde-frameworks/kio:5 + kde-frameworks/kitemmodels:5 + kde-frameworks/kwidgetsaddons:5 + kde-frameworks/threadweaver:5 + ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND} + gui? ( >=kde-frameworks/kf-env-4 ) +" +BDEPEND="gui? ( kde-frameworks/extra-cmake-modules:5 )" + +src_prepare() { + cmake_src_prepare + rm -rf 3rdparty/boost-zstd || die # ensure no bundling +} + +src_configure() { + local mycmakeargs=( + -DHEAPTRACK_BUILD_GUI=$(usex gui) + -DBUILD_TESTING=$(usex test) + $(cmake_use_find_package zstd ZSTD) + ) + cmake_src_configure +} + +pkg_postinst() { + if use gui; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} + +pkg_postrm() { + if use gui; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +}