diff options
author | Sebastian Pipping <sping@gentoo.org> | 2019-04-28 14:41:33 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2019-04-28 14:45:15 +0200 |
commit | 352dc85dd35f06f2d9ccaae0c99f076207ffe12b (patch) | |
tree | 8254fa57e768ae2b3bb22923755396028191a7eb /dev-libs/uriparser | |
parent | net-irc/unrealircd: remove 4.0.18 and 4.2.0 (diff) | |
download | gentoo-352dc85dd35f06f2d9ccaae0c99f076207ffe12b.tar.gz gentoo-352dc85dd35f06f2d9ccaae0c99f076207ffe12b.tar.bz2 gentoo-352dc85dd35f06f2d9ccaae0c99f076207ffe12b.zip |
dev-libs/uriparser: 0.9.3
Ping: https://github.com/uriparser/uriparser/issues/66
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Diffstat (limited to 'dev-libs/uriparser')
-rw-r--r-- | dev-libs/uriparser/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/uriparser/uriparser-0.9.3.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/uriparser/Manifest b/dev-libs/uriparser/Manifest index e92400ef355b..64e3bc401986 100644 --- a/dev-libs/uriparser/Manifest +++ b/dev-libs/uriparser/Manifest @@ -1 +1,2 @@ DIST uriparser-0.9.1.tar.bz2 372722 BLAKE2B 6fe21d1f5a98564f3e08094b1e27a13ea00baff3c4e09645236d8b08cba5455d49862a2d66fec02057efbb3b3d2e36040aeab31630f516eedd1ef36c84211638 SHA512 c6a4f3b737d4c53ba14148a5be363d93947c8c32755b369726ccdd6e01e8a2293d2c94d448700fc97bb56092696b67965646ae07c9ef31be253e2279d0bc3821 +DIST uriparser-0.9.3.tar.bz2 173073 BLAKE2B daf4d4ef2801850b8b4b3622ec195c7bfdc105cca085ea4a9d3ed9427bf7cf2eedcce4954b679a0ed1a79b7c57c98a1998b0cac27bd2b1de540aa79fdd4b160d SHA512 424419ea7b5f945b37ea06091d59e731c6a7ee76e7998f8a4e598036b3de8b593d62d1af6c6ddc7c31b43fc6795d4a5fa8d50da2508ca19de100a2222106fa3e diff --git a/dev-libs/uriparser/uriparser-0.9.3.ebuild b/dev-libs/uriparser/uriparser-0.9.3.ebuild new file mode 100644 index 000000000000..49ec684913db --- /dev/null +++ b/dev-libs/uriparser/uriparser-0.9.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +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() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DURIPARSER_BUILD_CHAR=ON + -DURIPARSER_BUILD_DOCS=$(usex doc ON OFF) + -DURIPARSER_BUILD_TESTS=$(usex test ON OFF) + -DURIPARSER_BUILD_TOOLS=ON + -DURIPARSER_BUILD_WCHAR_T=$(usex unicode ON OFF) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use doc && use qt5; then + dodoc "${BUILD_DIR}"/doc/*.qch + docompress -x /usr/share/doc/${PF}/${P}.qch + fi +} |