summaryrefslogtreecommitdiff
path: root/media-gfx/fotoxx
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/fotoxx')
-rw-r--r--media-gfx/fotoxx/Manifest2
-rw-r--r--media-gfx/fotoxx/fotoxx-23.70.ebuild81
2 files changed, 83 insertions, 0 deletions
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest
index e72bb8364f8c..6dd8951c9026 100644
--- a/media-gfx/fotoxx/Manifest
+++ b/media-gfx/fotoxx/Manifest
@@ -2,7 +2,9 @@ AUX fotoxx-22.18-documentation.patch 1074 BLAKE2B ecc735e158614bdbe2d44ec7463314
DIST fotoxx-23.32-source.tar.gz 9273650 BLAKE2B 20d159e25ba280ff4f264da1a99f2af729bf881b5f2b140faaa278c924934aa5443b3d56144685be835184531972f8caa7cb550d418d41ad48c2e56b87ba7bf3 SHA512 484939d48e6bdfc15075718fcc26ae07e8b91462f00f447dfb97a7019931fe524d0fda89e07eec711ea03ad05913073ae253f166ebe39643e2a4b0f2caccee28
DIST fotoxx-23.50-source.tar.gz 9344552 BLAKE2B cb634e24b034bdb6e52bb2824fc549cfc1321516f4af8d8b34df4828122476fd46ca0234c6009616ad96a5d003818d403ef8ae6be115ac0a33db94e2eb8bd03e SHA512 629c7da961fcaff26916765a7b494b4596b8a9b62397901946c39c92bbc54694a2d3b9378a653f4144a191f74015e1067f0a414bfd4df00bc16982a922b52400
DIST fotoxx-23.60-source.tar.gz 9329991 BLAKE2B 92f86ae7abaff4df0687395364c2c498e6a5edfc83a491552fa73fd80f075580ab48127f36901e51ba46b3457ef728ab755646f62e46d33ff281619fc2bc2660 SHA512 fc8fca696edd3bdefd7fcb2f4866bc2380743a6500cc8a3f803f29b1bb25f9ed6e845cc63310de56563b877850aca036cfdca8754d2c4b038d84faf41a423e9a
+DIST fotoxx-23.70-source.tar.gz 16130595 BLAKE2B d5cd0453c7cc568ddc5a8d66d5f79f4a907a52aa0d635cb32701a4293a210d703e05056a1140287d20434c636f5acffc869af135cf8a3f3762ca55e10e102a05 SHA512 3616f3e90e973c872b25607951ebd41f851df45b715cb3c2df982c1f74387d9cbf0ee5fc14f3de4ecb4e3251ba25affe6cd3b5e118bce31ff01c14637d588c5d
EBUILD fotoxx-23.32.ebuild 2284 BLAKE2B 2612931ab0655bfcfa43514cad885b666a454a5ec7a3499f9fe184d6c97c5f3f5c63d0b718f543fc0ed6f06e524ad2865f9d7c4e8972da6bfeccc0f0a53e2590 SHA512 505990c00a1c630ef146eee15278fdaa36b73b0870b0cb91402a7d9529e9c3a5084e5eaa3a089385db7cbd9364872dbd7302a73e9dd37107e7530373c058ffca
EBUILD fotoxx-23.50.ebuild 2286 BLAKE2B 379a2d8202422e3cbb09e1dc00b2d42513b9afc6cdf2d8e004a269e3de7d656b2c404160197cb3d0eb1e1fb0a795756949655588848d652c0ca20e5a5800c86c SHA512 04d5ca6c5057cfed2e05c7ca839741b529b6e72218f3bd083a2dc2d0a384bfbcbb2011e407c004658923291c70fec312951e391f904b36c43cbcbe704a16a508
EBUILD fotoxx-23.60.ebuild 2286 BLAKE2B 379a2d8202422e3cbb09e1dc00b2d42513b9afc6cdf2d8e004a269e3de7d656b2c404160197cb3d0eb1e1fb0a795756949655588848d652c0ca20e5a5800c86c SHA512 04d5ca6c5057cfed2e05c7ca839741b529b6e72218f3bd083a2dc2d0a384bfbcbb2011e407c004658923291c70fec312951e391f904b36c43cbcbe704a16a508
+EBUILD fotoxx-23.70.ebuild 2286 BLAKE2B 379a2d8202422e3cbb09e1dc00b2d42513b9afc6cdf2d8e004a269e3de7d656b2c404160197cb3d0eb1e1fb0a795756949655588848d652c0ca20e5a5800c86c SHA512 04d5ca6c5057cfed2e05c7ca839741b529b6e72218f3bd083a2dc2d0a384bfbcbb2011e407c004658923291c70fec312951e391f904b36c43cbcbe704a16a508
MISC metadata.xml 851 BLAKE2B a6c60b79fb5646c3bd7d6959d4a1b974ee714bf6ed64f205d9c00d684b3da94672005658336c1c5fcb903605d11c9a5607616151b2f6262f3173e15b8fc44655 SHA512 2794ae92afa076875c7f725969efdcf9cb84435d0ea033adc28f5860a69438b754f4d22b0db27dc7392683439e51b51ae581a6da450719276e8df51a2a306ad9
diff --git a/media-gfx/fotoxx/fotoxx-23.70.ebuild b/media-gfx/fotoxx/fotoxx-23.70.ebuild
new file mode 100644
index 000000000000..6d3e66505952
--- /dev/null
+++ b/media-gfx/fotoxx/fotoxx-23.70.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 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}-source.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/libjpeg-turbo:=
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libchamplain[gtk]
+ x11-libs/gtk+:3"
+RDEPEND="
+ ${DEPEND}
+ media-gfx/dcraw
+ media-libs/exiftool
+ x11-misc/xdg-utils
+"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=( "${FILESDIR}/${PN}-22.18-documentation.patch" )
+
+DOCS=()
+HTML_DOCS=()
+
+src_prepare() {
+ sed -i -e "/^DOCDIR/ s/${PN}$/${PF}/" Makefile || die
+ sed -i -e "/^Icon/ s/\.png$//" fotoxx.desktop || 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 & AVIF 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 "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
+}