mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 21:47:44 +00:00
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@gentoo.org>
17 lines
492 B
Bash
17 lines
492 B
Bash
# Copyright 2019-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="The pure C++ implementation of the MMTF API, decoder and encoder"
|
|
HOMEPAGE="https://github.com/rcsb/mmtf-cpp"
|
|
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"
|
|
|
|
DEPEND="|| ( dev-cpp/msgpack-cxx dev-libs/msgpack[cxx(-)] )"
|
|
RDEPEND="${DEPEND}"
|