Install this version:
emerge -a =x11-apps/xkb-switch-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =x11-apps/xkb-switch-9999
Or alternatively:
emerge --autounmask-write -a =x11-apps/xkb-switch-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
DESCRIPTION="Switch your X keyboard layouts from the command line"
HOMEPAGE="https://github.com/ierton/xkb-switch"
EGIT_REPO_URI="https://github.com/ierton/xkb-switch"
LICENSE="GPL-3"
SLOT="0"
DEPEND="x11-libs/libxkbfile"
RDEPEND="${DEPEND}"
src_prepare() {
# multilib-strict
sed -i -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" CMakeLists.txt
cmake_src_prepare
}