From 570f45f3c6851642c4e04450f95799a321b31cb2 Mon Sep 17 00:00:00 2001 From: lxh Date: Thu, 7 Nov 2024 18:53:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?cppjieba=E5=BA=93=E7=9A=84hpkbuild=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83=E6=95=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lxh --- thirdparty/cppjieba/HPKBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/thirdparty/cppjieba/HPKBUILD b/thirdparty/cppjieba/HPKBUILD index 4b35f889..1e2136c8 100644 --- a/thirdparty/cppjieba/HPKBUILD +++ b/thirdparty/cppjieba/HPKBUILD @@ -23,7 +23,7 @@ archs=("armeabi-v7a" "arm64-v8a") license=("The MIT License") depends=() makedepends=() -source="https://codeload.github.com/yanyiwu/$pkgname/zip/refs/tags/$pkgver" +source="https://gitee.com/lycium_pkg_mirror/$pkgname/zip/refs/tags/$pkgver" buildtools="cmake" autounpack=false @@ -56,8 +56,9 @@ prepare() { build() { cd $builddir - ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" -DOHOS_ARCH=$ARCH -B$ARCH-build -S./ -L > $buildlog 2>&1 - $MAKE -C $ARCH-build > $buildlog 2>&1 + PKG_CONFIG_LIBDIR="${pkgconfigpath}" ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" \ + -DOHOS_ARCH=$ARCH -B$ARCH-build -S./ -L > $buildlog 2>&1 + $MAKE VERBOSE=1 -C $ARCH-build > $buildlog 2>&1 ret=$? cd $OLDPWD return $ret -- Gitee From f20a37d34879cfa7a7764c1d6f510e2ea18581ef Mon Sep 17 00:00:00 2001 From: lxh Date: Mon, 11 Nov 2024 09:14:44 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=20thirdparty/cppjieba/HPKBUILD.=20?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=BB=8Egitee=E5=B9=B3=E5=8F=B0git=20clone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lxh --- thirdparty/cppjieba/HPKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/cppjieba/HPKBUILD b/thirdparty/cppjieba/HPKBUILD index 1e2136c8..20e0f184 100644 --- a/thirdparty/cppjieba/HPKBUILD +++ b/thirdparty/cppjieba/HPKBUILD @@ -36,7 +36,7 @@ source envset.sh prepare() { if $cloneFlag then - git clone --branch v5.1.0 https://github.com/yanyiwu/$pkgname.git > $publicbuildlog 2>&1 + git clone --branch v5.1.0 https://gitee.com/lycium_pkg_mirror/$pkgname.git > $publicbuildlog 2>&1 ret=$? if [ $ret -ne 0 ]; then return $ret -- Gitee