diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-28 17:02:39 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2021-03-06 19:14:28 +0100 |
commit | d7d728e021f12e38e7f6dac0cd44e00235c75bfe (patch) | |
tree | aca6cee4d9e88974260b5692cb8e6aa324442cad /dev-libs/uriparser | |
parent | package.mask: add dev-ml/js_of_ocaml (diff) | |
download | gentoo-d7d728e021f12e38e7f6dac0cd44e00235c75bfe.tar.gz gentoo-d7d728e021f12e38e7f6dac0cd44e00235c75bfe.tar.bz2 gentoo-d7d728e021f12e38e7f6dac0cd44e00235c75bfe.zip |
dev-libs/uriparser: Fix EAPI-7 bump BDEPENDs, use cmake.eclass
Fix DESCRIPTION
BUILD_SHARED_LIBS=ON is default
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-libs/uriparser')
-rw-r--r-- | dev-libs/uriparser/uriparser-0.9.4.ebuild | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/dev-libs/uriparser/uriparser-0.9.4.ebuild b/dev-libs/uriparser/uriparser-0.9.4.ebuild index d814ac60e353..5eefe6b42f01 100644 --- a/dev-libs/uriparser/uriparser-0.9.4.ebuild +++ b/dev-libs/uriparser/uriparser-0.9.4.ebuild @@ -3,9 +3,9 @@ EAPI=7 -inherit cmake-utils +inherit cmake -DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C" +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" @@ -14,31 +14,35 @@ SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-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 )" RESTRICT="!test? ( test )" +DEPEND=" + test? ( >=dev-cpp/gtest-1.8.1 ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( + >=app-doc/doxygen-1.5.8 + qt5? ( dev-qt/qthelp:5 ) + ) +" + 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 + cmake_src_configure } src_install() { - cmake-utils_src_install + cmake_src_install if use doc && use qt5; then dodoc "${BUILD_DIR}"/doc/*.qch |