summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/edencommon/Manifest1
-rw-r--r--dev-cpp/edencommon/edencommon-2022.09.12.00.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-cpp/edencommon/Manifest b/dev-cpp/edencommon/Manifest
index 9a665e574a61..22a0c80efd19 100644
--- a/dev-cpp/edencommon/Manifest
+++ b/dev-cpp/edencommon/Manifest
@@ -4,3 +4,4 @@ DIST edencommon-2022.08.15.00.gh.tar.gz 142467 BLAKE2B e3d72f1ae5845db2c18003202
DIST edencommon-2022.08.22.00.gh.tar.gz 143598 BLAKE2B af33b9369c694a4649d27dfe66bae6a7442ff2cc241046b05dc71c98375dbfed9386ee3ef6f4f0f19252435e9579164c0826e4996078b43005de5ad751166ba9 SHA512 079ca724c7ce276586180940369709cabab187aac3e2e80cdec024b4ae9687158cd7888fa413a4e008dc68b725e690b0b0308a69c86c3bde036abfdcd2eaa168
DIST edencommon-2022.08.29.00.gh.tar.gz 143430 BLAKE2B a66bae35413097140b24c9313b12d55d52cbd98396ff1afacc751eb9752d4116ab19aeb9320dead5500189d74b4d91fdc09d9648fc6b5fbb55a706328488e7ef SHA512 6622c5de2dbff96717a345c82aaf9335745ed57262bb55c7a6704a68259ce81376ff0a2e9f3818ed1c1f08434da704f31fd4e3d8c48dd13646f0202e7564b2c7
DIST edencommon-2022.09.05.00.gh.tar.gz 143447 BLAKE2B 732963333a663b76c445076392f59de46dec6a94d8bec75252952c88eb748b3f9a62e9d10134c8c33525ad0b3c2c3d235b96bc65500de9a63d1042f1f7c9c528 SHA512 2110446ef109fc151d2d0d2d7eead283ced5ddc4ef4af3bea66d6aebf26c141a636bb03ee9e3f35ce7440373cb37858b748c39ddd14588513373ac7801600897
+DIST edencommon-2022.09.12.00.gh.tar.gz 143483 BLAKE2B 414060f4d43e16e92f654a0d5d74fede2621bf7f39b880588e3c172dca6cffc59c88de15ece3ce42e1860c351bdef16b1f4daa6ba4fa203aef91d714e43b63ea SHA512 3c6da5425228ada48510208978facfd9fd233e607be076f05c3f431a473098329b23a81609ac8c4766ecf16d8e887aa8667d76c4e48219f0ab61074dbe207333
diff --git a/dev-cpp/edencommon/edencommon-2022.09.12.00.ebuild b/dev-cpp/edencommon/edencommon-2022.09.12.00.ebuild
new file mode 100644
index 000000000000..5c158b468234
--- /dev/null
+++ b/dev-cpp/edencommon/edencommon-2022.09.12.00.ebuild
@@ -0,0 +1,41 @@
+# 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
+
+DESCRIPTION="Shared library for Watchman and Eden projects"
+HOMEPAGE="https://github.com/facebookexperimental/edencommon"
+SRC_URI="https://github.com/facebookexperimental/edencommon/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+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
+}