1 |
commit: d2065f7431769bec0c631d3dc084725bc4d20fff |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 13:21:35 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 13:22:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2065f74 |
7 |
|
8 |
media-gfx/fotoxx: add 22.40 |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
media-gfx/fotoxx/Manifest | 1 + |
13 |
media-gfx/fotoxx/fotoxx-22.40.ebuild | 80 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest |
17 |
index 52495b4ca3e6..20c12e33f599 100644 |
18 |
--- a/media-gfx/fotoxx/Manifest |
19 |
+++ b/media-gfx/fotoxx/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST fotoxx-22.20.tar.gz 8687337 BLAKE2B 013a1f154ea9971c5ff5c33f3ab62bcec9a364f0d47a65648b251966a0b798e00dd80ced399bcfb3657cf2e95534d1e694dc2d2c36066502ddc3b50a645cdba0 SHA512 c9b6cb298546ab121be6ef2c907ce51e4a4060a52829ed1ef51475ae1e542c7cb39037402381969519907a2a66bd8f741452786ff3a25f30fbbd22b24032a436 |
22 |
DIST fotoxx-22.31.tar.gz 8647063 BLAKE2B ae636f9e2993cab3fa5cd8c432a051b42d23fa1a500c14cdfc13c1854c576ee60b25780e7bab4fa46734fab8de5839e4d0d639d759ff12cd2a52f5c8d704bdfe SHA512 06da8d87e5ff59cd32575720ffba7422d858e8bce6e126af61cdd30891c4a1f8f4a3b1429ae732adfe25b6373af2782abde2fefa2c9fb5c147458ad82270c20d |
23 |
DIST fotoxx-22.35.tar.gz 8675173 BLAKE2B 0d0c709da603a59f432b184b0477cc3a65166c39209c5ccd440cbb317d1c835cf9b2a64870b10bff07debc4617585ed976f8a2157ee1a600861c2edab9ad023f SHA512 aceec8172da1c2c40c422ac194ab870a39cc33d6e1f484fc5fd7292145636ef546fa400023bbcc403d7e2ad108eef6d1c696cce7983c39088fede3a8538801c4 |
24 |
+DIST fotoxx-22.40.tar.gz 8704952 BLAKE2B 355cd57402d3008b3b39a20bdca0cf5bd597aacf7db3dc2c379ddcc20c80ff961c0dbdf8241dd3c2161fa8d3e59618a40907dc6f4037c83089d4c1ae369f2d34 SHA512 28f4761747a144c11eb8b1b10bfc174a3a29f95a95c35f800d33c21bc12c6fa3c8b69adf714419b9ecf188c2dc7408032af44f53e2385b38b333bcb67452f9ea |
25 |
|
26 |
diff --git a/media-gfx/fotoxx/fotoxx-22.40.ebuild b/media-gfx/fotoxx/fotoxx-22.40.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..5819421d21bf |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/fotoxx/fotoxx-22.40.ebuild |
31 |
@@ -0,0 +1,80 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit optfeature xdg-utils |
38 |
+ |
39 |
+DESCRIPTION="Program for improving image files made with a digital camera" |
40 |
+HOMEPAGE="https://kornelix.net/fotoxx/fotoxx.html" |
41 |
+SRC_URI="https://kornelix.net/downloads/downloads/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+# For required dependencies read doc/README, for required tools read |
49 |
+# data/userguide [INSTALLATION]. xdg-open (x11-misc/xdg-utils) is an |
50 |
+# alternative to firefox and chromium-browser. `grep '"which ' * -R` |
51 |
+# is helpful to report some required tools run via the shell. |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ media-libs/clutter |
55 |
+ media-libs/clutter-gtk |
56 |
+ media-libs/lcms:2 |
57 |
+ media-libs/libjpeg-turbo:= |
58 |
+ media-libs/libpng:0 |
59 |
+ media-libs/tiff:0 |
60 |
+ media-libs/libchamplain[gtk] |
61 |
+ x11-libs/gtk+:3" |
62 |
+RDEPEND=" |
63 |
+ ${DEPEND} |
64 |
+ media-gfx/dcraw |
65 |
+ media-libs/exiftool |
66 |
+ x11-misc/xdg-utils |
67 |
+" |
68 |
+ |
69 |
+S="${WORKDIR}/${PN}" |
70 |
+ |
71 |
+PATCHES=( "${FILESDIR}/${PN}-22.18-documentation.patch" ) |
72 |
+ |
73 |
+DOCS=() |
74 |
+HTML_DOCS=() |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ sed -i -e "/^DOCDIR/ s/${PN}$/${PF}/" Makefile || die |
78 |
+ default |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ # For the Help menu items to work, *.html must be in /usr/share/doc/${PF}, |
83 |
+ # and README, changelog, copyright, license, etc. must not be compressed. |
84 |
+ emake DESTDIR="${D}" install |
85 |
+ rm -f "${D}"/usr/share/doc/${PF}/*.man || die |
86 |
+ docompress -x /usr/share/doc |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { |
90 |
+ optfeature "HEIC file support" media-libs/libheif |
91 |
+ optfeature "additional RAW file support" media-gfx/rawtherapee |
92 |
+ optfeature "additional RAW file support" media-gfx/darktable |
93 |
+ optfeature "video thumbnails & playback" media-video/ffmpeg |
94 |
+ optfeature "copying images to optical media" app-cdr/dvd+rw-tools |
95 |
+ optfeature "WEBP file support" media-libs/libwebp |
96 |
+ |
97 |
+ elog |
98 |
+ elog "Please read the Help > User Guide for details. The source location is" |
99 |
+ elog "/usr/share/fotoxx/data/userguide and after running fotoxx a copy will" |
100 |
+ elog "be placed at /home/<user>/.fotoxx/userguide." |
101 |
+ elog |
102 |
+ elog "To play videos, in Tools > Preferences set 'Video File Play Command'." |
103 |
+ elog |
104 |
+ xdg_desktop_database_update |
105 |
+ xdg_mimeinfo_database_update |
106 |
+} |
107 |
+ |
108 |
+pkg_postrm() { |
109 |
+ xdg_desktop_database_update |
110 |
+ xdg_mimeinfo_database_update |
111 |
+} |