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