app-i18n/librime: unbundle darts in 9999
The installed rime/dict/prism.h includes <darts.h>, which librime does not install, so plugins such as librime-lua fail to build without dev-libs/darts. Remove the bundled copy, build against dev-libs/darts, and keep it in RDEPEND for the installed headers. Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
3aef7562f8
commit
e2224482f1
1 file changed
+6
@@ -20,6 +20,7 @@ RDEPEND="
|
||||
app-i18n/opencc:=
|
||||
dev-cpp/yaml-cpp:=
|
||||
>=dev-libs/boost-1.74:=
|
||||
dev-libs/darts
|
||||
dev-libs/leveldb:=
|
||||
dev-libs/marisa
|
||||
"
|
||||
@@ -29,6 +30,11 @@ DEPEND="${RDEPEND}
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
rm include/darts.h || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr
|
||||
# https://bugs.gentoo.org/944741
|
||||
|
||||
Reference in new issue
Block a user