public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/geeqie/
Date: Mon, 17 Oct 2022 21:39:28 +0000 (UTC)	[thread overview]
Message-ID: <1666042738.ef464ab10edacff812f00f6cb4b2fecc1a70c8cb.voyageur@gentoo> (raw)

commit:     ef464ab10edacff812f00f6cb4b2fecc1a70c8cb
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 21:34:37 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 21:38:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef464ab1

media-gfx/geeqie: sync live ebuild

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

 media-gfx/geeqie/geeqie-9999.ebuild | 103 +++++++++++++++++++++---------------
 1 file changed, 59 insertions(+), 44 deletions(-)

diff --git a/media-gfx/geeqie/geeqie-9999.ebuild b/media-gfx/geeqie/geeqie-9999.ebuild
index e97db26b4d23..2c4b54ad1991 100644
--- a/media-gfx/geeqie/geeqie-9999.ebuild
+++ b/media-gfx/geeqie/geeqie-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-LUA_COMPAT=( lua5-{1..3} )
+LUA_COMPAT=( lua5-{3,4} )
 
-inherit autotools git-r3 lua-single xdg
+inherit git-r3 lua-single meson optfeature xdg
 
 DESCRIPTION="A lightweight GTK image viewer forked from GQview"
 HOMEPAGE="http://www.geeqie.org"
@@ -15,80 +15,95 @@ EGIT_REPO_URI="https://github.com/BestImageViewer/geeqie.git"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug doc exif ffmpegthumbnailer gpu-accel jpeg lcms lirc lua map nls pdf tiff xmp"
+IUSE="debug doc djvu exif ffmpegthumbnailer gpu-accel heif jpeg jpeg2k jpegxl lcms lua map pdf raw spell tiff webp xmp zip"
 
-RDEPEND="
+RDEPEND="gnome-extra/zenity
 	virtual/libintl
 	x11-libs/gtk+:3
-	doc? ( app-text/gnome-doc-utils )
+	djvu? ( app-text/djvu )
+	doc? ( app-text/yelp-tools )
+	exif? ( >=media-gfx/exiv2-0.17:=[xmp?] )
 	ffmpegthumbnailer? ( media-video/ffmpegthumbnailer )
 	gpu-accel? ( media-libs/clutter-gtk )
-	jpeg? ( virtual/jpeg:0 )
+	heif? ( >=media-libs/libheif-1.3.2 )
+	jpeg2k? ( >=media-libs/openjpeg-2.3.0:2 )
+	jpeg? ( media-libs/libjpeg-turbo:= )
+	jpegxl? ( >=media-libs/libjxl-0.3.7 )
 	lcms? ( media-libs/lcms:2 )
-	lirc? ( app-misc/lirc )
-	lua? ( ${LUA_DEPS} )
+	lua? ( ${LUA_DEPS}
+		doc? ( app-doc/doxygen ) )
 	map? ( media-libs/libchamplain:0.12 )
 	pdf? ( >=app-text/poppler-0.62[cairo] )
+	raw? ( >=media-libs/libraw-0.20 )
+	spell? ( app-text/gspell )
 	tiff? ( media-libs/tiff:0 )
-	xmp? ( >=media-gfx/exiv2-0.17:=[xmp] )
-	!xmp? ( exif? ( >=media-gfx/exiv2-0.17:= ) )"
+	webp? ( >=media-libs/libwebp-0.6.1 )
+	zip? ( >=app-arch/libarchive-3.4.0 )"
 DEPEND="${RDEPEND}"
 BDEPEND="
+	|| ( dev-util/xxdi app-editors/vim-core )
 	dev-util/glib-utils
 	dev-util/intltool
-	virtual/pkgconfig
-	nls? ( sys-devel/gettext )"
+	sys-devel/gettext
+	virtual/pkgconfig"
 
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
 	map? ( gpu-accel )"
 
