diff options
Diffstat (limited to 'media-gfx/fotoxx')
-rw-r--r-- | media-gfx/fotoxx/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/fotoxx/fotoxx-23.0.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest index c42dd664e7a3..7730364d7791 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-22.20.tar.gz 8687337 BLAKE2B 013a1f154ea9971c5ff5c33f3ab62bcec9a364f0d47a65648b251966a0b798e00dd80ced399bcfb3657cf2e95534d1e694dc2d2c36066502ddc3b50a645cdba0 SHA512 c9b6cb298546ab121be6ef2c907ce51e4a4060a52829ed1ef51475ae1e542c7cb39037402381969519907a2a66bd8f741452786ff3a25f30fbbd22b24032a436 DIST fotoxx-22.35.tar.gz 8675173 BLAKE2B 0d0c709da603a59f432b184b0477cc3a65166c39209c5ccd440cbb317d1c835cf9b2a64870b10bff07debc4617585ed976f8a2157ee1a600861c2edab9ad023f SHA512 aceec8172da1c2c40c422ac194ab870a39cc33d6e1f484fc5fd7292145636ef546fa400023bbcc403d7e2ad108eef6d1c696cce7983c39088fede3a8538801c4 DIST fotoxx-22.40.tar.gz 8704952 BLAKE2B 355cd57402d3008b3b39a20bdca0cf5bd597aacf7db3dc2c379ddcc20c80ff961c0dbdf8241dd3c2161fa8d3e59618a40907dc6f4037c83089d4c1ae369f2d34 SHA512 28f4761747a144c11eb8b1b10bfc174a3a29f95a95c35f800d33c21bc12c6fa3c8b69adf714419b9ecf188c2dc7408032af44f53e2385b38b333bcb67452f9ea +DIST fotoxx-23.0.tar.gz 9258345 BLAKE2B 96510f43c2b8a289191a1194adf13b255d29ebd8aae4e286f2fcc180bb1ecefe5df7ab9251a55e83010a527d455117ddd99dea7df189a38bc82e5b233806307e SHA512 b40025f90561c10ebb107edf26863be154c0b699c811275f2de71f9da417921704fb2215266d725a7f84b19327da54b3f9be2d00db6dfb9738739a2e9ffc1903 EBUILD fotoxx-22.20-r1.ebuild 2216 BLAKE2B e65f3bfecb82b5256a198ad9f2b5559738887d33d05ff159c7f9a5ec1977c2aa492c0e633dfa4b0427ae2a8ef7b18dc06e5ec7bdd0f40d2d694b758e50418a0a SHA512 6f6f97cfdae9709d8e0009b163e57c05b22dcf7c1c49aefa5c7c366d823d2db6fe78adc61df3a16b010d32052efbe5780b453f2279418b5f8b6327ee62ea347d EBUILD fotoxx-22.35-r1.ebuild 2216 BLAKE2B e65f3bfecb82b5256a198ad9f2b5559738887d33d05ff159c7f9a5ec1977c2aa492c0e633dfa4b0427ae2a8ef7b18dc06e5ec7bdd0f40d2d694b758e50418a0a SHA512 6f6f97cfdae9709d8e0009b163e57c05b22dcf7c1c49aefa5c7c366d823d2db6fe78adc61df3a16b010d32052efbe5780b453f2279418b5f8b6327ee62ea347d EBUILD fotoxx-22.40-r1.ebuild 2218 BLAKE2B 747b57f37d6ec0c34c7a29a0ff73b14e1121180e3b17d34180dad2469a0dc99e3ef4c83ae60f78805e616eece943f25cdad5e83b02e29a863a3367668e0d9bb6 SHA512 7dbaeb4ab99d0bbde681543859600ae72e8d4af34c7a976f7311e213d6df22f15b79be694662998bcd5407fceab39c6c91ad036204a2e557aceae1fd14689da2 +EBUILD fotoxx-23.0.ebuild 2218 BLAKE2B b376b01869bd4c9cc85bc0c2fea38d3d30b9fbf1cb75b9bedbc13264abc4b5057cc2b5e8767e926f6db516b308e2dc55548610b92381fbd0383693fa273951a1 SHA512 01b5fd2dd543530402e0072b7d2f8200316033756dc229bac315c605a02c2c0c11c447fff3dc75e309fe0b7cbf4ffc2cdd3710b1ea9653425b829c37d2b14ec5 MISC metadata.xml 851 BLAKE2B a6c60b79fb5646c3bd7d6959d4a1b974ee714bf6ed64f205d9c00d684b3da94672005658336c1c5fcb903605d11c9a5607616151b2f6262f3173e15b8fc44655 SHA512 2794ae92afa076875c7f725969efdcf9cb84435d0ea033adc28f5860a69438b754f4d22b0db27dc7392683439e51b51ae581a6da450719276e8df51a2a306ad9 diff --git a/media-gfx/fotoxx/fotoxx-23.0.ebuild b/media-gfx/fotoxx/fotoxx-23.0.ebuild new file mode 100644 index 000000000000..cd7aa63620f7 --- /dev/null +++ b/media-gfx/fotoxx/fotoxx-23.0.ebuild @@ -0,0 +1,80 @@ +# 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}.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 + 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 "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 +} |