summaryrefslogtreecommitdiff
path: root/dev-cpp/cppdap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /dev-cpp/cppdap
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'dev-cpp/cppdap')
-rw-r--r--dev-cpp/cppdap/Manifest2
-rw-r--r--dev-cpp/cppdap/cppdap-0_pre20240802.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-cpp/cppdap/Manifest b/dev-cpp/cppdap/Manifest
index bedc0f1d2c09..aed7ddb0e28d 100644
--- a/dev-cpp/cppdap/Manifest
+++ b/dev-cpp/cppdap/Manifest
@@ -1,4 +1,6 @@
DIST cppdap-0_pre20230605.tar.gz 100715 BLAKE2B a7b6f745b7445242544deb2cd5b93bb13ee0faefe083a5e435d9a608fb453aceef1746738beb35678833f69521e637f2b8ca47fccd3e292a56e8a74c6435df86 SHA512 034f6282e992ec346715f84da1817a699937be174ab0ea09f750a693bed158b87ec6920e0ed1f7340ef5232e9634c5aebccd78527adde34b8abc4ff00c5f617e
+DIST cppdap-0_pre20240802.tar.gz 101733 BLAKE2B 18302d37493ab38b579b0a00756e18efbaa1620e705e2bb54b24ccb3388837ea8aed28c880b358b670006f84ccb7df036125d1c2f7bb210ba51fa0caebef0759 SHA512 2432c2b413d956661342555a50ab2ed4cdf86de5e7bbda0822a2e7359ad034a0b0150bb6b98dff0d1a3d64e89cd8de67a7a620dd4c9e220a7ed1f9f80e5a36e6
DIST cppdap-gtest-0a03480824b4fc7883255dbd2fd8940c9f81e22e.tar.gz 874709 BLAKE2B 706e6d168e080494ac63cf607c189f55f5e98100fd744dd184a8217173f66891aedb8779a9c8b0aa289889d1f73e18c50ef65d8c70228e2a795a5e5081f66894 SHA512 55867a2e39647a7846506446d642dcd740711dee8c0dfe25887fd6ad361161617f3d462bdb415dfba20693849949c022e97e2de65dd731cc63b9466edd1c8b87
EBUILD cppdap-0_pre20230605-r1.ebuild 1432 BLAKE2B 73b55cdc52822fc2b6f4a0af4ff7771927c90393d3fdd467e303caa2a5eb4cd71c2f95b41606e62f7e39112917fb888553226b7bee3849480c1787f5777be3dd SHA512 2eb49dcf1a932b9a8ccdd0aa777d57f01aac7a06a811a83354dde8b9ab0b213df80a72c3e68577d12211028342fa10521de7bc9a48282772af5d108298274730
+EBUILD cppdap-0_pre20240802.ebuild 1079 BLAKE2B ad944b06d388a8b0ca7b2134e909b4143ac097f760cd395bfacb07a64a73b340e377c93e0f329512d2293ed2baa2c50d6415dc0a9a6b501c7c1be6b4b0610112 SHA512 1e41befa4de233877d001e4aeb7685a61ec6abb58b6544885e514d37f0e0fa1492a9fb178edd533d366c936f966cc476784a697d98f7a47d43a4329d8c4859b2
MISC metadata.xml 336 BLAKE2B 1af53ad3c19922104b16ccdce9681ed7f3ec0b7629ff10864504f040e13d230668b945e912689dfab11ce3db908de1b57cf6a64ad5355b4ace02a81490cf3bed SHA512 15ccaee98d37b7fa915a9fd209cc9bdece01f3935714347ff8e261d66922a6bffd50df1017c75cedb0050883c7def7ad7d9d2f6ddd55116f7c8e73786d92af89
diff --git a/dev-cpp/cppdap/cppdap-0_pre20240802.ebuild b/dev-cpp/cppdap/cppdap-0_pre20240802.ebuild
new file mode 100644
index 000000000000..a590a1f1bc61
--- /dev/null
+++ b/dev-cpp/cppdap/cppdap-0_pre20240802.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# See https://github.com/google/cppdap/issues/113 re no release
+CPPDAP_COMMIT="c69444ed76f7468b232ac4f989cb8f2bdc100185"
+
+DESCRIPTION="C++ library for the Debug Adapter Protocol"
+HOMEPAGE="https://github.com/google/cppdap"
+SRC_URI="https://github.com/google/cppdap/archive/${CPPDAP_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${CPPDAP_COMMIT}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-cpp/nlohmann_json"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-cpp/gtest )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ # Per README, could use rapidjson or jsoncpp instead.
+ -DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON
+ -DCPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE=OFF
+ -DCPPDAP_USE_EXTERNAL_JSONCPP_PACKAGE=OFF
+
+ -DCPPDAP_BUILD_TESTS=$(usex test)
+ -DCPPDAP_USE_EXTERNAL_GTEST_PACKAGE=ON
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ cd "${BUILD_DIR}" || die
+ ./cppdap-unittests || die
+}