Install this version:
emerge -a =net-irc/lith-1.7.61
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-irc/lith-1.7.61
Or alternatively:
emerge --autounmask-write -a =net-irc/lith-1.7.61
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.7.61 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Multiplatform, mobile-focused WeeChat relay client"
HOMEPAGE="https://github.com/LithApp/lith"
SRC_URI="https://github.com/LithApp/lith/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Lith-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="dev-libs/qcoro
dev-libs/qtkeychain:=
dev-qt/qtbase:6[dbus,gui,network,widgets,xml]
dev-qt/qtdeclarative:6
dev-qt/qtmultimedia:6
dev-qt/qtwebsockets:6"
RDEPEND="${DEPEND}"
src_prepare() {
# The expectation predates upstream commit 5a04e2b055, which clips a long
# URL's path down to "/.../<file name>" on purpose.
sed -e '/void string_broken_url_result() {/a QSKIP("Stale expectation");' \
-i modules/Lith/Core/test/ProtocolTest.cpp || die
cmake_src_prepare
}
src_configure() {
# Release archives must not pick up the overlay checkout's Git metadata.
local -x GIT_CEILING_DIRECTORIES="${WORKDIR}"
local mycmakeargs=(
"-DLITH_VERSION=${PV}"
-DLITH_FEATURE_KEYCHAIN=ON
-DLITH_FORCE_LOCAL_PACKAGES_ONLY=ON
-DLITH_BUILD_TESTS="$(usex test)"
-Wno-dev
)
cmake_src_configure
}
src_test() {
local -x QT_QPA_PLATFORM=offscreen
cmake_src_test
}
Manage flags for this package:
euse -i <flag> -p net-irc/lith |
euse -E <flag> -p net-irc/lith |
euse -D <flag> -p net-irc/lith
dev-libs/qcoro dev-libs/qtkeychain:= dev-qt/qtbase:6[dbus,gui,network,widgets,xml] dev-qt/qtdeclarative:6 dev-qt/qtmultimedia:6 dev-qt/qtwebsockets:6
dev-libs/qcoro dev-libs/qtkeychain:= dev-qt/qtbase:6[dbus,gui,network,widgets,xml] dev-qt/qtdeclarative:6 dev-qt/qtmultimedia:6 dev-qt/qtwebsockets:6
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | lith-1.7.61.tar.gz | 8052879 bytes | https://github.com/LithApp/lith/archive/refs/tags/v1.7.61.tar.gz |