--- qtcore-5.3.2.ebuild 2014-09-16 16:44:53.000000000 +0200 +++ qtcore-5.3.2.ebuild 2014-11-08 01:22:52.634721146 +0100 @@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~x86" fi -IUSE="icu" +IUSE="global_docs icu" DEPEND=" dev-libs/glib:2 @@ -41,3 +41,11 @@ ) qt5-build_src_configure } + +src_install() { + docompress -x "${QT5_DOCDIR}/global" + cd "${QT5_BUILD_DIR}" + use global_docs && emake INSTALL_ROOT="${D}" install_global_docs + + qt5-build_src_install +}