*/*: fix some QA issues

dev-python/pyrime: add python_test()
app-shells/manpager: disable app-text/manpager
dev-python/pyrime: add use flags
app-misc/tmux-rime: support CFLAGS, CXXFLAGS, LDFLAGS
app-misc/tmux-rime: don't call cc, ld directly

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Wu, Zhenyu
2024-11-11 17:36:41 +08:00
parent 396e01a453
commit 30174bba83
4 changed files with 24 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
inherit toolchain-funcs
DEPEND="
app-i18n/librime
dev-libs/glib
@@ -43,7 +45,9 @@ src_configure() {
ln -sf "$WORKDIR/xmake-repo-$_VERSION" "$HOME/.xmake/repositories/xmake-repo" || die
xmake g --network=private || die 'fail to set private network'
xmake f --verbose || die 'fail to increase verbosity'
xmake f --cflags="$CFLAGS" --cxxflags="$CXXFLAGS" --ldflags="$LDFLAGS" \
--cc="$(tc-getCC)" --cpp="$(tc-getCXX)" --ld="$(tc-getCC)" --verbose ||
die 'fail to config'
}
src_compile() {