commit:     789f5dc958bc0e7fb0170b1694cec5551e1a0204
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 17:05:21 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 17:08:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789f5dc9

dev-cpp/edencommon: add 0_pre20220815

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/edencommon/Manifest                        |  1 +
 dev-cpp/edencommon/edencommon-0_pre20220815.ebuild | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-cpp/edencommon/Manifest b/dev-cpp/edencommon/Manifest
index 9e3cc214c845..86b134d5ccaf 100644
--- a/dev-cpp/edencommon/Manifest
+++ b/dev-cpp/edencommon/Manifest
@@ -1 +1,2 @@
 DIST edencommon-0_pre20220808.tar.gz 142458 BLAKE2B 
0dd501069bc511973e89b21b9dbdce7eeb0e87e31ecd05e585fe83c515894691a02e5725de8c912c4bd0fb70f4172445070ef8fec205243e1df9c35a3ccaffe4
 SHA512 
63f60e1c406d834cf618e2747c21f928e43fe2a475a97152070aecb61b11b5e515bdfd1c9571a93a159d91fa185c9f89caebe8d41421a94e636e8ff43fd11a3a
+DIST edencommon-0_pre20220815.tar.gz 142456 BLAKE2B 
64e2b8e155e56ff50ca348ae53f3e55e123b32816ec199cebf760dcd4b08da920b15b56aab1254a782d202b89e1d119a8180f7d5382da8a94f67752ecb6924db
 SHA512 
7263fb3f85c6142862eac9472c2de2ac94a2b3c5205e0d87ca2f6694d4ed3c5b9f2643c35266141e6bbbb1d45079a59cf5803de3065ef46a9a8d7f321b15bc99

diff --git a/dev-cpp/edencommon/edencommon-0_pre20220815.ebuild 
b/dev-cpp/edencommon/edencommon-0_pre20220815.ebuild
new file mode 100644
index 000000000000..2c1ede94a485
--- /dev/null
+++ b/dev-cpp/edencommon/edencommon-0_pre20220815.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# These must be bumped together:
+# dev-cpp/edencommon
+# dev-cpp/folly
+# dev-util/watchman
+
+inherit cmake
+
+# No proper tags yet 
(https://github.com/facebookexperimental/edencommon/issues/2)
+MY_COMMIT="ca22cf964f1163c2a198d7cd3545f0c9b04b3c75"
+DESCRIPTION="Shared library for Watchman and Eden projects"
+HOMEPAGE="https://github.com/facebookexperimental/edencommon";
+SRC_URI="https://github.com/facebookexperimental/edencommon/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${MY_COMMIT}
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="llvm-libunwind"
+
+RDEPEND="
+       dev-cpp/gflags:=
+       dev-cpp/glog:=[gflags]
+       dev-cpp/folly:=
+       llvm-libunwind? ( sys-libs/llvm-libunwind:= )
+       !llvm-libunwind? ( sys-libs/libunwind:= )
+"
+DEPEND="
+       ${RDEPEND}
+       dev-cpp/gtest
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
+               -DLIB_INSTALL_DIR="$(get_libdir)"
+       )
+
+       cmake_src_configure
+}

Reply via email to