public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/range-v3/
@ 2020-01-25 10:32 Georgy Yakovlev
  0 siblings, 0 replies; only message in thread
From: Georgy Yakovlev @ 2020-01-25 10:32 UTC (permalink / raw
  To: gentoo-commits

commit:     7425b0cec6cfe50c6051463e4d3f3e29a62f6d1e
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 25 09:44:24 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jan 25 10:23:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7425b0ce

dev-libs/range-v3: new package

required by telegram-desktop

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-libs/range-v3/Manifest                  |  1 +
 dev-libs/range-v3/metadata.xml              |  8 +++++++
 dev-libs/range-v3/range-v3-0.10.0-r1.ebuild | 33 +++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/dev-libs/range-v3/Manifest b/dev-libs/range-v3/Manifest
new file mode 100644
index 00000000000..f090fc7442e
--- /dev/null
+++ b/dev-libs/range-v3/Manifest
@@ -0,0 +1 @@
+DIST range-v3-0.10.0.tar.gz 525765 BLAKE2B 7dd3aed9b35920e058fe43bccd364831a52ad8d50179d1057ab7a37cdef82df021bb09a9913018ae78982fe136c855ba4101e31d35cfc21747af994d0103b95e SHA512 4db089dcbf638eb30fa20dcf6785dd460c5a074a8912984a484592753cfee9f5b9a0e2c56b5bc5921d1b6120877aa2c83ac0a6fe428088ef2854033a635e9723

diff --git a/dev-libs/range-v3/metadata.xml b/dev-libs/range-v3/metadata.xml
new file mode 100644
index 00000000000..efcd58fe0b9
--- /dev/null
+++ b/dev-libs/range-v3/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gyakovlev@gentoo.org</email>
+		<name>Georgy Yakovlev</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-libs/range-v3/range-v3-0.10.0-r1.ebuild b/dev-libs/range-v3/range-v3-0.10.0-r1.ebuild
new file mode 100644
index 00000000000..f840e1baee0
--- /dev/null
+++ b/dev-libs/range-v3/range-v3-0.10.0-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Range library for C++14/17/20, basis for C++20's std::ranges"
+HOMEPAGE="https://github.com/ericniebler/range-v3"
+SRC_URI="https://github.com/ericniebler/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE=""
+
+src_prepare() {
+	sed -i -e '/Werror/d' -e '/Wextra/d' -e '/Wall/d' cmake/ranges_flags.cmake || die
+	sed -i -e "s@lib/cmake@"$(get_libdir)"/cmake@g" CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	mycmakeargs=(
+		-DRANGE_V3_EXAMPLES=OFF
+		-DRANGE_V3_HEADER_CHECKS=OFF
+		-DRANGE_V3_PERF=OFF
+		-DRANGE_V3_TESTS=OFF
+		-DRANGES_BUILD_CALENDAR_EXAMPLE=OFF
+		-DRANGES_NATIVE=OFF
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-25 10:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-25 10:32 [gentoo-commits] repo/gentoo:master commit in: dev-libs/range-v3/ Georgy Yakovlev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox