1 |
commit: 597ff49f6ebe8122e1118db12dd4b50f161265c4 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 1 20:36:43 2023 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 20:46:37 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597ff49f |
7 |
|
8 |
media-gfx/fotoxx: add 23.2 |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
media-gfx/fotoxx/Manifest | 1 + |
13 |
media-gfx/fotoxx/fotoxx-23.2.ebuild | 80 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest |
17 |
index 0e77f5860711..cce6c28e6bfe 100644 |
18 |
--- a/media-gfx/fotoxx/Manifest |
19 |
+++ b/media-gfx/fotoxx/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST fotoxx-22.35.tar.gz 8675173 BLAKE2B 0d0c709da603a59f432b184b0477cc3a65166c39209c5ccd440cbb317d1c835cf9b2a64870b10bff07debc4617585ed976f8a2157ee1a600861c2edab9ad023f SHA512 aceec8172da1c2c40c422ac194ab870a39cc33d6e1f484fc5fd7292145636ef546fa400023bbcc403d7e2ad108eef6d1c696cce7983c39088fede3a8538801c4 |
22 |
DIST fotoxx-23.0.tar.gz 9258345 BLAKE2B 96510f43c2b8a289191a1194adf13b255d29ebd8aae4e286f2fcc180bb1ecefe5df7ab9251a55e83010a527d455117ddd99dea7df189a38bc82e5b233806307e SHA512 b40025f90561c10ebb107edf26863be154c0b699c811275f2de71f9da417921704fb2215266d725a7f84b19327da54b3f9be2d00db6dfb9738739a2e9ffc1903 |
23 |
DIST fotoxx-23.1.tar.gz 9198469 BLAKE2B a14064c1b240badcfe5c24970528956e2f7acfbcb6720c7f376447bb65b26db7f50ceedbe3ad8c36d7439e56dae074d4e6feee315a746e911a1d2fb9b77dabcd SHA512 5adf8501bb5ce232668b8dd551ccfac591f23dbb33dec4c303b37b1f4f7fd6c43dab67f3dc38a8647260b32e51f9778cb6dcaba5aaa91a2565d1f810afca7353 |
24 |
+DIST fotoxx-23.2-source.tar.gz 9233622 BLAKE2B 425c6f20210c62d08ee14f53436f3256e829a6fa3453047fe07ee0357fa277cdfe37340a6c19d0c39c2885b5ab6478d4791eb00631447f0b8d6ee53436750d5b SHA512 6193c99f11034609fdc052cf29184835644c76fd37270d8a8e9a76524d7bec7ea6ddc8e0c0ad7874d6997eba5c8c81f0f1a355a06a1220600380931aab10759b |
25 |
|
26 |
diff --git a/media-gfx/fotoxx/fotoxx-23.2.ebuild b/media-gfx/fotoxx/fotoxx-23.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..ff27fedb1852 |
29 |
--- /dev/null |
30 |
+++ b/media-gfx/fotoxx/fotoxx-23.2.ebuild |
31 |
@@ -0,0 +1,80 @@ |
32 |
+# Copyright 1999-2023 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}-source.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:= |
59 |
+ media-libs/tiff:= |
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 |
+} |