mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user