commit:     509a340858715521d7b16ee022f3dea3b0e5f6c8
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  2 17:10:38 2019 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Jan  2 17:11:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=509a3408

dev-libs/uriparser: 0.9.1

Ping: https://github.com/uriparser/uriparser/issues/43
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 dev-libs/uriparser/Manifest               |  1 +
 dev-libs/uriparser/uriparser-0.9.1.ebuild | 41 +++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-libs/uriparser/Manifest b/dev-libs/uriparser/Manifest
index d48073711d7..99cf53d1720 100644
--- a/dev-libs/uriparser/Manifest
+++ b/dev-libs/uriparser/Manifest
@@ -2,3 +2,4 @@ DIST uriparser-0.8.4.tar.bz2 358408 BLAKE2B 
1f270442a4812fa3e86a495109f95cfac698
 DIST uriparser-0.8.5.tar.bz2 359469 BLAKE2B 
44fb7d8bd5dac8bb0dd68bfbc4fb2adec310a913a7ebb92850fb2b8833c159db7cb29fa4f8b5de3e3b3def018024d1e69a0814bcd12aa24b6a14deca6f6768fb
 SHA512 
e9b0228092cf12b824975000b0a6dbe2e413d3642203666d77c5b42f04bc13e0ec3f61d6a2c44d9613bea15e8cf7ec42cc4c92c5bc4318ee3349c1b380409d5c
 DIST uriparser-0.8.6.tar.bz2 360214 BLAKE2B 
18a0e02f5dc6efa840cd6647c4595f238f811e8131750959b31f5283c5632b8892fa38767f883110ff2fbcb9dd07afabcaef64b206b9a951a773bd9d4b1cd9e9
 SHA512 
b95e6d7c7f835002f6ea1a9c0962f4d385cd16519c40b921e9a9679140fd5d6cd326002b452fc73431aa2f36d049ae510c034a423eca143a6285f9b4b3dd7b83
 DIST uriparser-0.9.0.tar.bz2 371895 BLAKE2B 
13479fe75d8dcc9514da6c26d9a60a68256b895f012d3b36e156353f1f37b2e572a3c8014f5cab30fe1d6da58ef840ea9878eabb48625a7449e46c7dbc13247c
 SHA512 
8ad631726c59d244b945221e803dcb13daa6df6550b3de94da19745f4b4d53a5ce17dba54280273181479f2803dea4ca7b0154ac3b54ca39fc4eda2c8a03e3f7
+DIST uriparser-0.9.1.tar.bz2 372722 BLAKE2B 
6fe21d1f5a98564f3e08094b1e27a13ea00baff3c4e09645236d8b08cba5455d49862a2d66fec02057efbb3b3d2e36040aeab31630f516eedd1ef36c84211638
 SHA512 
c6a4f3b737d4c53ba14148a5be363d93947c8c32755b369726ccdd6e01e8a2293d2c94d448700fc97bb56092696b67965646ae07c9ef31be253e2279d0bc3821

diff --git a/dev-libs/uriparser/uriparser-0.9.1.ebuild 
b/dev-libs/uriparser/uriparser-0.9.1.ebuild
new file mode 100644
index 00000000000..7fcaa4b0557
--- /dev/null
+++ b/dev-libs/uriparser/uriparser-0.9.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in 
C"
+HOMEPAGE="https://uriparser.github.io/";
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~x86-solaris"
+IUSE="doc qt5 test unicode"
+
+RDEPEND=""
+DEPEND="virtual/pkgconfig
+       doc? ( >=app-doc/doxygen-1.5.8
+               qt5? ( dev-qt/qthelp:5 ) )
+       test? ( >=dev-cpp/gtest-1.8.1 )"
+
+REQUIRED_USE="test? ( unicode )"
+
+DOCS=( AUTHORS ChangeLog THANKS )
+
+src_configure() {
+       econf \
+               $(use_enable test) \
+               --enable-char \
+               $(use_enable unicode wchar_t) \
+               $(use_enable doc) \
+               --docdir=/usr/share/doc/${PF}/
+}
+
+src_install() {
+       default
+
+       if use doc && use qt5; then
+               dodoc doc/*.qch
+               docompress -x /usr/share/doc/${PF}/${P}.qch
+       fi
+}

Reply via email to