mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-cpp/easyloggingpp: new package, add 9.97.0
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
32
dev-cpp/easyloggingpp/easyloggingpp-9.97.0.ebuild
Normal file
32
dev-cpp/easyloggingpp/easyloggingpp-9.97.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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}/0001-Switch-CMake-build-system-from-C-11-to-C-14.patch"
|
||||
"${FILESDIR}/disable-failing-tests.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs+=(
|
||||
-Dtest=$(usex test ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user