sys-fs/treesize: EAPI7, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Thu, 12 Jul 2018 09:14:06 +0000 (11:14 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 15 Aug 2018 11:50:34 +0000 (13:50 +0200)
Closes: https://github.com/gentoo/gentoo/pull/9197

sys-fs/treesize/files/0.54.1-amd64.patch
sys-fs/treesize/treesize-0.54.1-r1.ebuild [new file with mode: 0644]

index d7d9d787ad3907b12e6cf1291a2fdc31708d26ed..c03df8a258e7a1515c90c5de9999fbcf738ead07 100644 (file)
@@ -1,5 +1,5 @@
---- src/ui-util.c      2007-11-16 22:08:01.000000000 +0100
-+++ src/ui-util.c.new  2009-05-09 11:34:59.000000000 +0200
+--- a/src/ui-util.c    2007-11-16 22:08:01.000000000 +0100
++++ b/src/ui-util.c    2009-05-09 11:34:59.000000000 +0200
 @@ -18,6 +18,7 @@
  
  #include "ui-util.h"
diff --git a/sys-fs/treesize/treesize-0.54.1-r1.ebuild b/sys-fs/treesize/treesize-0.54.1-r1.ebuild
new file mode 100644 (file)
index 0000000..b80f570
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="A disk consumption analyzing tool"
+HOMEPAGE="http://treesize.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PV}-amd64.patch" )
+
+src_prepare() {
+       default
+       eautoreconf
+}