mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
dev-cpp/trompeloeil: add 49
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST trompeloeil-47.tar.gz 319940 BLAKE2B 2ea8bf5f5a730c637742aded374bb4c09b7ed1972a88dcd3aec0784559b72f3938269fb9c898934bc6eb69ff543249b70e6e2eb596860940a5d37c97192fa20f SHA512 e29d5424318c9d09adfa37767a5ad2cc074a01d5bb12eb832868d2bf54e67f12310a47b0887b1a6c62eebcdddf4155d940a37a8c93c3547742d91a3ce857dd69
|
||||
DIST trompeloeil-49.tar.gz 336774 BLAKE2B b6e5807f43becc27ea6cee6614485cf537c81eb12dee92e47800470673f7b912a20d30318e6c1bb3abc5a7f3013db89b60bea36962f8694305d5e807b46d8ad0 SHA512 f1a7212eacfb79f73cea075a147066b4cb10da76a6826e4594c29412395ae69647bb852d12936dd3f9b5c5a7f0aad3ebae246fdfb4006072c39b1efcd51876f5
|
||||
|
||||
38
dev-cpp/trompeloeil/trompeloeil-49.ebuild
Normal file
38
dev-cpp/trompeloeil/trompeloeil-49.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 2023-2026 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 )"
|
||||
|
||||
BDEPEND="test? ( >=dev-cpp/catch-2:0 )"
|
||||
|
||||
src_prepare() {
|
||||
# bug #947154
|
||||
sed -i '/-Werror/d' test/CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DTROMPELOEIL_BUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_src_test
|
||||
|
||||
"${BUILD_DIR}"/test/self_test || die
|
||||
}
|
||||
Reference in New Issue
Block a user