From c790c691855f4f946db012d103b104b802953aff Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 16 Oct 2021 19:37:50 +0200 Subject: x11-misc/kbdd: update EAPI 5 -> 7 Closes: https://bugs.gentoo.org/669674 Signed-off-by: David Seifert --- x11-misc/kbdd/files/kbdd-0.7.1-AM_PROG_AR.patch | 10 ++++++++++ x11-misc/kbdd/kbdd-0.7.1.ebuild | 22 +++++++++++++--------- 2 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 x11-misc/kbdd/files/kbdd-0.7.1-AM_PROG_AR.patch (limited to 'x11-misc/kbdd') diff --git a/x11-misc/kbdd/files/kbdd-0.7.1-AM_PROG_AR.patch b/x11-misc/kbdd/files/kbdd-0.7.1-AM_PROG_AR.patch new file mode 100644 index 000000000000..1715a7d2c6b7 --- /dev/null +++ b/x11-misc/kbdd/files/kbdd-0.7.1-AM_PROG_AR.patch @@ -0,0 +1,10 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -12,6 +12,7 @@ + # Checks for programs. + AC_PROG_CC + AC_PROG_RANLIB ++AM_PROG_AR + + #check for pkg-config + PKG_PROG_PKG_CONFIG diff --git a/x11-misc/kbdd/kbdd-0.7.1.ebuild b/x11-misc/kbdd/kbdd-0.7.1.ebuild index d6939d16bd4e..5914a9a50443 100644 --- a/x11-misc/kbdd/kbdd-0.7.1.ebuild +++ b/x11-misc/kbdd/kbdd-0.7.1.ebuild @@ -1,29 +1,33 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit autotools vcs-snapshot DESCRIPTION="Very simple layout switcher" HOMEPAGE="https://github.com/qnikst/kbdd" -SRC_URI="https://github.com/qnikst/kbdd/tarball/v${PV} -> ${PN}-${PV}.tar.gz" +SRC_URI="https://github.com/qnikst/kbdd/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="dbus" -DEPEND="dev-libs/glib:2= - x11-libs/libX11:0= +RDEPEND=" + dev-libs/glib:2 + x11-libs/libX11 dbus? ( - sys-apps/dbus:0= - >=dev-libs/dbus-glib-0.86:0= - ) -" -RDEPEND="${DEPEND}" + sys-apps/dbus + dev-libs/dbus-glib + )" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/glib-utils" #669674 + +PATCHES=( "${FILESDIR}"/${P}-AM_PROG_AR.patch ) src_prepare() { + default eautoreconf } -- cgit v1.2.3-65-gdbad