Install this version:
emerge -a =x11-libs/lain-9999-r100
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =x11-libs/lain-9999-r100
Or alternatively:
emerge --autounmask-write -a =x11-libs/lain-9999-r100
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..3} luajit )
inherit git-r3 lua-single
DESCRIPTION="Layouts, asynchronous widgets and utilities for Awesome WM"
HOMEPAGE="https://github.com/lcpz/lain"
EGIT_REPO_URI="${HOMEPAGE}.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="+curl test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
DEPEND="${LUA_DEPS}"
RDEPEND="${DEPEND}
x11-wm/awesome[${LUA_SINGLE_USEDEP}]
curl? ( net-misc/curl )
"
BDEPEND="virtual/pkgconfig
test? (
$(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]')
${RDEPEND}
)
"
src_test() {
busted --lua=${ELUA} lain-scm-1.rockspec || die
}
src_install() {
insinto $(lua_get_lmod_dir)/${PN}
doins -r {icons,layout,util,widget,*.lua}
einstalldocs
}
Manage flags for this package:
euse -i <flag> -p x11-libs/lain |
euse -E <flag> -p x11-libs/lain |
euse -D <flag> -p x11-libs/lain
x11-wm/awesome[] curl? ( net-misc/curl )
virtual/pkgconfig test? ( $(lua_gen_cond_dep 'dev-lua/busted[]') x11-wm/awesome[] curl? ( net-misc/curl ) )