commit:     1c0198721f7ce10bb5b7ce1bac4ff646d7dabafc
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  2 21:09:01 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Nov  2 21:09:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c019872

dev-cpp/gulrak-filesystem: New package needed by x11-misc/barrier

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-cpp/gulrak-filesystem/Manifest                 |  1 +
 .../gulrak-filesystem-1.5.10.ebuild                | 35 ++++++++++++++++++++++
 dev-cpp/gulrak-filesystem/metadata.xml             | 11 +++++++
 3 files changed, 47 insertions(+)

diff --git a/dev-cpp/gulrak-filesystem/Manifest 
b/dev-cpp/gulrak-filesystem/Manifest
new file mode 100644
index 00000000000..570717e1d82
--- /dev/null
+++ b/dev-cpp/gulrak-filesystem/Manifest
@@ -0,0 +1 @@
+DIST gulrak-filesystem-1.5.10.tar.gz 176873 BLAKE2B 
0c9ccfd918ede195c65a25a361c9d3a7acca99d2e5e917911a5dcd7e74c989c291f37e962943771860ea8b14f26d066863faea4dd17cb25d44aa9061913d5e5c
 SHA512 
470dd9e1c4358f9d8d9f531d8c3c6716cdd156c815315748436a1dc3caf095d320e58eae2274df8c15e293cc96170752fb00aed8ad2210d417b174c13297fbac

diff --git a/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild 
b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild
new file mode 100644
index 00000000000..ea6c138fc1a
--- /dev/null
+++ b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Header-only single-file std::filesystem compatible helper library"
+HOMEPAGE="https://github.com/gulrak/filesystem";
+SRC_URI="https://github.com/gulrak/filesystem/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/${P#*-}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DGHC_FILESYSTEM_BUILD_EXAMPLES=OFF
+               -DGHC_FILESYSTEM_BUILD_TESTING=$(usex test)
+               -DGHC_FILESYSTEM_WITH_INSTALL=ON
+       )
+
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+
+       docinto examples
+       use examples && dodoc examples/*.cpp
+}

diff --git a/dev-cpp/gulrak-filesystem/metadata.xml 
b/dev-cpp/gulrak-filesystem/metadata.xml
new file mode 100644
index 00000000000..e567ba1ed01
--- /dev/null
+++ b/dev-cpp/gulrak-filesystem/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>James Le Cuirot</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">gulrak/filesystem</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to