diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-21 18:52:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-21 18:52:40 +0000 |
commit | f29eb0598f62fc3b5f09f2de5a89c0437c6164d9 (patch) | |
tree | e33392cbdd10d91ad30cb2a65130c1fb1e5ca8ac /dev-libs/spdlog/spdlog-9999.ebuild | |
parent | 032a3dbb5d4ea63ec6c2ceb39c067ea6424b5792 (diff) |
gentoo resync : 21.01.2020
Diffstat (limited to 'dev-libs/spdlog/spdlog-9999.ebuild')
-rw-r--r-- | dev-libs/spdlog/spdlog-9999.ebuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/dev-libs/spdlog/spdlog-9999.ebuild b/dev-libs/spdlog/spdlog-9999.ebuild index f0b80109ac4a..060e167a8afd 100644 --- a/dev-libs/spdlog/spdlog-9999.ebuild +++ b/dev-libs/spdlog/spdlog-9999.ebuild @@ -10,9 +10,9 @@ HOMEPAGE="https://github.com/gabime/spdlog" if [[ ${PV} == *9999 ]]; then inherit git-r3 - EGIT_REPO_URI="https://github.com/gabime/spdlog" + EGIT_REPO_URI="https://github.com/gabime/${PN}" else - SRC_URI="https://github.com/gabime/spdlog/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/gabime/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi @@ -21,19 +21,25 @@ SLOT="0/1" IUSE="test" RESTRICT="!test? ( test )" +BDEPEND=" + virtual/pkgconfig +" DEPEND=" - >=dev-libs/libfmt-5.0.0 + >=dev-libs/libfmt-5.3.0:= " RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${PN}-9999-unbundle-fmt.patch" ) +src_prepare() { + cmake_src_prepare + rm -r include/spdlog/fmt/bundled || die "Failed to delete bundled libfmt" +} src_configure() { - rm -r include/spdlog/fmt/bundled || die - local mycmakeargs=( - -DSPDLOG_BUILD_EXAMPLE=no -DSPDLOG_BUILD_BENCH=no + -DSPDLOG_BUILD_EXAMPLE=no + -DSPDLOG_FMT_EXTERNAL=yes + -DSPDLOG_BUILD_SHARED=no -DSPDLOG_BUILD_TESTS=$(usex test) ) |