commit: d7d728e021f12e38e7f6dac0cd44e00235c75bfe Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Feb 28 16:02:39 2021 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Sat Mar 6 18:14:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7d728e0
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 <AT> gentoo.org> Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> dev-libs/uriparser/uriparser-0.9.4.ebuild | 26 +++++++++++++++----------- 1 file 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 d814ac60e35..5eefe6b42f0 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