commit:     e0fa13c00615dec63489d99b17a38fc3b9e3bf33
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  7 11:18:17 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 18:05:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0fa13c0

media-gfx/fotoxx: bump to 21.52

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

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

diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest
index 61b0979023f..79fd1bafd23 100644
--- a/media-gfx/fotoxx/Manifest
+++ b/media-gfx/fotoxx/Manifest
@@ -1,3 +1,4 @@
 DIST fotoxx-21.41.tar.gz 8619224 BLAKE2B 
28ec5fef8780001a023527c0859b58e1b3347b91b607269add3e0152fa6dff1347caf12f8e36a528100d5c6f538dce388bb4cbd22d03e2d15ff6904d5fdff626
 SHA512 
df7b3f424c9a1e2773171f9c036b30c34bd902dad41d3ce51eee5a20e86ce6afe5bcae4147baf40ea35bb9755900d9efcca20e026e12a1f540884b113011bce8
 DIST fotoxx-21.44.tar.gz 8670703 BLAKE2B 
e3c1a0d68ab530345048833c5c33ababa1f3ef27e99379888c748297a2d69a248eb64b6881b53bcdde759f53aea75292d3c205ca11d9ed291465514bf294d323
 SHA512 
06446fbd0c44a632d5525acec155f8d51ee9ffd66dc9ba97a01bb30f4a8e4b9355650ea50967a537cbf077062898def227c46b07dd7d6d2c6ab8af3f4654c490
 DIST fotoxx-21.50.tar.gz 8693590 BLAKE2B 
d3bed82c3e856d6ce2433e0357955f32d462d0dfcf8de673a7c0fbe8aeeea766711c2617730c6a83501b07bd5f5ab60c9d56caeacd6ea938428758a39b5a75b3
 SHA512 
018735ff4b1fc99a64eccb05af05e9858f9dfce3c6925704f1739c22a49d3209f66d668b21cb6030d971bbe116c978c5d491aaba033683d5ed5268ee0e46ff9e
+DIST fotoxx-21.52.tar.gz 8666385 BLAKE2B 
3d994cdc7ca80029df00b661409d9ce64de6f568e90840d92576ffeee9f305175875a5b506a91ab9be394850817d64541c96d8e2cf10fac5a9b0afa3ebd4855f
 SHA512 
da73c176456ff904093c648565cc69d270e5282df5687a8302614624ceac565b3131f035190ef7b6d84f937b84409cdc02a650bfbe7d9051200d19b22bf0d0f6

diff --git a/media-gfx/fotoxx/fotoxx-21.52.ebuild 
b/media-gfx/fotoxx/fotoxx-21.52.ebuild
new file mode 100644
index 00000000000..12a78336fe7
--- /dev/null
+++ b/media-gfx/fotoxx/fotoxx-21.52.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