1 # Copyright 2022-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 # These must be bumped together:
18 DESCRIPTION="Facebook's branch of Apache Thrift (C++ bindings)"
19 HOMEPAGE="https://github.com/facebook/fbthrift"
20 SRC_URI="https://github.com/facebook/fbthrift/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
24 KEYWORDS="~amd64 ~arm64"
27 # See https://github.com/facebook/fbthrift/issues/628
33 ~dev-cpp/folly-${PV}:=
35 dev-cpp/glog:=[gflags]
36 ~dev-cpp/mvfst-${PV}:=
37 ~dev-cpp/wangle-${PV}:=
38 dev-libs/boost:=[nls(+)]
47 test? ( dev-cpp/gtest )
52 -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
53 -DLIB_INSTALL_DIR="$(get_libdir)"
54 -Denable_tests=$(usex test 'ON' 'OFF')