1 |
commit: bc2aec96cf0613f0dbf0ab56299ad9ad1f9562a7 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 11:46:31 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 11:48:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc2aec96 |
7 |
|
8 |
media-gfx/fotoxx: add 22.16 |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
media-gfx/fotoxx/Manifest | 1 + |
13 |
media-gfx/fotoxx/fotoxx-22.16.ebuild | 80 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest |
17 |
index 748719af5b9b..5b870c150868 100644 |
18 |
--- a/media-gfx/fotoxx/Manifest |
19 |
+++ b/media-gfx/fotoxx/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST fotoxx-21.60.tar.gz 8679841 BLAKE2B ec3dcbd0b937d730692e225fec7530ac46390328ae960e8960df7d252bc0cd8630de84bf47dfaf74c1e07855b4b0959e596e5e515ea00a6c430872359b2b4576 SHA512 ac999fcc70acd92c54e85ad276112aaa7f1b7606ea70381d6f833d829fd92c14aacad7a967838e5d28fce80cfa6da8ef05e0ee49b463210cb66a3f8ffc3d22e7 |
22 |
DIST fotoxx-22.14.tar.gz 8815290 BLAKE2B fa6399454edebbbff6504fc9e7f8b27fbfecea0083a309cfeefd8d0f4834693a1c7eab8a689cb1a2135293e1290650cb44412375d20fe808014c5a5213c979d5 SHA512 7a0e412131a286ebc0ce8f5d7589ec135909a9d74e5a0f4a5367e58484462c23948c2b0ccc10c5197ba1014013f2d31999dd63d460daa4c4d4aa194313ee3c7b |
23 |
DIST fotoxx-22.15.tar.gz 8948263 BLAKE2B 99b4e6891751de62b880de6c51ee3ce2720f773ae03fad5d3b4c433e20cfb288efab9c5074841ba9c535374d3a9b860131c303f6539e889d7f747380d1c9f1db SHA512 4f317a34a72db2e6289e17c9d2d036150e0e633ac84a0bcd0dd8b00367a3c31ea6172b7cceab0f358c0db46057d9e0331e0f0a304ebe86b9a1b717f6fa4f54fd |
24 |
+DIST fotoxx-22.16.tar.gz 8984376 BLAKE2B 4a5665313133405b4a53d7e40986e37601b5c9552f20c07d5f0889f3dacbabce1b4a712fcb216fe3358e7ad1de12da608961a996b081e4b3d644c5581ebcc6ee SHA512 ff78b0d7bbde0de5d98ac42d63c36f4bdcd425ae210dfcda6f64f4307be02dfca2966475df3f962751f73afc8e9442d2eb975725db31745109e174fe1665f804 |
25 |
|
26 |
diff --git a/media-gfx/fotoxx/fotoxx-22.16.ebuild b/media-gfx/fotoxx/fotoxx-22.16.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..6444b3fb63f4 |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/fotoxx/fotoxx-22.16.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}-21.40-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 |
+} |