summaryrefslogtreecommitdiff
path: root/media-gfx
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-05-08 07:13:11 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-05-08 07:13:11 +0000
commite79618d2286e15df4892b907b8f5fe63ebf4e62b (patch)
tree6ec94fcc8ec3fa3f8a1d14d30a867a9ad0a5e59f /media-gfx
parent299816f0c09b4fa9b0ed7e30ea69cbd6942edbf7 (diff)
downloadbaldeagleos-repo-e79618d2286e15df4892b907b8f5fe63ebf4e62b.tar.gz
baldeagleos-repo-e79618d2286e15df4892b907b8f5fe63ebf4e62b.tar.xz
baldeagleos-repo-e79618d2286e15df4892b907b8f5fe63ebf4e62b.zip
Adding metadata
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/fotocx/Manifest1
-rw-r--r--media-gfx/fotocx/fotocx-26.4.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest
index 003021857240..1df3a4a86040 100644
--- a/media-gfx/fotocx/Manifest
+++ b/media-gfx/fotocx/Manifest
@@ -1,2 +1,3 @@
DIST fotocx-26.2-source.tar.gz 12552122 BLAKE2B cd0319decba608ce829a1f6f06e47bfe638eb7b49925ae13b95f9a5748c2c9866b09f1f237cf83adb15d478250ca93455298bd3e549dba5dd97f013e54074e1a SHA512 ee5a5a727334e574d3c9486b17c936b4536a01ce38929146f0240cc2cc64d61b763fe89924770214d346cb7304f3fc14a711488d7f9c48ca99e15f56ad83e642
DIST fotocx-26.3-source.tar.gz 12834442 BLAKE2B 5c58e5a8d9d82fe7a90eafb98ced694df026e91d6dcf19f45a524bebc5f15fb5b62c81214194a9987502b869cf7e4375b1b82a01ea6b80d39d24dc7a157177e7 SHA512 79f7f772765412f62cceb6134267abede6134fdc95aaa60cbfa596199d98f4c02d2fe46486a186c681c136eb8836020357e2a37f05aa1188e739d1e0f2f98ae8
+DIST fotocx-26.4-source.tar.gz 12875807 BLAKE2B f3f210c6e96ef89e72d30efbb0d2a79135b616e0a4c8f10a759069aa0f5b9774ed3211743fa2454ec3e1d5493c831b301d877095b8b4f2f50608ad9423e84872 SHA512 6d36de7eb653607f9c206369502409f2db3b16c03a148052b9cc980d06519cb89c4d2290aa5055eb58c17e203c8a05fba5ce2b75419811381607ea0163baab9c
diff --git a/media-gfx/fotocx/fotocx-26.4.ebuild b/media-gfx/fotocx/fotocx-26.4.ebuild
new file mode 100644
index 000000000000..fcce7a08942c
--- /dev/null
+++ b/media-gfx/fotocx/fotocx-26.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature xdg-utils
+
+DESCRIPTION="Program for improving image files made with a digital camera"
+HOMEPAGE="https://kornelix.net/fotocx/fotocx.html"
+SRC_URI="https://kornelix.net/downloads/downloads/${P}-source.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+# 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/libjxl:=
+ 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
+"
+
+PATCHES=( "${FILESDIR}/${PN}-26.1-documentation.patch" )
+
+DOCS=()
+HTML_DOCS=()
+
+src_prepare() {
+ sed -i -e "/^DOCDIR/ s/${PN}$/${PF}/" Makefile || die
+ sed -i -e "/^Icon/ s/\.png$//" ${PN}.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}" PREFIX="/usr" 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/fotocx/data/userguide and after running fotocx a copy will"
+ elog "be placed at /home/<user>/.fotocx/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
+}