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@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2021-03-07 12:52:59 +01:00
parent 4fb88d1834
commit 3b45b31ec4

View File

@@ -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() {