commit: 3b45b31ec49092beb01f5f34a124f3ad26f8b291 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Mar 7 11:52:59 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Mar 7 11:53:18 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b45b31e
x11-misc/gtkdialog: Drop IUSE=gtk2, use BDEPEND (fix EAPI-7 port) Bug: https://bugs.gentoo.org/769131 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> x11-misc/gtkdialog/gtkdialog-99999.ebuild | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild index bea5590a20b..c23bccd2c83 100644 --- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild +++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild @@ -1,35 +1,31 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools git-r3 xdg-utils -DESCRIPTION="A small utility for fast and easy GUI building" +DESCRIPTION="Small utility for fast and easy GUI building" HOMEPAGE="https://github.com/oshazard/gtkdialog" EGIT_REPO_URI="https://github.com/oshazard/gtkdialog" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="gtk2" +IUSE="" RDEPEND=" - gtk2? ( - x11-libs/gtk+:2 - x11-libs/vte:0= - ) - !gtk2? ( - x11-libs/gtk+:3 - x11-libs/vte:2.91= - ) + x11-libs/gtk+:3 + x11-libs/vte:2.91= " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" sys-apps/texinfo sys-devel/flex virtual/pkgconfig virtual/yacc " + PATCHES=( "${FILESDIR}"/${PN}-0.8.3-fno-common.patch "${FILESDIR}"/${PN}-0.8.3-do_variables_count_widgets.patch @@ -41,8 +37,7 @@ src_prepare() { } src_configure() { - econf \ - $(usex gtk2 --disable-gtk3 --enable-gtk3) + econf --enable-gtk3 } src_compile() {
