1 |
commit: d6404e990970ba7afb5ee20c38ff1d1752565f45 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jul 12 09:14:06 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 15 11:50:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6404e99 |
7 |
|
8 |
sys-fs/treesize: EAPI7, improve ebuild |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/9197 |
11 |
|
12 |
sys-fs/treesize/files/0.54.1-amd64.patch | 4 ++-- |
13 |
sys-fs/treesize/treesize-0.54.1-r1.ebuild | 24 ++++++++++++++++++++++++ |
14 |
2 files changed, 26 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sys-fs/treesize/files/0.54.1-amd64.patch b/sys-fs/treesize/files/0.54.1-amd64.patch |
17 |
index d7d9d787ad3..c03df8a258e 100644 |
18 |
--- a/sys-fs/treesize/files/0.54.1-amd64.patch |
19 |
+++ b/sys-fs/treesize/files/0.54.1-amd64.patch |
20 |
@@ -1,5 +1,5 @@ |
21 |
---- src/ui-util.c 2007-11-16 22:08:01.000000000 +0100 |
22 |
-+++ src/ui-util.c.new 2009-05-09 11:34:59.000000000 +0200 |
23 |
+--- a/src/ui-util.c 2007-11-16 22:08:01.000000000 +0100 |
24 |
++++ b/src/ui-util.c 2009-05-09 11:34:59.000000000 +0200 |
25 |
@@ -18,6 +18,7 @@ |
26 |
|
27 |
#include "ui-util.h" |
28 |
|
29 |
diff --git a/sys-fs/treesize/treesize-0.54.1-r1.ebuild b/sys-fs/treesize/treesize-0.54.1-r1.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..b80f570f87e |
32 |
--- /dev/null |
33 |
+++ b/sys-fs/treesize/treesize-0.54.1-r1.ebuild |
34 |
@@ -0,0 +1,24 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit autotools |
41 |
+ |
42 |
+DESCRIPTION="A disk consumption analyzing tool" |
43 |
+HOMEPAGE="http://treesize.sourceforge.net/" |
44 |
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tbz2" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+RDEPEND="x11-libs/gtk+:2" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+PATCHES=( "${FILESDIR}/${PV}-amd64.patch" ) |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ eautoreconf |
58 |
+} |