commit:     df20a5e91a4be7f5cfe5d5c6b7f39b27e2191101
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  6 14:33:28 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Jul  6 14:34:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df20a5e9

media-gfx/fotoxx: bump to 21.44

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 media-gfx/fotoxx/Manifest            |  1 +
 media-gfx/fotoxx/fotoxx-21.44.ebuild | 81 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest
index 9d003fb10a7..aa02e8ce820 100644
--- a/media-gfx/fotoxx/Manifest
+++ b/media-gfx/fotoxx/Manifest
@@ -1,3 +1,4 @@
 DIST fotoxx-21.40.tar.gz 8583921 BLAKE2B 
63e49768c6d5941fe4259f83aef4ce8d0e19498c1090e4eb5017337f184edb0c60939323cc6481efcf72d0544347e046c94e37619e1f466b6dde0ab0919c3792
 SHA512 
05db14fafd8187bcb1de1576ca445fe525e895089fe670a80f890b2c525f5424fabd751ea422a5cc266cc7e8175ecaf7800b97a5ad686ea3e4e482de78190f3b
 DIST fotoxx-21.41.tar.gz 8619224 BLAKE2B 
28ec5fef8780001a023527c0859b58e1b3347b91b607269add3e0152fa6dff1347caf12f8e36a528100d5c6f538dce388bb4cbd22d03e2d15ff6904d5fdff626
 SHA512 
df7b3f424c9a1e2773171f9c036b30c34bd902dad41d3ce51eee5a20e86ce6afe5bcae4147baf40ea35bb9755900d9efcca20e026e12a1f540884b113011bce8
 DIST fotoxx-21.42.tar.gz 8617093 BLAKE2B 
bccb36c43636fe6811f5fda7df3e81a3ca8ecce0e1df6b4d3a761c31674e32796d42d5b305d391dcd1fa22fadef3224c9ec71f2bf2619091a592f5e8f0acb00a
 SHA512 
cf5cb91cd061e18ac059b93326ff17c406d6a595c6793be55ca74f4e66dbe0172baf48910bc0813263caed9c0fd8571039131b3d5635d9451a14cdaa7efab520
+DIST fotoxx-21.44.tar.gz 8670703 BLAKE2B 
e3c1a0d68ab530345048833c5c33ababa1f3ef27e99379888c748297a2d69a248eb64b6881b53bcdde759f53aea75292d3c205ca11d9ed291465514bf294d323
 SHA512 
06446fbd0c44a632d5525acec155f8d51ee9ffd66dc9ba97a01bb30f4a8e4b9355650ea50967a537cbf077062898def227c46b07dd7d6d2c6ab8af3f4654c490

diff --git a/media-gfx/fotoxx/fotoxx-21.44.ebuild 
b/media-gfx/fotoxx/fotoxx-21.44.ebuild
new file mode 100644
index 00000000000..12a78336fe7
--- /dev/null
+++ b/media-gfx/fotoxx/fotoxx-21.44.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit optfeature xdg-utils
+
+DESCRIPTION="Program for improving image files made with a digital camera"
+HOMEPAGE="https://kornelix.net/fotoxx/fotoxx.html";
+SRC_URI="https://kornelix.net/downloads/downloads/${P}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+# For required dependencies read doc/README, for required tools read
+# data/userguide [INSTALLATION]. xdg-open (x11-misc/xdg-utils) is an
+# alternative to firefox and chromium-browser. `grep '"which ' * -R`
+# is helpful to report some required tools run via the shell.
+
+DEPEND="
+       media-libs/clutter
+       media-libs/clutter-gtk
+       media-libs/lcms:2
+       media-libs/libpng:0
+       media-libs/tiff:0
+       media-libs/libchamplain[gtk]
+       virtual/jpeg
+       x11-libs/gtk+:3"
+RDEPEND="
+       ${DEPEND}
+       media-gfx/dcraw
+       media-libs/exiftool
+       x11-misc/xdg-utils
+"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=( "${FILESDIR}/${PN}-21.40-documentation.patch" )
+
+DOCS=()
+HTML_DOCS=()
+
+src_prepare() {
+       sed -i -e "/^DOCDIR/ s/${PN}$/${PF}/" Makefile || die
+       default
+}
+
+src_install() {
+       # For the Help menu items to work, *.html must be in 
/usr/share/doc/${PF},
+       # and README, changelog, copyright, license, etc. must not be 
compressed.
+       emake DESTDIR="${D}" install
+       rm -f "${D}"/usr/share/doc/${PF}/*.man || die
+       docompress -x /usr/share/doc
+}
+
+pkg_postinst() {
+       optfeature "HEIC file support" media-libs/libheif
+       optfeature "additional RAW file support" media-gfx/rawtherapee
+       optfeature "additional RAW file support" media-gfx/darktable
+       optfeature "video thumbnails & playback" media-video/ffmpeg
+       optfeature "copying images to optical media" app-cdr/dvd+rw-tools
+       optfeature "additional panorama support" media-gfx/hugin
+       optfeature "WEBP file support" media-libs/libwebp
+
+       elog
+       elog "Please read the Help > User Guide for details. The source 
location is"
+       elog "/usr/share/fotoxx/data/userguide and after running fotoxx a copy 
will"
+       elog "be placed at /home/<user>/.fotoxx/userguide."
+       elog
+       elog "To play videos, in Tools > Preferences set 'Video File Play 
Command'."
+       elog
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+}

Reply via email to