From 34f71cb8541190212fa250ceb3dafb53f383beea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 4 Apr 2024 20:14:38 +0100 Subject: gentoo auto-resync : 04:04:2024 - 20:14:38 --- media-gfx/fotocx/Manifest | 2 + media-gfx/fotocx/fotocx-24.21.ebuild | 79 ++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 media-gfx/fotocx/fotocx-24.21.ebuild (limited to 'media-gfx/fotocx') diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest index 228951c51167..3c21d8daf0ef 100644 --- a/media-gfx/fotocx/Manifest +++ b/media-gfx/fotocx/Manifest @@ -4,10 +4,12 @@ AUX fotoxx-22.18-documentation.patch 1074 BLAKE2B ecc735e158614bdbe2d44ec7463314 AUX fotoxx-22.82-documentation.patch 1290 BLAKE2B 29b49c70167d9820927c651d1408d81e7708d38da813bb71f6fd000f725c2d0c7ef78841826955a589c93eb02aae11120e2d995f780f51ce97ec4ea6035f5a0a SHA512 33e05ae1467dd8856b85d4a866cd75956a9b8ee054d67a3f9edaa337c1fc1ab7ee38b4a460d66884bd9732431277ea2a52d35a43f6469f579296c97a748c8065 DIST fotocx-24.11-source.tar.gz 16322678 BLAKE2B 08ef6407c02d7f81717cf798f2cfec39521c60bd59a4f832c2df86fad509fadeb874348cf1cb7446f087fcb2f85c83648a1a5ace3ab4de4fea3409f1465e69d3 SHA512 fb350a17128d52974ebde9672df9919ac5b2d12eb45d61266c2af4bf0ce247b13d62fce576d477f4345186e0674ca46b0d72e97eaee71d08a0303d32d164d5ac DIST fotocx-24.20-source.tar.gz 16619855 BLAKE2B d4bcf0fc6aa1be31bb0bff52cf8c0eae6446b929f2c081498504fee6b55fc219adf0ce6856f3b1a57d0e553362311e25bb3c9278e9444c19e8000f0aafd7a66f SHA512 8f95912f8d4c9adcdc1f0eec0540531e1e26cff2a21f8c56737cc2e472b7307bfc925477491ec4c30cf102e8a396287a8c0ff7e0ad3f946672e6fd495a4fb369 +DIST fotocx-24.21-source.tar.gz 16618357 BLAKE2B 43029d080cc843a03475b474c0807e0f2192bc6c64d20c5d41e90218f0b1f88db48aefb7622e8b521f06792a57a9d685d9c57107a309becc39d710ff5aa720a3 SHA512 2945fbaab800a115a1e0c718019ee1e66816cadf794a01db4f8238e7ba74ea033b6e9f24b4e42fe8105242f6df8861de7b00d32e81aae73577f5aa7f38c07f7f DIST fotoxx-23.70-source.tar.gz 16130595 BLAKE2B d5cd0453c7cc568ddc5a8d66d5f79f4a907a52aa0d635cb32701a4293a210d703e05056a1140287d20434c636f5acffc869af135cf8a3f3762ca55e10e102a05 SHA512 3616f3e90e973c872b25607951ebd41f851df45b715cb3c2df982c1f74387d9cbf0ee5fc14f3de4ecb4e3251ba25affe6cd3b5e118bce31ff01c14637d588c5d DIST fotoxx-23.82-source.tar.gz 16257916 BLAKE2B b985d999003ebf53dea5f4f21bca7ecd451d89a14c98aa5269f892f183e28f01a81a33bf2a92e6cef98a466069b20622e829eee897d5d818a6f27c493de48734 SHA512 1c6ded03207eaf2e890fa642ff6d9e0bfaae551e9ec1169b30f3ef8a4763cda01dddc7e0c62e7da29a397ad22c4702c0613d383804563b065ce334918381bd2d EBUILD fotocx-23.70.ebuild 2295 BLAKE2B 2358879706af1eb5343fdae235a5b8ce7d8297d29f585e0ff6479c4204fed8f71af361dfc18b03e70af3f39ee8e1188c2dad92069f3dcae60252a0c175a3d6e7 SHA512 2ec60ec8608a3da289f295bd08737c92f386d0d521b58e4dfee7bef2864849e10b89d4005eb4dc140779e377e77613b9e1f942561b6f54cdb1025d4c387597f5 EBUILD fotocx-23.82.ebuild 2297 BLAKE2B 7ff3bab8c385d610375ca20a2d929036a3e409b0993e1e1d4f7faa6cc35f033d49fc3350c5fd418b424b231bb8de6d928a6ee1ebab7bc6d30eab84238c5b723e SHA512 c4905b3fedde2c628b3e25c3a1199077125151b575bc1442c16e7109ddde9eebf941b1a442cb484e0beab1c831a2e1860a5167549690b71efd635741739e2aa4 EBUILD fotocx-24.11-r1.ebuild 2276 BLAKE2B 20ae18597694d60c49bd6468b0e1a7bca00735a778cae9f3be506a821008d90012aeec9ced86c38d1495069d316e51a97bcd5eb2f4b2aa212ace264b99fa3995 SHA512 3f0faf71589503f942e2a00cfa9f2efb95b7132604abca1cdb625a1b23e0b7e4dbf0c02d55e55cd57d8ff4089f947792691fb1edcdaaf0d69bc0361f6a78afc7 EBUILD fotocx-24.20.ebuild 2276 BLAKE2B f1924f867870ba016551b5686642d858adc071520b364a5bc75ff1b14da12063b7f40460d009d5e6f34c45e503e8ca5cb79f9ede4ce382ad3e27dbe2c7aa45ec SHA512 ebbbf06d0a50640ef04e74460718a7ae13eea31fbce4494035933f71db374ef61e5c76012dc7827551f4d2f942f7fd39b46256aded31a66051ca2e2e17565601 +EBUILD fotocx-24.21.ebuild 2276 BLAKE2B f1924f867870ba016551b5686642d858adc071520b364a5bc75ff1b14da12063b7f40460d009d5e6f34c45e503e8ca5cb79f9ede4ce382ad3e27dbe2c7aa45ec SHA512 ebbbf06d0a50640ef04e74460718a7ae13eea31fbce4494035933f71db374ef61e5c76012dc7827551f4d2f942f7fd39b46256aded31a66051ca2e2e17565601 MISC metadata.xml 851 BLAKE2B a6c60b79fb5646c3bd7d6959d4a1b974ee714bf6ed64f205d9c00d684b3da94672005658336c1c5fcb903605d11c9a5607616151b2f6262f3173e15b8fc44655 SHA512 2794ae92afa076875c7f725969efdcf9cb84435d0ea033adc28f5860a69438b754f4d22b0db27dc7392683439e51b51ae581a6da450719276e8df51a2a306ad9 diff --git a/media-gfx/fotocx/fotocx-24.21.ebuild b/media-gfx/fotocx/fotocx-24.21.ebuild new file mode 100644 index 000000000000..130da99dcd2c --- /dev/null +++ b/media-gfx/fotocx/fotocx-24.21.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 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/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}-24.20-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}" 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//.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 +} -- cgit v1.2.3