summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-07 12:52:59 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-07 12:53:18 +0100
commit3b45b31ec49092beb01f5f34a124f3ad26f8b291 (patch)
tree3a785a198ccb525d93e91580e3f13070b0a678cc
parentnet-misc/rsync: Drop unused file (diff)
downloadgentoo-3b45b31ec49092beb01f5f34a124f3ad26f8b291.tar.gz
gentoo-3b45b31ec49092beb01f5f34a124f3ad26f8b291.tar.bz2
gentoo-3b45b31ec49092beb01f5f34a124f3ad26f8b291.zip
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>
-rw-r--r--x11-misc/gtkdialog/gtkdialog-99999.ebuild25
1 files changed, 10 insertions, 15 deletions
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
index bea5590a20b3..c23bccd2c836 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() {