Merge pull request #9219 from jernejsk/ninja

[LE13] Rework ninja build
This commit is contained in:
Rudi Heitbaum 2024-08-23 16:10:00 +10:00 committed by GitHub
commit 397194307c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 14 deletions

View File

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2024-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="googletest"
PKG_VERSION="1.14.0"
PKG_SHA256="8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7"
PKG_LICENSE="BSD-3-Clause"
PKG_SITE="https://github.com/google/googletest"
PKG_URL="https://github.com/google/googletest/archive/refs/tags/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="ccache:host cmake:host"
PKG_LONGDESC="Google Testing and Mocking Framework"
PKG_TOOLCHAIN="cmake-make"

View File

@ -8,9 +8,13 @@ PKG_SHA256="821bdff48a3f683bc4bb3b6f0b5fe7b2d647cf65d52aeb63328c91a6c6df285a"
PKG_LICENSE="Apache"
PKG_SITE="https://ninja-build.org/"
PKG_URL="https://github.com/ninja-build/ninja/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="Python3:host googletest:host"
PKG_DEPENDS_HOST="Python3:host"
PKG_LONGDESC="Small build system with a focus on speed"
PKG_TOOLCHAIN="cmake-make"
PKG_TOOLCHAIN="manual"
make_host() {
python3 ../configure.py --bootstrap
}
makeinstall_host() {
mkdir -p ${TOOLCHAIN}/bin