summaryrefslogtreecommitdiff
path: root/dev-cpp/trompeloeil
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-cpp/trompeloeil
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-cpp/trompeloeil')
-rw-r--r--dev-cpp/trompeloeil/Manifest2
-rw-r--r--dev-cpp/trompeloeil/metadata.xml8
-rw-r--r--dev-cpp/trompeloeil/trompeloeil-47.ebuild38
-rw-r--r--dev-cpp/trompeloeil/trompeloeil-49.ebuild38
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-cpp/trompeloeil/Manifest b/dev-cpp/trompeloeil/Manifest
new file mode 100644
index 000000000000..269ac5a91aac
--- /dev/null
+++ b/dev-cpp/trompeloeil/Manifest
@@ -0,0 +1,2 @@
+DIST trompeloeil-47.tar.gz 319940 BLAKE2B 2ea8bf5f5a730c637742aded374bb4c09b7ed1972a88dcd3aec0784559b72f3938269fb9c898934bc6eb69ff543249b70e6e2eb596860940a5d37c97192fa20f SHA512 e29d5424318c9d09adfa37767a5ad2cc074a01d5bb12eb832868d2bf54e67f12310a47b0887b1a6c62eebcdddf4155d940a37a8c93c3547742d91a3ce857dd69
+DIST trompeloeil-49.tar.gz 336774 BLAKE2B b6e5807f43becc27ea6cee6614485cf537c81eb12dee92e47800470673f7b912a20d30318e6c1bb3abc5a7f3013db89b60bea36962f8694305d5e807b46d8ad0 SHA512 f1a7212eacfb79f73cea075a147066b4cb10da76a6826e4594c29412395ae69647bb852d12936dd3f9b5c5a7f0aad3ebae246fdfb4006072c39b1efcd51876f5
diff --git a/dev-cpp/trompeloeil/metadata.xml b/dev-cpp/trompeloeil/metadata.xml
new file mode 100644
index 000000000000..17534979d593
--- /dev/null
+++ b/dev-cpp/trompeloeil/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">rollbear/trompeloeil</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-cpp/trompeloeil/trompeloeil-47.ebuild b/dev-cpp/trompeloeil/trompeloeil-47.ebuild
new file mode 100644
index 000000000000..321a69ff5593
--- /dev/null
+++ b/dev-cpp/trompeloeil/trompeloeil-47.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2023-2024 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
+}
diff --git a/dev-cpp/trompeloeil/trompeloeil-49.ebuild b/dev-cpp/trompeloeil/trompeloeil-49.ebuild
new file mode 100644
index 000000000000..16367a1bd05d
--- /dev/null
+++ b/dev-cpp/trompeloeil/trompeloeil-49.ebuild
@@ -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
+}