net-im/luoxu: fix querytrans unpack and require opencc 1.4

cargo_live_src_unpack no longer changes to ${S} since ::gentoo commit
0ed513f46179 ("cargo.eclass: cargo_live_src_unpack don't cd to ${S}"),
so the local S override no longer reached cargo fetch, which ran in
${WORKDIR}, found no Cargo.toml and died in src_unpack.

querytrans now pins opencc-rust 2.0.2, whose build.rs requires system
OpenCC >= 1.4.0, so raise the app-i18n/opencc floor to match.

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-11-15 23:18:36 +11:00
1 parent dc9d6b27a0
commit 01314f3399
1 file changed
+2 -2
+2 -2
View File
@@ -14,7 +14,7 @@ DESCRIPTION="A Telegram userbot to index Chinese and Japanese group contents"
HOMEPAGE="https://github.com/lilydjwg/luoxu"
LICENSE="GPL-3"
SLOT="0"
DEPEND="app-i18n/opencc:="
DEPEND=">=app-i18n/opencc-1.4.0:="
RDEPEND="
${DEPEND}
acct-group/luoxu
@@ -40,7 +40,7 @@ PATCHES=(
src_unpack() {
git-r3_src_unpack
# the Rust extension lives in a subdirectory
local S="${S}/querytrans"
cd "${S}/querytrans" || die
cargo_live_src_unpack
}