net-im/nheko: Move dependencies to build dir in src_prepare()
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2021-12-30 00:09:09 +01:00
parent 373ccd0ebc
commit 33f2b5f139
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 4 deletions

View File

@ -70,14 +70,14 @@ src_prepare() {
sed -Ei '/GIT_(REPOSITORY|TAG)/d' CMakeLists.txt || die
sed -Ei '/GIT_(REPOSITORY|TAG)/d' ../mtxclient.git/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
mkdir -p "${WORKDIR}/${P}_build/_deps" || die
mv ../mtxclient.git "${WORKDIR}/${P}_build/_deps/matrixclient-src" || die
mv ../coeurl.git "${WORKDIR}/${P}_build/_deps/coeurl-src" || die
cmake_src_prepare
}
src_configure() {
local -a mycmakeargs=(
"-DUSE_BUNDLED_MTXCLIENT=ON"
"-DUSE_BUNDLED_COEURL=ON"