From 7675ccca73f5c413e3505b0308c6f010d62d5302 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 7 May 2021 16:33:26 +0000 Subject: Adding metadata --- dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild | 59 ---------------------- dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild | 7 ++- dev-cpp/abseil-cpp/metadata.xml | 6 ++- 3 files changed, 8 insertions(+), 64 deletions(-) delete mode 100644 dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild (limited to 'dev-cpp/abseil-cpp') diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild deleted file mode 100644 index dc5e0d4746ac..000000000000 --- a/dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit cmake flag-o-matic python-any-r1 - -DESCRIPTION="Abseil Common Libraries (C++), LTS Branch" -HOMEPAGE="https://abseil.io" -SRC_URI="https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV%%.*}" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="${PYTHON_DEPS}" - -# requires source of gtest and other libs -RESTRICT=test - -PATCHES=( - "${FILESDIR}/${PN}-20200923-arm_no_crypto.patch" -) - -src_prepare() { - cmake_src_prepare - - # un-hardcode abseil compiler flags - sed -i \ - -e '/"-maes",/d' \ - -e '/"-msse4.1",/d' \ - -e '/"-mfpu=neon"/d' \ - -e '/"-march=armv8-a+crypto"/d' \ - absl/copts/copts.py || die - - # now generate cmake files - python_fix_shebang absl/copts/generate_copts.py - absl/copts/generate_copts.py || die -} - -src_configure() { - if use arm || use arm64; then - # bug #778926 - if [[ $($(tc-getCXX) ${CXXFLAGS} -E -P - <<<$'#if defined(__ARM_FEATURE_CRYPTO)\nHAVE_ARM_FEATURE_CRYPTO\n#endif') != *HAVE_ARM_FEATURE_CRYPTO* ]]; then - append-cxxflags -DABSL_ARCH_ARM_NO_CRYPTO - fi - fi - - local mycmakeargs=( - -DABSL_ENABLE_INSTALL=TRUE - -DBUILD_SHARED_LIBS=TRUE - ) - cmake_src_configure -} diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild index 9966906aa154..7b370968e422 100644 --- a/dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild +++ b/dev-cpp/abseil-cpp/abseil-cpp-20210324.1.ebuild @@ -1,6 +1,5 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2021 Liguros Authors # Distributed under the terms of the GNU General Public License v2 - EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -22,7 +21,7 @@ LICENSE=" " SLOT="0/${PV%%.*}" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="test" +IUSE="+cxx17 test" DEPEND="" RDEPEND="${DEPEND}" @@ -70,7 +69,7 @@ src_configure() { local mycmakeargs=( -DABSL_ENABLE_INSTALL=TRUE -DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT}" - -DCMAKE_CXX_STANDARD=17 + $(usex cxx17 -DCMAKE_CXX_STANDARD=17 '') # it has to be a useflag for some consumers $(usex test -DBUILD_TESTING=ON '') #intentional usex ) cmake_src_configure diff --git a/dev-cpp/abseil-cpp/metadata.xml b/dev-cpp/abseil-cpp/metadata.xml index 27cd2fa04fab..79d63bfbb0a6 100644 --- a/dev-cpp/abseil-cpp/metadata.xml +++ b/dev-cpp/abseil-cpp/metadata.xml @@ -1,6 +1,10 @@ + + dev@liguros.net + Development + gyakovlev@gentoo.org Georgy Yakovlev @@ -9,5 +13,5 @@ Build with -DCMAKE_CXX_STANDARD=17 (required by some revdeps) - gentoo-staging + ports \ No newline at end of file -- cgit v1.3