1 |
commit: 1c0198721f7ce10bb5b7ce1bac4ff646d7dabafc |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 2 21:09:01 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 2 21:09:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c019872 |
7 |
|
8 |
dev-cpp/gulrak-filesystem: New package needed by x11-misc/barrier |
9 |
|
10 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
11 |
|
12 |
dev-cpp/gulrak-filesystem/Manifest | 1 + |
13 |
.../gulrak-filesystem-1.5.10.ebuild | 35 ++++++++++++++++++++++ |
14 |
dev-cpp/gulrak-filesystem/metadata.xml | 11 +++++++ |
15 |
3 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-cpp/gulrak-filesystem/Manifest b/dev-cpp/gulrak-filesystem/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..570717e1d82 |
20 |
--- /dev/null |
21 |
+++ b/dev-cpp/gulrak-filesystem/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST gulrak-filesystem-1.5.10.tar.gz 176873 BLAKE2B 0c9ccfd918ede195c65a25a361c9d3a7acca99d2e5e917911a5dcd7e74c989c291f37e962943771860ea8b14f26d066863faea4dd17cb25d44aa9061913d5e5c SHA512 470dd9e1c4358f9d8d9f531d8c3c6716cdd156c815315748436a1dc3caf095d320e58eae2274df8c15e293cc96170752fb00aed8ad2210d417b174c13297fbac |
24 |
|
25 |
diff --git a/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ea6c138fc1a |
28 |
--- /dev/null |
29 |
+++ b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild |
30 |
@@ -0,0 +1,35 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+DESCRIPTION="Header-only single-file std::filesystem compatible helper library" |
39 |
+HOMEPAGE="https://github.com/gulrak/filesystem" |
40 |
+SRC_URI="https://github.com/gulrak/filesystem/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="examples test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+S="${WORKDIR}/${P#*-}" |
49 |
+ |
50 |
+src_configure() { |
51 |
+ local mycmakeargs=( |
52 |
+ -DGHC_FILESYSTEM_BUILD_EXAMPLES=OFF |
53 |
+ -DGHC_FILESYSTEM_BUILD_TESTING=$(usex test) |
54 |
+ -DGHC_FILESYSTEM_WITH_INSTALL=ON |
55 |
+ ) |
56 |
+ |
57 |
+ cmake_src_configure |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ cmake_src_install |
62 |
+ |
63 |
+ docinto examples |
64 |
+ use examples && dodoc examples/*.cpp |
65 |
+} |
66 |
|
67 |
diff --git a/dev-cpp/gulrak-filesystem/metadata.xml b/dev-cpp/gulrak-filesystem/metadata.xml |
68 |
new file mode 100644 |
69 |
index 00000000000..e567ba1ed01 |
70 |
--- /dev/null |
71 |
+++ b/dev-cpp/gulrak-filesystem/metadata.xml |
72 |
@@ -0,0 +1,11 @@ |
73 |
+<?xml version="1.0" encoding="UTF-8"?> |
74 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
75 |
+<pkgmetadata> |
76 |
+ <maintainer type="person"> |
77 |
+ <email>chewi@g.o</email> |
78 |
+ <name>James Le Cuirot</name> |
79 |
+ </maintainer> |
80 |
+ <upstream> |
81 |
+ <remote-id type="github">gulrak/filesystem</remote-id> |
82 |
+ </upstream> |
83 |
+</pkgmetadata> |