Install this version:
emerge -a =dev-libs/keybinder-0.3.2-r300
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/keybinder-0.3.2-r300
Or alternatively:
emerge --autounmask-write -a =dev-libs/keybinder-0.3.2-r300
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.3.2-r300 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 | 3 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_P=${PN}-3.0-${PV}
DESCRIPTION="A library for registering global keyboard shortcuts"
HOMEPAGE="https://github.com/kupferlauncher/keybinder/"
SRC_URI="
https://github.com/kupferlauncher/keybinder/releases/download/${PN}-3.0-v${PV}/${MY_P}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="3"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="+introspection"
DEPEND="
x11-libs/gtk+:3[X]
x11-libs/libX11
x11-libs/libXext
x11-libs/libXrender
"
RDEPEND="
${DEPEND}
"
BDEPEND="
virtual/pkgconfig
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 )
"
src_configure() {
local myconf=(
$(use_enable introspection)
)
econf "${myconf[@]}"
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}
pkg_preinst() {
# remove old symlink as otherwise the files will be installed
# in the wrong directory
if [[ -h ${EROOT}/usr/share/gtk-doc/html/keybinder-3.0 ]]; then
rm "${EROOT}/usr/share/gtk-doc/html/keybinder-3.0" || die
fi
}
Manage flags for this package:
euse -i <flag> -p dev-libs/keybinder |
euse -E <flag> -p dev-libs/keybinder |
euse -D <flag> -p dev-libs/keybinder
x11-libs/gtk+:3[X] x11-libs/libX11 x11-libs/libXext x11-libs/libXrender
x11-libs/gtk+:3[X] x11-libs/libX11 x11-libs/libXext x11-libs/libXrender
virtual/pkgconfig introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 )