Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/qdirstat/
Date: Thu, 30 Jun 2022 10:30:43
Message-Id: 1656585022.2c2043ab77d88634b7ead25612afe299821d4353.conikost@gentoo
1 commit: 2c2043ab77d88634b7ead25612afe299821d4353
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 30 10:30:22 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 10:30:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2043ab
7
8 sys-apps/qdirstat: add 1.8.1
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 sys-apps/qdirstat/Manifest | 1 +
13 sys-apps/qdirstat/qdirstat-1.8.1.ebuild | 57 +++++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/sys-apps/qdirstat/Manifest b/sys-apps/qdirstat/Manifest
17 index d76960cfce5a..80e7cb096116 100644
18 --- a/sys-apps/qdirstat/Manifest
19 +++ b/sys-apps/qdirstat/Manifest
20 @@ -1 +1,2 @@
21 +DIST qdirstat-1.8.1.tar.gz 8726725 BLAKE2B 5592f6c551cd218faa6bc82433707c6eff531b142d2c5b11f85eb7212a57a4e0c9e8dcc58f76237dee45357628c7076da07849d134805d255dd10b27c5f330a0 SHA512 af7043d52154cfb148d7365eb24d3d728ad7ac03f9e0bd9e33bcd03d040793624f7eba0061c72ba53d4828c5a9f2e717663dc84e01d33ee4d471b7a6a1d7f7e1
22 DIST qdirstat-1.8.tar.gz 8720791 BLAKE2B fd1da935e82c7cdb2880e3a1e2902627c7f3e2972d08ae83a7ca49c4f641c07184c791471fb7a62211660f6e9bfb6fd0dc309c26c0fcffa1cad98de029e2b384 SHA512 fb7b757cf08c6b6ec0c14be9b08b8b6784a36e100c3ac89dbaef176ef908e43c47c2788fc4002a5e5f7308c990518cb3a104166e12cec605ff1a586bd7a4af10
23
24 diff --git a/sys-apps/qdirstat/qdirstat-1.8.1.ebuild b/sys-apps/qdirstat/qdirstat-1.8.1.ebuild
25 new file mode 100644
26 index 000000000000..022c220493ba
27 --- /dev/null
28 +++ b/sys-apps/qdirstat/qdirstat-1.8.1.ebuild
29 @@ -0,0 +1,57 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit qmake-utils xdg-utils
36 +
37 +DESCRIPTION="Qt-based directory statistics"
38 +HOMEPAGE="https://github.com/shundhammer/qdirstat"
39 +SRC_URI="https://github.com/shundhammer/qdirstat/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +
45 +DEPEND="
46 + dev-qt/qtgui:5
47 + dev-qt/qtcore:5
48 + dev-qt/qtwidgets:5
49 + sys-libs/zlib
50 +"
51 +
52 +RDEPEND="
53 + ${DEPEND}
54 + dev-lang/perl
55 + dev-perl/URI
56 +"
57 +
58 +PATCHES=( "${FILESDIR}/${PN}-1.8-musl.patch" )
59 +
60 +src_prepare() {
61 + default
62 +
63 + # Fix QA warning about incorrect use of doc path
64 + sed -e "/doc.path/s/${PN}/${PF}/" -i doc/doc.pro doc/stats/stats.pro || die
65 +
66 + # Don't install compressed man pages
67 + sed -e '/gzip/d' -e 's/.gz//g' -i man/man.pro || die
68 +}
69 +
70 +src_configure() {
71 + eqmake5
72 +}
73 +
74 +src_install() {
75 + emake INSTALL_ROOT="${ED}" install
76 +}
77 +
78 +pkg_postinst() {
79 + xdg_desktop_database_update
80 + xdg_icon_cache_update
81 +}
82 +
83 +pkg_postrm() {
84 + xdg_desktop_database_update
85 + xdg_icon_cache_update
86 +}