1 |
commit: 352dc85dd35f06f2d9ccaae0c99f076207ffe12b |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 28 12:41:33 2019 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 28 12:45:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352dc85d |
7 |
|
8 |
dev-libs/uriparser: 0.9.3 |
9 |
|
10 |
Ping: https://github.com/uriparser/uriparser/issues/66 |
11 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
13 |
|
14 |
dev-libs/uriparser/Manifest | 1 + |
15 |
dev-libs/uriparser/uriparser-0.9.3.ebuild | 46 +++++++++++++++++++++++++++++++ |
16 |
2 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/uriparser/Manifest b/dev-libs/uriparser/Manifest |
19 |
index e92400ef355..64e3bc40198 100644 |
20 |
--- a/dev-libs/uriparser/Manifest |
21 |
+++ b/dev-libs/uriparser/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST uriparser-0.9.1.tar.bz2 372722 BLAKE2B 6fe21d1f5a98564f3e08094b1e27a13ea00baff3c4e09645236d8b08cba5455d49862a2d66fec02057efbb3b3d2e36040aeab31630f516eedd1ef36c84211638 SHA512 c6a4f3b737d4c53ba14148a5be363d93947c8c32755b369726ccdd6e01e8a2293d2c94d448700fc97bb56092696b67965646ae07c9ef31be253e2279d0bc3821 |
24 |
+DIST uriparser-0.9.3.tar.bz2 173073 BLAKE2B daf4d4ef2801850b8b4b3622ec195c7bfdc105cca085ea4a9d3ed9427bf7cf2eedcce4954b679a0ed1a79b7c57c98a1998b0cac27bd2b1de540aa79fdd4b160d SHA512 424419ea7b5f945b37ea06091d59e731c6a7ee76e7998f8a4e598036b3de8b593d62d1af6c6ddc7c31b43fc6795d4a5fa8d50da2508ca19de100a2222106fa3e |
25 |
|
26 |
diff --git a/dev-libs/uriparser/uriparser-0.9.3.ebuild b/dev-libs/uriparser/uriparser-0.9.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..49ec684913d |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/uriparser/uriparser-0.9.3.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit cmake-utils |
38 |
+ |
39 |
+DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C" |
40 |
+HOMEPAGE="https://uriparser.github.io/" |
41 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
46 |
+IUSE="doc qt5 test unicode" |
47 |
+ |
48 |
+RDEPEND="" |
49 |
+DEPEND="virtual/pkgconfig |
50 |
+ doc? ( >=app-doc/doxygen-1.5.8 |
51 |
+ qt5? ( dev-qt/qthelp:5 ) ) |
52 |
+ test? ( >=dev-cpp/gtest-1.8.1 )" |
53 |
+ |
54 |
+REQUIRED_USE="test? ( unicode )" |
55 |
+ |
56 |
+DOCS=( AUTHORS ChangeLog THANKS ) |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local mycmakeargs=( |
60 |
+ -DBUILD_SHARED_LIBS=ON |
61 |
+ -DURIPARSER_BUILD_CHAR=ON |
62 |
+ -DURIPARSER_BUILD_DOCS=$(usex doc ON OFF) |
63 |
+ -DURIPARSER_BUILD_TESTS=$(usex test ON OFF) |
64 |
+ -DURIPARSER_BUILD_TOOLS=ON |
65 |
+ -DURIPARSER_BUILD_WCHAR_T=$(usex unicode ON OFF) |
66 |
+ ) |
67 |
+ cmake-utils_src_configure |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ cmake-utils_src_install |
72 |
+ |
73 |
+ if use doc && use qt5; then |
74 |
+ dodoc "${BUILD_DIR}"/doc/*.qch |
75 |
+ docompress -x /usr/share/doc/${PF}/${P}.qch |
76 |
+ fi |
77 |
+} |