--- /usr/portage/app-admin/gtkdiskfree/gtkdiskfree-2.0.3.ebuild 2017-03-01 18:35:46.000000000 +0100 +++ /mnt/gentoo/overlay/sam/app-admin/gtkdiskfree/gtkdiskfree-2.0.3.ebuild 2018-09-13 14:54:22.778399526 +0200 @@ -1,18 +1,16 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 - -inherit vcs-snapshot +EAPI=7 DESCRIPTION="Graphical tool to show free disk space like df" HOMEPAGE="https://gitlab.com/mazes_80/gtkdiskfree" -SRC_URI="https://gitlab.com/mazes_80/${PN}/repository/archive.tar.bz2?ref=${PV} -> ${P}.tar.bz2" +SRC_URI="https://gitlab.com/mazes_80/${PN}/-/archive/${PV}/${P}.tar.bz2" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="gtk2" +IUSE="gtk2 old-color-selector" RDEPEND=" gtk2? ( x11-libs/gtk+:2 ) @@ -24,5 +22,6 @@ " src_configure() { - econf $(use_with gtk2) + econf $(use_with gtk2) \ + $(! use gtk2 && use_enable old-color-selector) }