+PATCHES=(
+	"${FILESDIR}/${PN}-2.0.1-allow_xxdi.patch"
+)
+
 src_prepare() {
 	default
 
-	# Remove -Werror (gcc changes may add new warnings)
-	sed -e '/CFLAGS/s/-Werror //g' -i configure.ac || die
-
-	eautoreconf
+	# Lua version
+	sed -e "s/lua5.[0-9]/${LUA_SINGLE_TARGET/-/.}/" -i meson.build || die
 }
 
 src_configure() {
-	local myeconfargs=(
-		--with-readmedir="${EPREFIX}"/usr/share/doc/${PF}
-		--enable-gtk3
-		$(use_enable debug debug-log)
-		$(use_enable ffmpegthumbnailer)
-		$(use_enable gpu-accel)
-		$(use_enable jpeg)
-		$(use_enable lcms)
-		$(use_enable lua)
-		$(use_enable lirc)
-		$(use_enable map)
-		$(use_enable nls)
-		$(use_enable pdf)
-		$(use_enable tiff)
+	local emesonargs=(
+		-Dgq_helpdir="share/doc/${PF}"
+		-Dgq_htmldir="share/doc/${PF}/html"
+		$(meson_use debug)
+		$(meson_feature zip archive)
+		$(meson_feature lcms cms)
+		$(meson_feature djvu)
+		$(meson_feature exif exiv2)
+		$(meson_feature ffmpegthumbnailer videothumbnailer)
+		$(meson_feature gpu-accel gps-map)
+		$(meson_feature heif)
+		$(meson_feature jpeg2k j2k)
+		$(meson_feature jpeg)
+		$(meson_feature jpegxl)
+		$(meson_feature raw libraw)
+		$(meson_feature lua)
+		$(meson_feature pdf)
+		$(meson_feature spell)
+		$(meson_feature tiff)
+		$(meson_feature webp)
 	)
 
-	if use exif || use xmp; then
-		myeconfargs+=( --enable-exiv2 )
-	else
-		myeconfargs+=( --disable-exiv2)
-	fi
-
-	econf "${myeconfargs[@]}"
+	meson_src_configure
 }
 
 src_install() {
-	default
+	meson_src_install
 
-	rm -f "${D}/usr/share/doc/${PF}/COPYING"
-	# Application needs access to the uncompressed file
+	# The application needs access to some uncompressed doc files.
+	docompress -x /usr/share/doc/${PF}/AUTHORS
+	docompress -x /usr/share/doc/${PF}/ChangeLog
 	docompress -x /usr/share/doc/${PF}/README.md
 }
 
 pkg_postinst() {
 	xdg_pkg_postinst
 
-	elog "Some plugins may require additional packages"
-	elog "- Image rotate plugin: media-gfx/fbida (JPEG), media-gfx/imagemagick (TIFF/PNG)"
-	elog "- RAW images plugin: media-gfx/ufraw"
+	optfeature "Camera import and tethered photography plugins" media-gfx/gphoto2
+	optfeature "Export JPEG plugin" media-gfx/exiv2
+	optfeature "Lens ID plugin" media-libs/exiftool
+	optfeature "Image crop plugin" "media-gfx/exiv2 media-libs/exiftool media-gfx/imagemagick"
+	optfeature "Image rotate plugin (JPEG)" "media-gfx/exiv2 media-gfx/fbida"
+	optfeature "Image rotate plugin (TIFF/PNG)" "media-gfx/exiv2 media-gfx/imagemagick"
+	optfeature "Print preview functionality" app-text/evince
 }


             reply	other threads:[~2022-10-17 21:39 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17 21:39 Bernard Cafarelli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-15 16:30 [gentoo-commits] repo/gentoo:master commit in: media-gfx/geeqie/ Jakov Smolić
2024-07-23  3:40 Eli Schwartz
2024-07-23  3:40 Eli Schwartz
2024-06-26 19:32 Arthur Zamarin
2024-06-26 19:32 Arthur Zamarin
2024-03-25 20:15 Bernard Cafarelli
2024-03-09  8:33 Bernard Cafarelli
2024-03-09  8:33 Bernard Cafarelli
2024-03-04  4:14 Sam James
2024-01-27 10:02 Bernard Cafarelli
2024-01-11  9:38 Sam James
2023-10-27 15:20 Michał Górny
2023-10-09 20:02 Sam James
2023-08-22 12:00 Sam James
2023-08-22 12:00 Sam James
2023-08-21  6:52 Bernard Cafarelli
2023-08-17  3:51 Sam James
2023-08-01 21:57 Bernard Cafarelli
2023-07-18 12:25 Bernard Cafarelli
2023-07-10 19:54 Arthur Zamarin
2023-06-27 11:10 Bernard Cafarelli
2023-06-27 11:10 Bernard Cafarelli
2023-06-27 10:56 Sam James
2023-06-27 10:34 Bernard Cafarelli
2023-05-28 23:33 Sam James
2023-05-06 11:34 Sam James
2023-05-06 11:34 Sam James
2022-12-16  4:30 Sam James
2022-11-06 20:05 Bernard Cafarelli
2022-10-24 21:29 Bernard Cafarelli
2022-10-20 10:56 Jakov Smolić
2022-10-20 10:52 Jakov Smolić
2022-10-19 12:31 Bernard Cafarelli
2022-10-18  6:56 Bernard Cafarelli
2022-04-21 17:19 Bernard Cafarelli
2022-01-25 22:29 Bernard Cafarelli
2021-12-29 18:25 Bernard Cafarelli
2021-12-28  5:57 Sam James
2021-12-23 10:36 Agostino Sarubbo
2021-12-22 14:34 Bernard Cafarelli
2021-12-22 13:09 Bernard Cafarelli
2021-12-21 20:11 Bernard Cafarelli
2021-03-26 19:46 Conrad Kostecki
2020-12-04 16:13 Bernard Cafarelli
2020-12-03 12:54 Marek Szuba
2020-01-23 18:12 Bernard Cafarelli
2019-12-10 21:36 Bernard Cafarelli
2019-11-20 13:23 Agostino Sarubbo
2019-11-20 11:16 Agostino Sarubbo
2019-08-23 13:44 Bernard Cafarelli
2019-07-30 20:48 Bernard Cafarelli
2019-04-25 22:32 Pacho Ramos
2019-01-10 21:54 Andreas Sturmlechner
2019-01-10 21:54 Andreas Sturmlechner
2019-01-10 21:54 Andreas Sturmlechner
2019-01-10 21:54 Andreas Sturmlechner
2019-01-10 21:54 Andreas Sturmlechner
2018-12-28 21:41 Bernard Cafarelli
2018-10-04  9:04 Mikle Kolyada
2018-10-01 21:47 Thomas Deutschmann
2018-01-08 16:07 Bernard Cafarelli
2018-01-02 12:54 Bernard Cafarelli
2018-01-01 23:14 Bernard Cafarelli
2017-11-27 11:54 Marek Szuba
2017-10-09 23:28 Thomas Deutschmann
2016-11-09 12:47 Bernard Cafarelli
2016-04-19 13:12 Michał Górny
2016-04-18  9:43 Patrice Clement
2016-04-18  8:13 Patrice Clement
2016-04-13  9:14 Bernard Cafarelli
2016-03-06 12:58 Agostino Sarubbo
2016-02-19 17:16 Markus Meier
2015-10-26 12:57 Bernard Cafarelli
2015-10-03 21:06 Bernard Cafarelli
2015-10-02 11:52 Bernard Cafarelli
2015-09-01 21:02 Bernard Cafarelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1666042738.ef464ab10edacff812f00f6cb4b2fecc1a70c8cb.voyageur@gentoo \
    --to=voyageur@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox