commit:     a0d1e0007bcc8908755106352221ff5845a97124
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  8 19:58:03 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Dec  8 20:08:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0d1e000

x11-misc/xdotool: implement IUSE=doc

Thanks-to: rick <rick <AT> gnous.eu>
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 x11-misc/xdotool/xdotool-3.20211022.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xdotool/xdotool-3.20211022.1.ebuild 
b/x11-misc/xdotool/xdotool-3.20211022.1.ebuild
index dd2a934b7fd1..b1799611bdbc 100644
--- a/x11-misc/xdotool/xdotool-3.20211022.1.ebuild
+++ b/x11-misc/xdotool/xdotool-3.20211022.1.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit toolchain-funcs
+DOCS_BUILDER="doxygen"
+
+inherit docs toolchain-funcs
 
 DESCRIPTION="Simulate keyboard input and mouse activity, move and resize 
windows"
 HOMEPAGE="https://www.semicomplete.com/projects/xdotool/";
@@ -40,6 +42,7 @@ DOCS=( CHANGELIST README.md )
 src_compile() {
        tc-export CC LD PKG_CONFIG
        emake PREFIX="${EPREFIX}/usr"
+       use doc && docs_compile
 }
 
 src_install() {

Reply via email to