diff options
author | Jan Henke <Jan.Henke@taujhe.de> | 2022-02-28 18:04:57 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-03-04 11:49:48 +0200 |
commit | 62f63b17366ab590519f123355bc3f4a91e6c0b5 (patch) | |
tree | c05eb6ab00fd63157fe35f6156eda2c5bf732291 /dev-cpp | |
parent | dev-cpp/ms-gsl: Drop patch from live ebuild (diff) | |
download | gentoo-62f63b17366ab590519f123355bc3f4a91e6c0b5.tar.gz gentoo-62f63b17366ab590519f123355bc3f4a91e6c0b5.tar.bz2 gentoo-62f63b17366ab590519f123355bc3f4a91e6c0b5.zip |
dev-cpp/ms-gsl: Version bump 4.0.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jan Henke <Jan.Henke@taujhe.de>
Closes: https://github.com/gentoo/gentoo/pull/24380
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/ms-gsl/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/ms-gsl/ms-gsl-4.0.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-cpp/ms-gsl/Manifest b/dev-cpp/ms-gsl/Manifest index 978e15f0d169..c1e82bb88d4d 100644 --- a/dev-cpp/ms-gsl/Manifest +++ b/dev-cpp/ms-gsl/Manifest @@ -1 +1,2 @@ DIST ms-gsl-3.1.0.tar.gz 78196 BLAKE2B 32334891a11004a6919645814154fdb108a4582a00ac0002c0af9a524978cc8316bebb07192e260b800f462d5424c476fc22be59cca59c0f3d9d7606ab8c4181 SHA512 2916df9ee165fc803ffae0a56518f2ba92870e279984913ff591559e1459943c3ffbc1f5a0d819ad8233f0c9034012de3616aa4e10557d87c7285d8425d10696 +DIST ms-gsl-4.0.0.tar.gz 55846 BLAKE2B 4391f8865f8dc044e5a48826e84919df8e32fc80815a260e9c892aa6d155d278a9b7742c17e4455bcba3fc3164118c14ef160353913814ba48a83bc7de40c123 SHA512 7fa7446796c6bf82fb3bff09f86a69c446a27be528bef3b17c8bc5ad2f24d5cf86bdb3d3813ecb44726e8f395020180e97e41027330d1fbf545cc0f0b44aac29 diff --git a/dev-cpp/ms-gsl/ms-gsl-4.0.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-4.0.0.ebuild new file mode 100644 index 000000000000..969b4835f0ed --- /dev/null +++ b/dev-cpp/ms-gsl/ms-gsl-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Guideline Support Library implementation by Microsoft" +HOMEPAGE="https://github.com/Microsoft/GSL" +SRC_URI="https://github.com/Microsoft/GSL/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/GSL-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# header only library +RDEPEND="" +DEPEND="test? ( >=dev-cpp/gtest-1.9.0_pre20190607 )" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.0-disable_Werror-644042.patch" +) + +src_configure() { + local mycmakeargs=( + -DGSL_TEST=$(usex test) + ) + cmake_src_configure +} |