diff options
Diffstat (limited to 'dev-cpp/ms-gsl')
-rw-r--r-- | dev-cpp/ms-gsl/Manifest | 3 | ||||
-rw-r--r-- | dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild | 34 | ||||
-rw-r--r-- | dev-cpp/ms-gsl/ms-gsl-9999.ebuild | 35 |
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-cpp/ms-gsl/Manifest b/dev-cpp/ms-gsl/Manifest index 8d1dfba7625e..9754105339c4 100644 --- a/dev-cpp/ms-gsl/Manifest +++ b/dev-cpp/ms-gsl/Manifest @@ -1,5 +1,8 @@ AUX ms-gsl-1.0.0-disable_Werror-644042.patch 1110 BLAKE2B fd126ec96d9a378eb8489919c130a64da9548b712a6a01fea5256294dca39afce813013f78c1b43a251b5b7fbe8846493dd9860aea2b7578c39c2cf766247202 SHA512 eec47c7f4d28d7b14a3403d046dc111bb3ef9e02e9e797f74636f3f7d11bc865c94e246bd4f98d9f39540c66b751de0ca81d523be3d523017e94886ec474799b AUX ms-gsl-1.0.0-use_system_catch-636828.patch 559 BLAKE2B 899f98f0b3e9b0f04cf0db9e74931113ee1d5ef77d5e016df9969abc5ea02d6a90736fa3cb37b5f3cc6ec5b4092a2660f610f636386d5de3c6e6e9b61fce0501 SHA512 4bfd90b1567fa708d9c51c78edb51974aae9158f456077a305de5d7d279686d85e593bba5c2bae477eb50880f731626192765b6122db6afcd383596d1a1e00dc DIST ms-gsl-1.0.0.tar.gz 58920 BLAKE2B 46b71ec1fe57ec311a53895498c375c2313ed1f2858cd6b67d19d92ef10230707ce14fb757c00c92ea3475d787cda400cc449c34d54a54a3d0123f71b87b11ad SHA512 cde55df9540fd08ca8d29a74b2cff360686aa75b01ee1c48bd9782a2d70d1b6eae712a51eaf9b60453f859e466df00345b0a2893137d16490cea8ee54362f7da +DIST ms-gsl-2.0.0.tar.gz 64726 BLAKE2B ab40725aa38af7c5651e22ebf32d4bd9c27a10be2e206fd4c3c0173ad21da262beddef022b7b158653b185cfc3269f2b6e80d99fe65f601ffc3e770b143b03f8 SHA512 7339527222c8a97a94c0bb4038b3d142045ec5d80995e628574ac96f4d9d13c41ad70fbe0d8390586dc0db8d9ea55107dbc95de80f7335eb78ef9d2e7047d726 EBUILD ms-gsl-1.0.0.ebuild 740 BLAKE2B 064e283ba501e9fb3ad9dd3fd28576c4138ebab6d5c532cecbe6b416d3a468a96b9fcc94bddc6987562b3c9897c7623f874c2bd791568d59bf7fe2cb463756d7 SHA512 0f4ba6a3e412749c33ea001645cc3b43b4cc509ed9190e56201a9b2ad8f055431df55d7a2e77e85c2180fe542e4b60042e58618cb4840fd5187fdd2eda9201cd +EBUILD ms-gsl-2.0.0.ebuild 763 BLAKE2B ea4084bab54323b98d7481a8681593bcd604e0ced3009c9bae6505ceaaca786c42c85446e82db6cabf2868c36dfd7a6505b9f2c461ebc75a77f3a1371ab28f65 SHA512 8e1c5817b892378487686862ebbcf23d8e66e8477abef5374dbc388c99b627d1533374bd6e030c9256a505ac41eb596ffcae2d4a1afa2a00b354a0b98728dd53 +EBUILD ms-gsl-9999.ebuild 743 BLAKE2B d680d641bbbf771789823bc7cf5996b34c0e9f2135427b466f6166c613a068e05ef6c79a21d4f6aed334f01e3c8c128e6ae14b516164c4b2ef22ac7667dd9395 SHA512 fcd37e590c9bb6397032fd3d10d968d42db22cd4e8d063df3aac6fd972bbedbbe9fed5055b61d841ccf758fb274ae813e4fbd5b6d784022afd3f4950cface488 MISC metadata.xml 533 BLAKE2B 997b40261c13283f190b7fe70b87e9d42b2b05c267afdbfc1de3a7b56bfb968736fd1a1163abc723985919fd201048fc69905cdaa6d6e4a8f938bac42495d13e SHA512 01522dee3ebdbe7e5f533a64859c8f215f8653ab6d7775f1488efa9aa813840ae7c2112cd4865b007feb1a296f74aeac123389881608e169f5d0f417dacd7719 diff --git a/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild new file mode 100644 index 000000000000..c3af23471bc5 --- /dev/null +++ b/dev-cpp/ms-gsl/ms-gsl-2.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +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 ~x86" +IUSE="test" + +# header only library +RDEPEND="" +DEPEND="test? ( ~dev-cpp/catch-1.11.0 )" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.0-use_system_catch-636828.patch" + "${FILESDIR}/${PN}-1.0.0-disable_Werror-644042.patch" +) + +src_configure() { + local mycmakeargs=( + -DGSL_TEST=$(usex test) + ) + use test && mycmakeargs+=( -DFORCE_SYSTEM_CATCH=ON ) + cmake-utils_src_configure +} diff --git a/dev-cpp/ms-gsl/ms-gsl-9999.ebuild b/dev-cpp/ms-gsl/ms-gsl-9999.ebuild new file mode 100644 index 000000000000..d7c789086547 --- /dev/null +++ b/dev-cpp/ms-gsl/ms-gsl-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils git-r3 + +DESCRIPTION="Guideline Support Library implementation by Microsoft" +HOMEPAGE="https://github.com/Microsoft/GSL" +SRC_URI="" +EGIT_REPO_URI="https://github.com/Microsoft/GSL.git" + +S="${WORKDIR}/GSL-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="test" + +# header only library +RDEPEND="" +DEPEND="test? ( ~dev-cpp/catch-1.11.0 )" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.0-use_system_catch-636828.patch" + "${FILESDIR}/${PN}-1.0.0-disable_Werror-644042.patch" +) + +src_configure() { + local mycmakeargs=( + -DGSL_TEST=$(usex test) + ) + use test && mycmakeargs+=( -DFORCE_SYSTEM_CATCH=ON ) + cmake-utils_src_configure +} |