diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-07 22:48:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-07 22:48:01 +0000 |
commit | c3bc61051d7f12b4c682efa7a5460bbc8815649e (patch) | |
tree | b6d19e96ba3c397fb8278eeb9b68170db92630ba /dev-libs/uriparser | |
parent | 3517852e3b8a68d1e997770fc0650c5053bafc6c (diff) |
gentoo resync : 07.01.2022
Diffstat (limited to 'dev-libs/uriparser')
-rw-r--r-- | dev-libs/uriparser/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/uriparser/uriparser-0.9.6.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/uriparser/Manifest b/dev-libs/uriparser/Manifest index 73fd7f984dff..83993ecdae52 100644 --- a/dev-libs/uriparser/Manifest +++ b/dev-libs/uriparser/Manifest @@ -1,3 +1,5 @@ DIST uriparser-0.9.5.tar.bz2 176501 BLAKE2B 5ec3d993e60c62f2478e4012354cf82f2e4155ea1a69e9a3d6611d1765fe0f3b8ba5382c928852a5fd215f51ebb0688c9d713e9f1208f18f5ce2d8b8f0fb1dca SHA512 44d36a33565b7724d721e2b5e689530227bc87e609ee78f1d23e7353480191313b1b91039c7a046566d14b83eb320c97d75e74c8ef4841e1b9c8559c3feddb34 +DIST uriparser-0.9.6.tar.bz2 178888 BLAKE2B 2c7229d8438eaef40657b809742dff7ed8919edfe9b4003be996d967b2d876ec61c6493b60c3a0a167db80365c748ee63f2cebfa04058ae8bed8d29b0ab7ea22 SHA512 c021ab3f93cc0373c9244edafff042c3d73a3904d69e573c277b04ca4a49cd2e88255214599cf433088b32846c9a628dfb116025188a6bb61a40c236827799aa EBUILD uriparser-0.9.5.ebuild 1407 BLAKE2B 57422dee563f1a8ba6e8a60b415d71b1a23011cee1bf7576df37d943436056f84e8a40f3e8d2331c3a03d45fbfa9e0da3e2d1cfe3eae5126a582e27b3da25056 SHA512 940372852b7e53c41eb5cf90ca0da08b1c3e789ce303fc68fb0d77c9eed06981e54ff09ec5c9790dae028edce839b1e665a59979d0b394c5c77b61349e3e857a +EBUILD uriparser-0.9.6.ebuild 1407 BLAKE2B 803b0dfe4c6adca03ba5cfc639034632380a678db1ebe1b3a2453c68631c985ece173412def62dada5368a35065daaccc019ec9936a0e5e3bf7b320b6dec402f SHA512 37d7bde5bf5eb817e4686e74182fb778a6fa0a8f58a07c05c5b7f4e7adca6042af8252bf27deea5c5b8874f5ce50b6b58ea74b376cc962b5bb454b4ef3aa42a2 MISC metadata.xml 543 BLAKE2B f58d06655dac12b918bc151308a170bd3b1f2eecdf54e1ca38badb1b4fe26966461238e5975fb566a3e8014bdfe2133ffafdc322b4664d18ea657a30fbba3aee SHA512 8004df7b46cc798bb654f62b4ca9de1a26302e901f0fd77bfee5c9d8b6fa52a2084666b21c7b84fce09d9d197854383eafe20766ae0a5f181cb29b2e8ad530b3 diff --git a/dev-libs/uriparser/uriparser-0.9.6.ebuild b/dev-libs/uriparser/uriparser-0.9.6.ebuild new file mode 100644 index 000000000000..4bc93db9261e --- /dev/null +++ b/dev-libs/uriparser/uriparser-0.9.6.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="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 arm64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="+doc qt5 test unicode" # +doc to address warning RequiredUseDefaults + +REQUIRED_USE="qt5? ( doc ) test? ( unicode )" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( >=dev-cpp/gtest-1.8.1 ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( + >=app-doc/doxygen-1.5.8 + media-gfx/graphviz + qt5? ( dev-qt/qthelp:5 ) + ) +" + +DOCS=( AUTHORS ChangeLog THANKS ) + +src_configure() { + local mycmakeargs=( + -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) + + # The usex wrapper is here to address this warning: + # One or more CMake variables were not used by the project: + # CMAKE_DISABLE_FIND_PACKAGE_Qt5Help + $(usex doc "$(cmake_use_find_package qt5 Qt5Help)") + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use doc && use qt5; then + dodoc "${BUILD_DIR}"/doc/*.qch + docompress -x /usr/share/doc/${PF}/${P}.qch + fi +} |