Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/qdirstat/
Date: Thu, 19 Sep 2019 16:21:21
Message-Id: 1568908069.c707d9cb9f19868bff269ea9af8bd104aada42ca.juippis@gentoo
1 commit: c707d9cb9f19868bff269ea9af8bd104aada42ca
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Sat Sep 14 22:52:11 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 19 15:47:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c707d9cb
7
8 sys-apps/qdirstat: bump to version 1.6
9
10 Also bumped to EAPI=7 and added myself as maintainer.
11
12 Closes: https://bugs.gentoo.org/637400
13 Closes: https://bugs.gentoo.org/668742
14 Package-Manager: Portage-2.3.75, Repoman-2.3.17
15 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
16 Closes: https://github.com/gentoo/gentoo/pull/12927
17 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
18
19 sys-apps/qdirstat/Manifest | 1 +
20 sys-apps/qdirstat/metadata.xml | 10 ++++++-
21 sys-apps/qdirstat/qdirstat-1.6.ebuild | 53 +++++++++++++++++++++++++++++++++++
22 3 files changed, 63 insertions(+), 1 deletion(-)
23
24 diff --git a/sys-apps/qdirstat/Manifest b/sys-apps/qdirstat/Manifest
25 index 3dcad4c5289..7b2965fcf90 100644
26 --- a/sys-apps/qdirstat/Manifest
27 +++ b/sys-apps/qdirstat/Manifest
28 @@ -1 +1,2 @@
29 DIST qdirstat-1.4.tar.gz 2534241 BLAKE2B 70b84376a949ab3d74879bc78dac9d41c592ee9a4c60d27ad9d85ab09378f85a65209c78f7030f76e86e8e418803eef5ed1dadb07a1058ec38c13d753f6e3e61 SHA512 5711a78297f4224e4471ac14d8e42ee9ac746cc31315ff894dafa1db578eff4ff2a5c62edc525a49c523154a0de402f878200d96601c7924bf0273f0eac9ab74
30 +DIST qdirstat-1.6.tar.gz 6398935 BLAKE2B dba15df3f9dd34276ee38ccdd97d1b8158596198b22a807b4d0a68c7d33d146a25ef5b987c4a6e3dc16df421422ddc0cad2e9f60a80493ac668bcb023c15c31c SHA512 8d1350bc8995dac2de90a32ca5ddaac47a317c7e7044f39ed87a7b2e208cda0b84f04c147f7a2414d7a0c5c731479847a879aedcf5781ca772fbfa8fa360cc77
31
32 diff --git a/sys-apps/qdirstat/metadata.xml b/sys-apps/qdirstat/metadata.xml
33 index b811e95a6ae..b73ce0a34ae 100644
34 --- a/sys-apps/qdirstat/metadata.xml
35 +++ b/sys-apps/qdirstat/metadata.xml
36 @@ -1,7 +1,14 @@
37 <?xml version="1.0" encoding="UTF-8"?>
38 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
39 <pkgmetadata>
40 - <!-- maintainer-needed -->
41 + <maintainer type="person">
42 + <email>ck+gentoo@××××××××.de</email>
43 + <name>Conrad Kostecki</name>
44 + </maintainer>
45 + <maintainer type="project">
46 + <email>proxy-maint@g.o</email>
47 + <name>Proxy Maintainers</name>
48 + </maintainer>
49 <longdescription>
50 Qt-based directory statistics: KDirStat without any KDE -- from
51 the author of the original KDirStat.
52 @@ -15,6 +22,7 @@
53 and other Unix-like systems.
54 </longdescription>
55 <upstream>
56 + <bugs-to>https://github.com/shundhammer/qdirstat/issues</bugs-to>
57 <remote-id type="github">shundhammer/qdirstat</remote-id>
58 </upstream>
59 </pkgmetadata>
60
61 diff --git a/sys-apps/qdirstat/qdirstat-1.6.ebuild b/sys-apps/qdirstat/qdirstat-1.6.ebuild
62 new file mode 100644
63 index 00000000000..3a907d9e667
64 --- /dev/null
65 +++ b/sys-apps/qdirstat/qdirstat-1.6.ebuild
66 @@ -0,0 +1,53 @@
67 +# Copyright 1999-2019 Gentoo Authors
68 +# Distributed under the terms of the GNU General Public License v2
69 +
70 +EAPI=7
71 +
72 +inherit qmake-utils xdg-utils
73 +
74 +DESCRIPTION="Qt-based directory statistics"
75 +HOMEPAGE="https://github.com/shundhammer/qdirstat"
76 +SRC_URI="https://github.com/shundhammer/qdirstat/archive/${PV}.tar.gz -> ${P}.tar.gz"
77 +
78 +LICENSE="GPL-2"
79 +SLOT="0"
80 +KEYWORDS="~amd64 ~x86"
81 +
82 +DEPEND="
83 + dev-qt/qtgui:5
84 + dev-qt/qtcore:5
85 + dev-qt/qtwidgets:5
86 + sys-libs/zlib
87 +"
88 +
89 +RDEPEND="
90 + ${DEPEND}
91 + dev-lang/perl
92 + dev-perl/URI
93 +"
94 +
95 +src_prepare() {
96 + default
97 +
98 + # Fix QA warning about incorrect use of path
99 + sed -e "10s:/qdirstat:/${P}:" -i doc/doc.pro || die
100 + sed -e "10s:/qdirstat:/${P}:" -i doc/stats/stats.pro || die
101 +}
102 +
103 +src_configure() {
104 + eqmake5
105 +}
106 +
107 +src_install() {
108 + emake INSTALL_ROOT="${ED}" install
109 +}
110 +
111 +pkg_postinst() {
112 + xdg_desktop_database_update
113 + xdg_icon_cache_update
114 +}
115 +
116 +pkg_postrm() {
117 + xdg_desktop_database_update
118 + xdg_icon_cache_update
119 +}