commit: a28783c5c768c1dc17399c99e98075ebfba5315e
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 7 10:22:26 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Feb 7 11:14:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28783c5
dev-libs/mmtf-cpp: fix msgpack dependency
The upstream README states clearly "You need the headers of the
MessagePack C++ library", meaning we should depend either on
dev-libs/msgpack[cxx] or, for newer msgpack, on dev-cpp/msgpack-cxx.
Note that since msgpack upstream renamed the relevant CMake package from
"msgpack" to "msgpackc-cxx" in version 5.0.0, src_configure() can complain.
This is harmless though, as the presence or absence of msgpack C++
headers at build time does not affect runtime operation of mmtf-cpp.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
.../mmtf-cpp/{mmtf-cpp-1.1.0.ebuild => mmtf-cpp-1.1.0-r1.ebuild} | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild
b/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild
similarity index 80%
rename from dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild
rename to dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild
index c31d0595eb2f..909f0a52da9a 100644
--- a/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild
+++ b/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,8 +12,6 @@ SRC_URI="https://github.com/rcsb/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
-DEPEND="dev-libs/msgpack"
+DEPEND="|| ( dev-cpp/msgpack-cxx dev-libs/msgpack[cxx(-)] )"
RDEPEND="${DEPEND}"
-BDEPEND=""