summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/directx-headers/Manifest1
-rw-r--r--dev-util/directx-headers/directx-headers-1.615.0.ebuild30
-rw-r--r--dev-util/heaptrack/Manifest1
-rw-r--r--dev-util/heaptrack/heaptrack-1.5.80_pre20250331.ebuild70
-rw-r--r--dev-util/heaptrack/heaptrack-9999.ebuild14
-rw-r--r--dev-util/heaptrack/metadata.xml4
6 files changed, 108 insertions, 12 deletions
diff --git a/dev-util/directx-headers/Manifest b/dev-util/directx-headers/Manifest
index 63e508db349e..c412412673d3 100644
--- a/dev-util/directx-headers/Manifest
+++ b/dev-util/directx-headers/Manifest
@@ -1 +1,2 @@
DIST directx-headers-1.614.1.tar.gz 458944 BLAKE2B 7c23727450d98e2dc4dcdc04119c380683c6789bb969bf3a4e29dc1b44479f3cb063238f18805332171227e41f8a8539d6f87ec26ba7a6c8cb3a394f0f818cc2 SHA512 934108052b9aa54b888c301f358a9d5b8f9ce1a5902e33b80c3273c963d10984faa7da167f1fed203462fe016e30443cb5e0d014de63fc9c0a81a674f757a7a9
+DIST directx-headers-1.615.0.tar.gz 464590 BLAKE2B 1e2bcebd9d341b99e1faf915c762e751f4067984c16b5480bdebdaf19f881d4b87c10b74bc4024a44e862db23be6e1ba49cb011d0b8f53f3875977d40092a518 SHA512 2098b307d5a8ce3f9b0830dbb4840242070f73ad6c51451d80f837cf13cc95dd17de83e8aafa9f9394ab04b8d23939afe95872c497e334d73d315693d5fc0c75
diff --git a/dev-util/directx-headers/directx-headers-1.615.0.ebuild b/dev-util/directx-headers/directx-headers-1.615.0.ebuild
new file mode 100644
index 000000000000..e13acf9baff6
--- /dev/null
+++ b/dev-util/directx-headers/directx-headers-1.615.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=DirectX-Headers
+inherit meson-multilib
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/microsoft/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ S="${WORKDIR}"/${MY_PN}-${PV}
+fi
+
+DESCRIPTION="DirectX header files and WSL stubs"
+HOMEPAGE="https://github.com/microsoft/DirectX-Headers"
+
+LICENSE="MIT"
+SLOT="0"
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dbuild-test=false
+ )
+
+ meson_src_configure
+}
diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest
index 953a3fdd2edc..6d937de2039d 100644
--- a/dev-util/heaptrack/Manifest
+++ b/dev-util/heaptrack/Manifest
@@ -1 +1,2 @@
DIST heaptrack-1.5.80_pre20250110-5d8bfe44.tar.gz 9485092 BLAKE2B 86c04c9892a845c382b8c28248c6230517fff3ed536f773e8cd24b73c1655e08d571bb351b606aca4f0147141256f2496f119d5406a04f8da89f58de29c969db SHA512 019882341d4e046b5a1f7f8873227f455995ce1c837efa1f934c17578b41e13fa8dd4c6a20edaaea4e2e9659b43e9631c1cb3d4ccd87108f5c4342889374dff1
+DIST heaptrack-1.5.80_pre20250331-0fb2eb51.tar.gz 9486961 BLAKE2B aecf5da2278f81da07ca02d735b5f7520c6d6dbddd6035fb8d3819eb251865992253d41d6509c8d05adbd908bd0cb683182fe41cf341e8808ecd35f2578c11ee SHA512 20c18c5119d1bb7cd78bc1b8faa00c4a61eaaf524da6948d75ba9bd1d96b62ea00aeb42ad5daf47b7edca9a77051a7a2c3508e28b01876d0a716e4196590e45a
diff --git a/dev-util/heaptrack/heaptrack-1.5.80_pre20250331.ebuild b/dev-util/heaptrack/heaptrack-1.5.80_pre20250331.ebuild
new file mode 100644
index 000000000000..440ef9ac6be1
--- /dev/null
+++ b/dev-util/heaptrack/heaptrack-1.5.80_pre20250331.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_COMMIT=0fb2eb516b5d762f202195f8f439bbf1ea463880
+inherit cmake kde.org xdg
+
+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=""
+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() {
+ use gui && xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ use gui && xdg_pkg_postrm
+}
diff --git a/dev-util/heaptrack/heaptrack-9999.ebuild b/dev-util/heaptrack/heaptrack-9999.ebuild
index e4c530eac199..12471bad5b16 100644
--- a/dev-util/heaptrack/heaptrack-9999.ebuild
+++ b/dev-util/heaptrack/heaptrack-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake kde.org xdg-utils
+inherit cmake kde.org xdg
DESCRIPTION="Fast heap memory profiler"
HOMEPAGE="https://apps.kde.org/heaptrack/
@@ -61,15 +61,9 @@ src_configure() {
}
pkg_postinst() {
- if use gui; then
- xdg_desktop_database_update
- xdg_icon_cache_update
- fi
+ use gui && xdg_pkg_postinst
}
pkg_postrm() {
- if use gui; then
- xdg_desktop_database_update
- xdg_icon_cache_update
- fi
+ use gui && xdg_pkg_postrm
}
diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml
index 3aef77dd4389..e51b13fb17ef 100644
--- a/dev-util/heaptrack/metadata.xml
+++ b/dev-util/heaptrack/metadata.xml
@@ -6,10 +6,10 @@
<name>Andreas Sturmlechner</name>
</maintainer>
<upstream>
- <bugs-to>https://bugs.kde.org/</bugs-to>
+ <bugs-to>https://bugs.kde.org/enter_bug.cgi?product=Heaptrack</bugs-to>
</upstream>
<use>
- <flag name="gui">Install Qt5-based analyzer tool</flag>
+ <flag name="gui">Install Qt6-based analyzer tool</flag>
</use>
<origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file