diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-16 21:23:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-16 21:23:20 +0100 |
commit | fab849d1daed0ba7f2ac497d07985c3dbb692543 (patch) | |
tree | 10baa743a5340b42ad538dd19d48669ccac209b1 /dev-libs/msgpack | |
parent | 73c318acdaf6f8309d68bd266051e6dd1f1bd787 (diff) |
gentoo resync : 16.06.2019
Diffstat (limited to 'dev-libs/msgpack')
-rw-r--r-- | dev-libs/msgpack/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/msgpack/msgpack-3.2.0.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-libs/msgpack/Manifest b/dev-libs/msgpack/Manifest index 81d8a1fda88f..bd8b40661767 100644 --- a/dev-libs/msgpack/Manifest +++ b/dev-libs/msgpack/Manifest @@ -3,6 +3,8 @@ AUX msgpack-1.0.0-static.patch 1324 BLAKE2B eb133b5bd2a344b5029dc1ed6a6ec1654e6f AUX msgpack-1.1.0-gcc6.patch 900 BLAKE2B 770cce3486efe6b402a5d8a54c317cc31e603a34ece09bc10182e12d8970e34f06d03b94e744be5607ba9b09c5ae9873e0ead71eae87c761344bd041bbb4ecaf SHA512 be88e6f2119ded151af8334315c40027967603240158f0a1ab0aadbfdd0e8a04df13aecc9ed26135d6684a0f40f627727635c032722108bb4a63a68d8eed789b DIST msgpack-1.1.0.tar.gz 493551 BLAKE2B 3ee162fcba5ae61c7c69945a567ac4d39526e7941f42cc2ed55bc5885b823af84eea212c4e75e8e8583e8ea8a5e12f75e969409193c5e7273430e2e02d33a02c SHA512 6823fab090c2146f871a45736c29b8f81434f0d72c597ebea2e947e4a9a17554e163bc88fbbc3dd0805b2ef0df029b10ca30c09dfbd1111252b9861a1e373901 DIST msgpack-3.1.1.tar.gz 495858 BLAKE2B a99b7edb2a6de80e018d5c4084ea199518e34045a6293c622c8690147ae353abdb63856eb031962a02ce20903d4443ec2b01a3c033e756c339f8674ff801d4c3 SHA512 cc634ef38b3844bf994159024441fe72d99055c42b0a4d81245b0629fd1f3147587eb36537cfb85e4cae2edc1dc23d7fa400022efa5a10dca295f9a6acd38346 +DIST msgpack-3.2.0.tar.gz 499188 BLAKE2B 6e5fd59a96ca726d3429b173b3db4c74163eaf6d314b289845237b6ace6208478dbbbb60397c630d515f6f6eed344b74f76225d1a4ca143b91ebb9b3a1369c14 SHA512 f3d011adfaa71b3c5d5f3eb43f0addbd461ae82b8ac22f367ddba7ef762d3bea500477501cf394d1770f0c47809bc363fc1088819ecfdfa668e93529885f4b88 EBUILD msgpack-1.1.0.ebuild 1038 BLAKE2B a5b595b557661b2f40b0f71d7281edaedafda8b1e7fa7364e65c2944cb7088cf4bc459cd982e337e3a5f5437552f250deb67036d0f08fdb8c95542af22eae7f2 SHA512 f8a2cd1e834721bd20fbd37460cec314b23f7ac0d9b506f1a77efe7bbcedb62cfee0fa59308d10272906eb9c36a6aeb43abf5c030f0b05ad6626c283ed8a00e3 EBUILD msgpack-3.1.1.ebuild 1700 BLAKE2B 77629aa7b803c62713ec0291f6501628432ea52800aadeffea6443f0466abb372703842a2cac930a69233f241c61ad0a3f6152ea8bdd108f3f8da7f2150eb309 SHA512 5d5c958915bd61df6d8177af5f0ec5b3f708688c98c9b95381248a14efb86805efb1eb58f705439e5662aefc67d67ab248d31addd3822a7582011d1733d3d26e +EBUILD msgpack-3.2.0.ebuild 1700 BLAKE2B 64ebbcd3d4e712b7e0ecc05c12eace9fa9677c84d00008952719607cb70f18fc24c8bffb48337fc92ae11b6ab26fcacf13b45ead7405d3d58090c00d4655e829 SHA512 423593fddfb9209789253d54082eb72ead50ceeba2c6c7a672e4007d78d9af3323bf7b18fb26d59b62754fc4bf5964fb48a8e9c7a9f6eccfb58090bdc3486fdb MISC metadata.xml 409 BLAKE2B 7656515e9cbf76555dd77ba3350bfc3720d685f061aa2a4c9ef793c7d0eb0dcf327bd707f00a01b0d2be706ec79d62778cf7266998457a62f4291ccb1a5de194 SHA512 f56436ccd3ab6d2d5cf453e4eaeb8e3b79cd8d89a73c1c0ff17c2a47b1802641b20e41d75a12ea161f0a47e0236c84425a02cf8bb16e4b9d5b406fba4d2f1ec1 diff --git a/dev-libs/msgpack/msgpack-3.2.0.ebuild b/dev-libs/msgpack/msgpack-3.2.0.ebuild new file mode 100644 index 000000000000..a4bf98c62275 --- /dev/null +++ b/dev-libs/msgpack/msgpack-3.2.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-multilib + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}-c.git" +else + SRC_URI="https://github.com/${PN}/${PN}-c/releases/download/cpp-${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="MessagePack is a binary-based efficient data interchange format" +HOMEPAGE="https://msgpack.org/ https://github.com/msgpack/msgpack-c/" + +LICENSE="Boost-1.0" +SLOT="0/2" +IUSE="boost +cxx doc examples static-libs test" + +RDEPEND="boost? ( dev-libs/boost[context,${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + test? ( + >=dev-cpp/gtest-1.6.0-r2[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + ) + doc? ( app-doc/doxygen[dot] ) +" + +src_configure() { + local mycmakeargs=( + -DMSGPACK_BOOST="$(usex boost)" + -DMSGPACK_ENABLE_CXX="$(usex cxx)" + -DMSGPACK_ENABLE_STATIC="$(usex static-libs)" + -DMSGPACK_BUILD_TESTS="$(usex test)" + # don't build the examples + -DMSGPACK_BUILD_EXAMPLES=OFF + # enable C++11 by default + -DMSGPACK_CXX11=ON + ) + cmake-multilib_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile + + if multilib_is_native_abi && use doc; then + cmake-utils_src_make doxygen + fi +} + +multilib_src_install() { + if multilib_is_native_abi; then + if use doc; then + local HTML_DOCS=( "${BUILD_DIR}"/docs/. ) + + mkdir docs || die + mv doc_c/html docs/c || die + + use cxx && mv doc_cpp/html docs/cpp || die + fi + + if use examples; then + docinto examples + + dodoc -r "${WORKDIR}/${P}/example/." + + docompress -x /usr/share/doc/${PF}/examples + fi + fi + + cmake-utils_src_install +} |