From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1709139-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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5175C15813A for <garchives@archives.gentoo.org>; Mon, 13 Jan 2025 18:47:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77827E0825; Mon, 13 Jan 2025 18:47:44 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5BD51E0825 for <gentoo-commits@lists.gentoo.org>; Mon, 13 Jan 2025 18:47:44 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74F42340BEA for <gentoo-commits@lists.gentoo.org>; Mon, 13 Jan 2025 18:47:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E00320CF for <gentoo-commits@lists.gentoo.org>; Mon, 13 Jan 2025 18:47:42 +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: <1736794053.f9737687db8956f7a624baaf8dd0067a061ebdff.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.80_pre20250110.ebuild X-VCS-Directories: dev-util/heaptrack/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: f9737687db8956f7a624baaf8dd0067a061ebdff X-VCS-Branch: master Date: Mon, 13 Jan 2025 18:47:42 +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: 9917f40a-d4ed-4caf-8623-c30612253bc9 X-Archives-Hash: 0183efa103e2f008b7f5f62a47550a4f commit: f9737687db8956f7a624baaf8dd0067a061ebdff Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Jan 13 18:39:17 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Jan 13 18:47:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9737687 dev-util/heaptrack: add 1.5.80_pre20250110 Qt6-based snapshot Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-util/heaptrack/Manifest | 1 + .../heaptrack/heaptrack-1.5.80_pre20250110.ebuild | 76 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest index 08cdd294b831..b3ad1a0b23a9 100644 --- a/dev-util/heaptrack/Manifest +++ b/dev-util/heaptrack/Manifest @@ -1 +1,2 @@ DIST heaptrack-1.5.0.tar.xz 5447668 BLAKE2B f4a69311267daf9439e264bf8bb9802db41abb3fa766e5dfc8fcfe39c58feab2d0fe32710c6b5a2d63715e8b013e4a81e2984de425be871e253b1b2567a1dca2 SHA512 b52cc63a29d67dade85f40a7f9abb43e104762b9c853385f501d37fcbcef90fdcdfc93e2900c71b5a47c773bf98fe75f66f8b6a9e31a12610b6deec20d9736aa +DIST heaptrack-1.5.80_pre20250110-5d8bfe44.tar.gz 9485092 BLAKE2B 86c04c9892a845c382b8c28248c6230517fff3ed536f773e8cd24b73c1655e08d571bb351b606aca4f0147141256f2496f119d5406a04f8da89f58de29c969db SHA512 019882341d4e046b5a1f7f8873227f455995ce1c837efa1f934c17578b41e13fa8dd4c6a20edaaea4e2e9659b43e9631c1cb3d4ccd87108f5c4342889374dff1 diff --git a/dev-util/heaptrack/heaptrack-1.5.80_pre20250110.ebuild b/dev-util/heaptrack/heaptrack-1.5.80_pre20250110.ebuild new file mode 100644 index 000000000000..f4c9330b0834 --- /dev/null +++ b/dev-util/heaptrack/heaptrack-1.5.80_pre20250110.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_COMMIT=5d8bfe4441be81ff3ced10114bb012d24ec0ab86 +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" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+gui test zstd" + +RESTRICT="!test? ( test )" + +# TODO: unbundle robin-map +DEPEND=" + dev-libs/boost:=[zstd?,zlib] + sys-libs/libunwind:= + sys-libs/zlib + gui? ( + dev-libs/kdiagram:6 + dev-qt/qtbase:6[gui,widgets] + kde-frameworks/kconfig:6 + kde-frameworks/kconfigwidgets:6 + kde-frameworks/kcoreaddons:6 + kde-frameworks/ki18n:6 + kde-frameworks/kio:6 + kde-frameworks/kitemmodels:6 + kde-frameworks/kwidgetsaddons:6 + kde-frameworks/threadweaver:6 + ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND} + gui? ( >=kde-frameworks/kf-env-4 ) +" +BDEPEND="gui? ( kde-frameworks/extra-cmake-modules:0 )" + +QA_CONFIG_IMPL_DECL_SKIP=( + # This doesn't exist in libunwind (bug #898768). + unw_backtrace_skip +) + +src_prepare() { + cmake_src_prepare + rm -rf 3rdparty/boost-zstd || die # ensure no bundling +} + +src_configure() { + local mycmakeargs=( + -DHEAPTRACK_USE_QT6=ON + -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 +}