summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/kvirc/kvirc-9999.ebuild')
-rw-r--r--net-irc/kvirc/kvirc-9999.ebuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-irc/kvirc/kvirc-9999.ebuild b/net-irc/kvirc/kvirc-9999.ebuild
index 5c279875370..3e4e206a18d 100644
--- a/net-irc/kvirc/kvirc-9999.ebuild
+++ b/net-irc/kvirc/kvirc-9999.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
+CMAKE_MAKEFILE_GENERATOR="emake"
PYTHON_COMPAT=(python2_7)
inherit cmake-utils flag-o-matic python-single-r1 xdg-utils
@@ -139,6 +140,25 @@ src_configure() {
cmake-utils_src_configure
}
+src_compile() {
+ cmake-utils_src_compile
+
+ if use doc; then
+ cmake-utils_src_compile devdocs
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use doc; then
+ (
+ docinto html
+ dodoc -r "${BUILD_DIR}/doc/api/html/"*
+ )
+ fi
+}
+
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update