dev-libs/uriparser: 0.8.6

Notify https://github.com/uriparser/uriparser/issues/21

Package-Manager: Portage-2.3.46, Repoman-2.3.10
This commit is contained in:
Sebastian Pipping
2018-08-18 13:51:59 +02:00
parent 5f7bad96f4
commit 3c4c7d90e2
2 changed files with 43 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST uriparser-0.8.4.tar.bz2 358408 BLAKE2B 1f270442a4812fa3e86a495109f95cfac6980c8145a701990dbe6f6396743de9ce0dfbce7b9cff2b331e8c9038a2b6c5281d2e562596543b660c168d3e678187 SHA512 b6238c6495eaa9f7178269d66dbea05a39c51c27137d8ebf39cd02d1c3fa96aa0d1608f5ccb36bf7b454f3238830dd46d7de8299b608f185b2520fc2c955aa1a
DIST uriparser-0.8.5.tar.bz2 359469 BLAKE2B 44fb7d8bd5dac8bb0dd68bfbc4fb2adec310a913a7ebb92850fb2b8833c159db7cb29fa4f8b5de3e3b3def018024d1e69a0814bcd12aa24b6a14deca6f6768fb SHA512 e9b0228092cf12b824975000b0a6dbe2e413d3642203666d77c5b42f04bc13e0ec3f61d6a2c44d9613bea15e8cf7ec42cc4c92c5bc4318ee3349c1b380409d5c
DIST uriparser-0.8.6.tar.bz2 360214 BLAKE2B 18a0e02f5dc6efa840cd6647c4595f238f811e8131750959b31f5283c5632b8892fa38767f883110ff2fbcb9dd07afabcaef64b206b9a951a773bd9d4b1cd9e9 SHA512 b95e6d7c7f835002f6ea1a9c0962f4d385cd16519c40b921e9a9679140fd5d6cd326002b452fc73431aa2f36d049ae510c034a423eca143a6285f9b4b3dd7b83

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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-util/cpptest-1.1.1 )"
REQUIRED_USE="test? ( unicode )"
DOCS=( AUTHORS ChangeLog THANKS )
src_configure() {
econf \
--disable-sizedown \
$(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
}