Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
# 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
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
# 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
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