diff options
author | Ben Kohler <bkohler@gentoo.org> | 2021-06-01 08:53:40 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2021-06-01 09:58:31 -0500 |
commit | 12cd5239d9fd1cf9f5e3ae3eafa5b69ffea4ff33 (patch) | |
tree | 1a90eaa3565bb48c91faf8b6e2ab301f7582e113 /media-gfx | |
parent | media-video/handbrake: add Python 3.9 (diff) | |
download | gentoo-12cd5239d9fd1cf9f5e3ae3eafa5b69ffea4ff33.tar.gz gentoo-12cd5239d9fd1cf9f5e3ae3eafa5b69ffea4ff33.tar.bz2 gentoo-12cd5239d9fd1cf9f5e3ae3eafa5b69ffea4ff33.zip |
media-gfx/fotoxx: bump to 21.41
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/fotoxx/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/fotoxx/fotoxx-21.41.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest index ff429acc6283..21c5ec6aaaeb 100644 --- a/media-gfx/fotoxx/Manifest +++ b/media-gfx/fotoxx/Manifest @@ -1 +1,2 @@ DIST fotoxx-21.40.tar.gz 8583921 BLAKE2B 63e49768c6d5941fe4259f83aef4ce8d0e19498c1090e4eb5017337f184edb0c60939323cc6481efcf72d0544347e046c94e37619e1f466b6dde0ab0919c3792 SHA512 05db14fafd8187bcb1de1576ca445fe525e895089fe670a80f890b2c525f5424fabd751ea422a5cc266cc7e8175ecaf7800b97a5ad686ea3e4e482de78190f3b +DIST fotoxx-21.41.tar.gz 8619224 BLAKE2B 28ec5fef8780001a023527c0859b58e1b3347b91b607269add3e0152fa6dff1347caf12f8e36a528100d5c6f538dce388bb4cbd22d03e2d15ff6904d5fdff626 SHA512 df7b3f424c9a1e2773171f9c036b30c34bd902dad41d3ce51eee5a20e86ce6afe5bcae4147baf40ea35bb9755900d9efcca20e026e12a1f540884b113011bce8 diff --git a/media-gfx/fotoxx/fotoxx-21.41.ebuild b/media-gfx/fotoxx/fotoxx-21.41.ebuild new file mode 100644 index 000000000000..12a78336fe75 --- /dev/null +++ b/media-gfx/fotoxx/fotoxx-21.41.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 +} |