commit:     614d0c813b740d04f4c66320a64f6b3bed4ab476
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 15:52:08 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 15:52:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=614d0c81

sys-apps/qdirstat: add 1.9

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-apps/qdirstat/Manifest            |  1 +
 sys-apps/qdirstat/qdirstat-1.9.ebuild | 55 +++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/sys-apps/qdirstat/Manifest b/sys-apps/qdirstat/Manifest
index 304bbc9d600e..0ad5c86cd61b 100644
--- a/sys-apps/qdirstat/Manifest
+++ b/sys-apps/qdirstat/Manifest
@@ -1 +1,2 @@
 DIST qdirstat-1.8.1.tar.gz 8726725 BLAKE2B 
5592f6c551cd218faa6bc82433707c6eff531b142d2c5b11f85eb7212a57a4e0c9e8dcc58f76237dee45357628c7076da07849d134805d255dd10b27c5f330a0
 SHA512 
af7043d52154cfb148d7365eb24d3d728ad7ac03f9e0bd9e33bcd03d040793624f7eba0061c72ba53d4828c5a9f2e717663dc84e01d33ee4d471b7a6a1d7f7e1
+DIST qdirstat-1.9.tar.gz 9529866 BLAKE2B 
3beb40381bf21f04651dcdab27086860ce428fed1e08e5ef6ca2f5e6048b56890554e29aa29db72f1869c7d7b94a964445cb93679d8dcaa4d38e6c24e07af28f
 SHA512 
f70c5ed86daca8f2f081afec213908f51b621f043173f7906903bcf9e955d67c5906a2588622f7c57d753e6f839ed061420c0cdb76168c7b9d70ddf64f0f23ff

diff --git a/sys-apps/qdirstat/qdirstat-1.9.ebuild 
b/sys-apps/qdirstat/qdirstat-1.9.ebuild
new file mode 100644
index 000000000000..5fb1f589072b
--- /dev/null
+++ b/sys-apps/qdirstat/qdirstat-1.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils xdg-utils
+
+DESCRIPTION="Qt-based directory statistics"
+HOMEPAGE="https://github.com/shundhammer/qdirstat";
+SRC_URI="https://github.com/shundhammer/qdirstat/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       dev-qt/qtgui:5
+       dev-qt/qtcore:5
+       dev-qt/qtwidgets:5
+       sys-libs/zlib
+"
+
+RDEPEND="
+       ${DEPEND}
+       dev-lang/perl
+       dev-perl/URI
+"
+
+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() {
+       eqmake5
+}
+
+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