summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-10-16 19:37:50 +0200
committerDavid Seifert <soap@gentoo.org>2021-10-16 19:37:50 +0200
commitc790c691855f4f946db012d103b104b802953aff (patch)
treec56dbba78f3936202219743f9d6cdaf350aaf0ab /x11-misc/kbdd
parentx11-misc/fireflies: update EAPI 5 -> 8 (diff)
downloadgentoo-c790c691855f4f946db012d103b104b802953aff.tar.gz
gentoo-c790c691855f4f946db012d103b104b802953aff.tar.bz2
gentoo-c790c691855f4f946db012d103b104b802953aff.zip
x11-misc/kbdd: update EAPI 5 -> 7
Closes: https://bugs.gentoo.org/669674 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-misc/kbdd')
-rw-r--r--x11-misc/kbdd/files/kbdd-0.7.1-AM_PROG_AR.patch10
-rw-r--r--x11-misc/kbdd/kbdd-0.7.1.ebuild22
2 files changed, 23 insertions, 9 deletions
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
}