dev-cpp/sprout: Replace 9999 version with pre_date

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michele Santullo <m.santullo@posteo.net>
This commit is contained in:
Michele Santullo
2020-05-06 14:55:07 +02:00
parent 7ea500ee12
commit 514a8aabd4
2 changed files with 7 additions and 3 deletions

View File

@@ -0,0 +1,37 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
COMMIT="6b5addba9face0a6403e66e7db2aa94d87387f61"
inherit cmake
DESCRIPTION="C++11/14 constexpr based Containers, Algorithms, Random numbers and others"
HOMEPAGE="http://bolero-murakami.github.io/Sprout/"
SRC_URI="https://github.com/bolero-MURAKAMI/Sprout/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Sprout-${COMMIT}"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test texconv wavconv"
RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
PATCHES=(
"${FILESDIR}"/optional_binaries.patch
)
src_configure() {
local mycmakeargs=(
-DBUILD_TESTS=$(usex test ON OFF)
-DWITH_TEXCONV=$(usex texconv ON OFF)
-DWITH_WAVCONV=$(usex wavconv ON OFF)
)
cmake_src_configure
}