dev-cpp/trompeloeil: add 47

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2024-04-27 15:11:43 +02:00
parent fc6817884f
commit 32185543cb
2 changed files with 31 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST trompeloeil-43.tar.gz 305074 BLAKE2B d101c537263b9a884ad62523dfda2ed07d49ec0f87ef6bd53dbf45f16127db358f4e50483e05981f66fd2516600b93b1f0c96cc3264c2609eb9b9d878d546ed3 SHA512 d897703cb10cdb59177d7585d626dc09d8f0698891c73bcfc8cb7c44df712433735feeabef6b4d6b224b061d004410aa454bfb0de0a403d573edb23f3422952f
DIST trompeloeil-47.tar.gz 319940 BLAKE2B 2ea8bf5f5a730c637742aded374bb4c09b7ed1972a88dcd3aec0784559b72f3938269fb9c898934bc6eb69ff543249b70e6e2eb596860940a5d37c97192fa20f SHA512 e29d5424318c9d09adfa37767a5ad2cc074a01d5bb12eb832868d2bf54e67f12310a47b0887b1a6c62eebcdddf4155d940a37a8c93c3547742d91a3ce857dd69

View File

@@ -0,0 +1,30 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Header only C++14 mocking framework"
HOMEPAGE="https://github.com/rollbear/trompeloeil"
SRC_URI="https://github.com/rollbear/trompeloeil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DTROMPELOEIL_BUILD_TESTS=$(usex test)
)
cmake_src_configure
}
src_test() {
cmake_src_test
"${BUILD_DIR}"/test/self_test || die
}