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