commit:     6bb8e9be672bd4b5cb01581783a9243d3fda5a84
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 17:47:57 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 17:56:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb8e9be

kde5.eclass: remove KDE_DOXYGEN and KDE_DOX_DIR

kgenapidox was removed from kapidox in bb4063f5d9f9015b86dbc3a48a424c8cb1a8193f
and there does not appear to be a suitable replacement (for us).

 eclass/kde5.eclass | 37 -------------------------------------
 1 file changed, 37 deletions(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 9fecdb7..64dacfa 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -63,22 +63,6 @@ EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare 
src_configure src_compile src_
 # and add the necessary DEPENDs.
 : ${KDE_DESIGNERPLUGIN:=false}
 
-# @ECLASS-VARIABLE: KDE_DOXYGEN
-# @DESCRIPTION:
-# If set to "false", do nothing.
-# Otherwise, add "doc" to IUSE, add appropriate dependencies, and generate and
-# install API documentation.
-if [[ ${CATEGORY} = kde-frameworks ]]; then
-       : ${KDE_DOXYGEN:=true}
-else
-       : ${KDE_DOXYGEN:=false}
-fi
-
-# @ECLASS-VARIABLE: KDE_DOX_DIR
-# @DESCRIPTION:
-# Defaults to ".". Otherwise, use alternative KDE doxygen path.
-: ${KDE_DOX_DIR:=.}
-
 # @ECLASS-VARIABLE: KDE_EXAMPLES
 # @DESCRIPTION:
 # If set to "false", unconditionally ignore a top-level examples subdirectory.
@@ -181,17 +165,6 @@ case ${KDE_AUTODEPS} in
                ;;
 esac
 
-case ${KDE_DOXYGEN} in
-       false)  ;;
-       *)
-               IUSE+=" doc"
-               DEPEND+=" doc? (
-                               $(add_frameworks_dep kapidox)
-                               app-doc/doxygen
-                       )"
-               ;;
-esac
-
 case ${KDE_DEBUG} in
        false)  ;;
        *)
@@ -522,11 +495,6 @@ kde5_src_compile() {
        debug-print-function ${FUNCNAME} "$@"
 
        cmake-utils_src_compile "$@"
-
-       # Build doxygen documentation if applicable
-       if use_if_iuse doc ; then
-               kgenapidox ${KDE_DOX_DIR} || die
-       fi
 }
 
 # @FUNCTION: kde5_src_test
@@ -566,11 +534,6 @@ kde5_src_test() {
 kde5_src_install() {
        debug-print-function ${FUNCNAME} "$@"
 
-       # Install doxygen documentation if applicable
-       if use_if_iuse doc ; then
-               dodoc -r apidocs/html
-       fi
-
        cmake-utils_src_install
 
        # We don't want ${PREFIX}/share/doc/HTML to be compressed,

Reply via email to