commit:     c95710cb3b508679147a49d6210a0176b223328b
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 21:03:24 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 21:29:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c95710cb

media-gfx/geeqie: drop doc build in live ebuild

Per upstream:

The Help files are not so important - when running Geeqie the Help menu
item defaults to the web version if there are no local help files. The
Lua help files are probably not important (yet).

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 media-gfx/geeqie/geeqie-9999.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-gfx/geeqie/geeqie-9999.ebuild 
b/media-gfx/geeqie/geeqie-9999.ebuild
index 2be0f992fee3..ffac439db08a 100644
--- a/media-gfx/geeqie/geeqie-9999.ebuild
+++ b/media-gfx/geeqie/geeqie-9999.ebuild
@@ -15,13 +15,12 @@ 
EGIT_REPO_URI="https://github.com/BestImageViewer/geeqie.git";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug doc djvu exif ffmpegthumbnailer heif jpeg jpeg2k jpegxl lcms lua 
map pdf raw spell tiff webp xmp zip"
+IUSE="debug djvu exif ffmpegthumbnailer heif jpeg jpeg2k jpegxl lcms lua map 
pdf raw spell tiff webp xmp zip"
 
 RDEPEND="gnome-extra/zenity
        virtual/libintl
        x11-libs/gtk+:3
        djvu? ( app-text/djvu )
-       doc? ( app-text/yelp-tools )
        exif? ( >=media-gfx/exiv2-0.17:=[xmp?] )
        ffmpegthumbnailer? ( media-video/ffmpegthumbnailer )
        heif? ( >=media-libs/libheif-1.3.2 )
@@ -29,8 +28,7 @@ RDEPEND="gnome-extra/zenity
        jpeg? ( media-libs/libjpeg-turbo:= )
        jpegxl? ( >=media-libs/libjxl-0.3.7 )
        lcms? ( media-libs/lcms:2 )
-       lua? ( ${LUA_DEPS}
-               doc? ( app-doc/doxygen ) )
+       lua? ( ${LUA_DEPS} )
        map? ( media-libs/clutter-gtk
                media-libs/libchamplain:0.12[gtk] )
        pdf? ( >=app-text/poppler-0.62[cairo] )
@@ -57,6 +55,9 @@ pkg_setup() {
 src_prepare() {
        default
 
+       # Disable doc build - not useful most of the time per upstream
+       sed -e "/subdir('doc')/d" -i meson.build || die
+
        # Lua version
        sed -e "s/lua5.[0-9]/${LUA_SINGLE_TARGET/-/.}/" -i meson.build || die
 }
@@ -67,7 +68,6 @@ src_configure() {
                -Dgq_htmldir="share/doc/${PF}/html"
                $(meson_use debug)
                $(meson_feature djvu)
-               $(meson_feature doc)
                $(meson_feature exif exiv2)
                $(meson_feature ffmpegthumbnailer videothumbnailer)
                $(meson_feature heif)

Reply via email to