dev-cpp/easyloggingpp: add 9.97.1

Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
Kostadin Shishmanov
2023-08-06 19:40:34 +03:00
parent 2d84358f05
commit f2edd8b7d5
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="C++ logging library"
HOMEPAGE="https://github.com/abumq/easyloggingpp"
SRC_URI="https://github.com/abumq/easyloggingpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="test? ( dev-cpp/gtest )"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/disable-failing-tests.patch"
)
src_configure() {
local mycmakeargs+=(
-Dtest=$(usex test ON OFF)
)
cmake_src_configure
}