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, 13 Feb 2020 19:02:56
Message-Id: 1581620560.25351c5fddc5c9d054bc5f734f2c3476d3d17369.conikost@gentoo
1 commit: 25351c5fddc5c9d054bc5f734f2c3476d3d17369
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 13 19:01:57 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 13 19:02:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25351c5f
7
8 sys-apps/qdirstat: bump to version 1.6.1
9
10 Package-Manager: Portage-2.3.87, Repoman-2.3.20
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 sys-apps/qdirstat/Manifest | 1 +
14 sys-apps/qdirstat/qdirstat-1.6.1.ebuild | 52 +++++++++++++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/sys-apps/qdirstat/Manifest b/sys-apps/qdirstat/Manifest
18 index 61096ddb042..455c766d6bd 100644
19 --- a/sys-apps/qdirstat/Manifest
20 +++ b/sys-apps/qdirstat/Manifest
21 @@ -1 +1,2 @@
22 +DIST qdirstat-1.6.1.tar.gz 7708491 BLAKE2B e6a92f93c76de0f602a66409a2701cd06f1744ab67c3c829938695f1d59b7244998d3a6ddd9d6cfc6408db3ac98d355f4496348ebd198c93ea345b33414c3048 SHA512 fd4c6a3582184785d935e96e884cc3e2033e3ee174ea893816b14524c5c5c62923c5a8c5869969fb8b1d0e84bbffd9dc707a68bdb53898c55dfd14fe16946110
23 DIST qdirstat-1.6.tar.gz 6398935 BLAKE2B dba15df3f9dd34276ee38ccdd97d1b8158596198b22a807b4d0a68c7d33d146a25ef5b987c4a6e3dc16df421422ddc0cad2e9f60a80493ac668bcb023c15c31c SHA512 8d1350bc8995dac2de90a32ca5ddaac47a317c7e7044f39ed87a7b2e208cda0b84f04c147f7a2414d7a0c5c731479847a879aedcf5781ca772fbfa8fa360cc77
24
25 diff --git a/sys-apps/qdirstat/qdirstat-1.6.1.ebuild b/sys-apps/qdirstat/qdirstat-1.6.1.ebuild
26 new file mode 100644
27 index 00000000000..e4bae2ee165
28 --- /dev/null
29 +++ b/sys-apps/qdirstat/qdirstat-1.6.1.ebuild
30 @@ -0,0 +1,52 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit qmake-utils xdg-utils
37 +
38 +DESCRIPTION="Qt-based directory statistics"
39 +HOMEPAGE="https://github.com/shundhammer/qdirstat"
40 +SRC_URI="https://github.com/shundhammer/qdirstat/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +
46 +DEPEND="
47 + dev-qt/qtgui:5
48 + dev-qt/qtcore:5
49 + dev-qt/qtwidgets:5
50 + sys-libs/zlib
51 +"
52 +
53 +RDEPEND="
54 + ${DEPEND}
55 + dev-lang/perl
56 + dev-perl/URI
57 +"
58 +
59 +src_prepare() {
60 + default
61 +
62 + # Fix QA warning about incorrect use of doc path
63 + sed -e "/doc.path/s/${PN}/${PF}/" -i doc/doc.pro doc/stats/stats.pro || die
64 +}
65 +
66 +src_configure() {
67 + eqmake5
68 +}
69 +
70 +src_install() {
71 + emake INSTALL_ROOT="${ED}" install
72 +}
73 +
74 +pkg_postinst() {
75 + xdg_desktop_database_update
76 + xdg_icon_cache_update
77 +}
78 +
79 +pkg_postrm() {
80 + xdg_desktop_database_update
81 + xdg_icon_cache_update
82 +}