1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C"
7 HOMEPAGE="https://uriparser.github.io/"
8 SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2"
12 KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
13 IUSE="doc qt5 test unicode"
16 DEPEND="virtual/pkgconfig
17 doc? ( >=app-doc/doxygen-1.5.8
18 qt5? ( dev-qt/qthelp:5 ) )
19 test? ( >=dev-cpp/gtest-1.8.1 )"
21 REQUIRED_USE="test? ( unicode )"
22 RESTRICT="!test? ( test )"
24 DOCS=( AUTHORS ChangeLog THANKS )
30 $(use_enable unicode wchar_t) \
32 --docdir=/usr/share/doc/${PF}/
38 if use doc && use qt5; then
40 docompress -x /usr/share/doc/${PF}/${P}.qch