2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="libfmt"
|
2022-11-01 10:04:06 +00:00
|
|
|
PKG_VERSION="9.1.0"
|
|
|
|
PKG_SHA256="5dea48d1fcddc3ec571ce2058e13910a0d4a6bab4cc09a809d8b1dd1c88ae6f2"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="BSD"
|
|
|
|
PKG_SITE="https://github.com/fmtlib/fmt"
|
2022-11-01 10:04:06 +00:00
|
|
|
PKG_URL="https://github.com/fmtlib/fmt/archive/${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="fmt is an open-source formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams."
|
|
|
|
|
2022-11-01 10:04:06 +00:00
|
|
|
PKG_CMAKE_OPTS_TARGET="-DCMAKE_CXX_STANDARD=14 \
|
|
|
|
-DCMAKE_CXX_EXTENSIONS:BOOL=OFF \
|
|
|
|
-DFMT_DOC=OFF \
|
|
|
|
-DFMT_INSTALL=ON \
|
|
|
|
-DFMT_TEST=OFF \
|
|
|
|
-DBUILD_SHARED_LIBS=ON"
|