diff options
author | David Roman <davidroman96@gmail.com> | 2017-03-18 13:59:15 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-03-19 22:41:13 +1100 |
commit | 58c38553adce09d15230d1ce7ebd3b9b524c8bf6 (patch) | |
tree | 038780813a3cb3b23a544b3820af6f7ffacb69a2 /dev-libs/spdlog | |
parent | dev-libs/beignet: Always depend sys-devel/llvm:0 (diff) | |
download | gentoo-58c38553adce09d15230d1ce7ebd3b9b524c8bf6.tar.gz gentoo-58c38553adce09d15230d1ce7ebd3b9b524c8bf6.tar.bz2 gentoo-58c38553adce09d15230d1ce7ebd3b9b524c8bf6.zip |
dev-libs/spdlog: bump version to 0.12.0
Diffstat (limited to 'dev-libs/spdlog')
-rw-r--r-- | dev-libs/spdlog/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/spdlog/spdlog-0.12.0.ebuild | 34 | ||||
-rw-r--r-- | dev-libs/spdlog/spdlog-9999.ebuild | 11 |
3 files changed, 40 insertions, 6 deletions
diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest index daab870776b8..d4ddc6ab4b03 100644 --- a/dev-libs/spdlog/Manifest +++ b/dev-libs/spdlog/Manifest @@ -1 +1,2 @@ DIST spdlog-0.11.0.tar.gz 146346 SHA256 8c0f1810fb6b7d23fef70c2ea8b6fa6768ac8d18d6e0de39be1f48865e22916e SHA512 958d6301d6189dc8cfd2891fb746f1cd6e0b54da6296d334e6d969184772760d3ae67d622beb01b70b662c850f11b06424b12ef19204b569a664fbe99b6aecff WHIRLPOOL f8bafd46c4e7f7158a71fba07780c9c590693989adc46205c01556e3edd54482bbcd5b90a32255e6b3e0866f853c898edcfbbbec610f052d8bb641e587ddd40c +DIST spdlog-0.12.0.tar.gz 150599 SHA256 5cfd6a0b3182a88e1eb35bcb65a7ef9035140d7c73b16ba6095939dbf07325b9 SHA512 1353c3d29ec80d4466256c5ba5aaa1661ca672b352180328bbf70d339972afe28243eb0b86b390dfdd9c36515c16ff2e0c07793fbf11b4fe899fb54dc80d8d2a WHIRLPOOL 6f8f32f97411d82b358575fe81ce597bd1a23e7311c77e2f78e571279e62b66fe43903cfc8da1b005476dfc5ffff0f8708cc769ee57efe33228e4e051b4323fd diff --git a/dev-libs/spdlog/spdlog-0.12.0.ebuild b/dev-libs/spdlog/spdlog-0.12.0.ebuild new file mode 100644 index 000000000000..c3fad9652964 --- /dev/null +++ b/dev-libs/spdlog/spdlog-0.12.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Very fast, header only, C++ logging library." +HOMEPAGE="https://github.com/gabime/spdlog" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gabime/spdlog" +else + SRC_URI="https://github.com/gabime/spdlog/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DSPDLOG_BUILD_EXAMPLES=no + -DSPDLOG_BUILD_TESTING=$(usex test) + ) + + cmake-utils_src_configure + +} diff --git a/dev-libs/spdlog/spdlog-9999.ebuild b/dev-libs/spdlog/spdlog-9999.ebuild index 10ba2d584b15..4c9cf2286540 100644 --- a/dev-libs/spdlog/spdlog-9999.ebuild +++ b/dev-libs/spdlog/spdlog-9999.ebuild @@ -24,11 +24,10 @@ DEPEND="" RDEPEND="${DEPEND}" src_configure() { - local mycmakeargs=( -DSPDLOG_BUILD_EXAMPLES=no ) - if [[ ${PV} == *9999 ]]; then - mycmakeargs+=( -DSPDLOG_BUILD_TESTING=$(usex test) ) - else - mycmakeargs+=( -DSPDLOG_BUILD_TESTS=$(usex test) ) - fi + local mycmakeargs=( + -DSPDLOG_BUILD_EXAMPLES=no + -DSPDLOG_BUILD_TESTING=$(usex test) + ) + cmake-utils_src_configure } |