Created attachment 347846 [details, diff] ebuild.patch weechat provides further docs, as long as app-text/asciidoc and dev-util/source-highlight are available. i also added some logic (hunk #3) to filter out the LINGUAS not wanted.
Created attachment 347848 [details] weechat-0.4.0-r1.ebuild the new ebuild.
(In reply to comment #1) > Created attachment 347848 [details] > weechat-0.4.0-r1.ebuild An ebuild revision isn't needed.
Created attachment 347952 [details] ebuild.patch There are further issues with the ebuild's dependencies. Here is a summed-up description of all the changes now. - I removed the "crypt" useflag altogether. Instead libgcrypt is a standard-dependency now. Weechat will not build without it. - I put the deps for creating the additional documentation to build-time dependencies. - nls support needs some form of libintl during runtime but depends on gettext for buildtime (in the CMake files - zlib is required to build. it will fail without. - logic to remove superfluous extra-documentation is seding the build-files - alias and rmodifier modules (listed as useflags) were not listed as cmake-utils_use_enable. - the "scripts" useflag should probably be removed and instead it (the cmake-utils_use_enable for scripts and script) should both be triggered by enabling any of the scripting plugins.
Thanks for the patch. I applied it to the live ebuild and it will propagate to the next release. It should be released in 5 days anyway.