commit:     78f24f6b117326ac35b02aa9a3dce56955d93568
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 24 19:52:16 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 25 16:05:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f24f6b

sys-apps/qdirstat: add 1.9_p20250726

Bug: https://bugs.gentoo.org/947299
Closes: https://bugs.gentoo.org/925153
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-apps/qdirstat/Manifest                      |  2 +
 sys-apps/qdirstat/qdirstat-1.9_p20250726.ebuild | 57 +++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/sys-apps/qdirstat/Manifest b/sys-apps/qdirstat/Manifest
index 3dd12d47b464..aeca1ea36ab6 100644
--- a/sys-apps/qdirstat/Manifest
+++ b/sys-apps/qdirstat/Manifest
@@ -1 +1,3 @@
 DIST qdirstat-1.9.tar.gz 9529866 BLAKE2B 
3beb40381bf21f04651dcdab27086860ce428fed1e08e5ef6ca2f5e6048b56890554e29aa29db72f1869c7d7b94a964445cb93679d8dcaa4d38e6c24e07af28f
 SHA512 
f70c5ed86daca8f2f081afec213908f51b621f043173f7906903bcf9e955d67c5906a2588622f7c57d753e6f839ed061420c0cdb76168c7b9d70ddf64f0f23ff
+DIST qdirstat-1.9_p20250726-qt6.patch.xz 31048 BLAKE2B 
b526ff2837b4f4c06bda161bb968073cfc708fd36c381903db9cd61b90fd0200f6c4d76d14ff3692ee01ab993a8928dc82b47074f792bfc151153886c013e9cd
 SHA512 
c25efe0cac4854e871b4b689e662541efeec86809c074ebe035b4e3f46d2fc9d75b015c90b31e17fbeb7dd2ba6d8c49ca58ecaee8f6a0446c3c11ea7ddf0f00f
+DIST qdirstat-1.9_p20250726.tar.gz 9537652 BLAKE2B 
d6bbbd0409b4dd80766832f9725331ef59159fbf29db7791fd255d8d3b222a145df08949a4a73b78281bf049bacbb6ffb5b234ca27c860cf5dd671230a17a237
 SHA512 
d438453a5cdaeec9a7e1239a544dee5d2a76bc286e66d9c00c3f948675ae99eafcba95e9e1c2324d85680490ea22af31571d300ad6a3f3486e1e3afb67819d29

diff --git a/sys-apps/qdirstat/qdirstat-1.9_p20250726.ebuild 
b/sys-apps/qdirstat/qdirstat-1.9_p20250726.ebuild
new file mode 100644
index 000000000000..d228a3b32922
--- /dev/null
+++ b/sys-apps/qdirstat/qdirstat-1.9_p20250726.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COMMIT=a888b289ecaa062466a1d5ba2b19e96bed5fb8c8
+inherit qmake-utils xdg-utils
+
+DESCRIPTION="Qt-based directory statistics"
+HOMEPAGE="https://github.com/shundhammer/qdirstat";
+SRC_URI="https://github.com/shundhammer/qdirstat/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz
+       https://dev.gentoo.org/~asturm/distfiles/${P}-qt6.patch.xz";
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       dev-qt/qtbase:6[gui,widgets]
+       sys-libs/zlib
+"
+RDEPEND="${DEPEND}
+       dev-lang/perl
+       dev-perl/URI
+"
+
+# Pending ... https://github.com/shundhammer/qdirstat/pull/279
+PATCHES=( "${WORKDIR}/${P}-qt6.patch" ) # bug 947299
+
+src_prepare() {
+       default
+
+       # Fix QA warning about incorrect use of doc path
+       sed -e "/doc.path/s/${PN}/${PF}/" -i doc/doc.pro doc/stats/stats.pro || 
die
+
+       # Don't install compressed man pages
+       sed -e '/gzip/d' -e 's/.gz//g' -i man/man.pro || die
+}
+
+src_configure() {
+       eqmake6
+}
+
+src_install() {
+       emake INSTALL_ROOT="${ED}" install
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to