commit: bc34f32e7a99c24cf0737e438ce4e794fb7fd3d7 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Mon May 2 15:56:24 2022 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon May 2 16:03:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc34f32e
net-analyzer/openvas-scanner: USE 'extras' → 'doc' Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> ...-scanner-21.4.4.ebuild => openvas-scanner-21.4.4-r1.ebuild} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild similarity index 96% rename from net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild rename to net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild index b6a8ac41cbbf..a8f5ef4aa4d3 100644 --- a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild +++ b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> $ SLOT="0" LICENSE="GPL-2 GPL-2+" KEYWORDS="~amd64 ~x86" -IUSE="cron extras snmp test" +IUSE="cron doc snmp test" RESTRICT="!test? ( test )" DEPEND=" @@ -41,7 +41,7 @@ BDEPEND=" sys-devel/bison sys-devel/flex virtual/pkgconfig - extras? ( + doc? ( app-doc/doxygen[dot] app-doc/xmltoman app-text/htmldoc @@ -62,7 +62,7 @@ src_prepare() { # QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0 sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0 - if use extras; then + if use doc; then if ! tc-is-clang; then local f for f in doc/*.in @@ -93,7 +93,7 @@ src_configure() { src_compile() { cmake_src_compile - if use extras; then + if use doc; then cmake_build -C "${BUILD_DIR}" doc cmake_build doc-full -C "${BUILD_DIR}" doc fi @@ -104,7 +104,7 @@ src_compile() { } src_install() { - if use extras; then + if use doc; then local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) fi cmake_src_install
