1 |
commit: a5cef9acd12acb3a7b1307b53b1dfff6e4404f3d |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 23:14:15 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 23:14:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5cef9ac |
7 |
|
8 |
media-gfx/geeqie: 1.4 version bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/642998 |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
|
13 |
media-gfx/geeqie/Manifest | 1 + |
14 |
media-gfx/geeqie/geeqie-1.4.ebuild | 86 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 87 insertions(+) |
16 |
|
17 |
diff --git a/media-gfx/geeqie/Manifest b/media-gfx/geeqie/Manifest |
18 |
index 51c758b516d..67f91905245 100644 |
19 |
--- a/media-gfx/geeqie/Manifest |
20 |
+++ b/media-gfx/geeqie/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST geeqie-1.3.tar.xz 1141820 BLAKE2B 7a8639a136797c85d1bf96567ed0cae74c5cd0dacb8fac4832ffcb31ead372ac100948f9b65332d749500327c6ec3e7cb195da15980eaf0771ca6b55879dd8e4 SHA512 b17c4174741acd60261af268f0e9290ee3d7766d18fc0d28ada5730bb50651a6261d0b04b9fbe810d323c8e6a1b5a21a4f1ebf0eb88daf95f123b77b8484e718 |
23 |
+DIST geeqie-1.4.tar.xz 35881152 BLAKE2B 2932ac379abaee2b742b66daff544f29d7bf0aac82ff97f92e10ac7902ad874badcbb143f562c665d94f6297331090d0746373979a745f338a738078b72538a4 SHA512 a88b6dcf30847e38c109f5bc6436d93f6b4e1336a094c6b8a45db117830117120bf58f390afcd8a4b7aaf2934f995c3f75ac33a7faf56bfc2bcc9bd4eebfb205 |
24 |
|
25 |
diff --git a/media-gfx/geeqie/geeqie-1.4.ebuild b/media-gfx/geeqie/geeqie-1.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7da47a52843 |
28 |
--- /dev/null |
29 |
+++ b/media-gfx/geeqie/geeqie-1.4.ebuild |
30 |
@@ -0,0 +1,86 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+inherit autotools xdg-utils |
36 |
+ |
37 |
+DESCRIPTION="A lightweight GTK image viewer forked from GQview" |
38 |
+HOMEPAGE="http://www.geeqie.org" |
39 |
+SRC_URI="http://www.geeqie.org/${P}.tar.xz" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~ppc ~x86" |
44 |
+IUSE="debug doc exif gpu-accel gtk3 jpeg lcms lirc lua map tiff xmp" |
45 |
+ |
46 |
+RDEPEND="gtk3? ( x11-libs/gtk+:3 ) |
47 |
+ !gtk3? ( x11-libs/gtk+:2 ) |
48 |
+ virtual/libintl |
49 |
+ doc? ( app-text/gnome-doc-utils ) |
50 |
+ gpu-accel? ( media-libs/clutter-gtk ) |
51 |
+ jpeg? ( virtual/jpeg:0 ) |
52 |
+ lcms? ( media-libs/lcms:2 ) |
53 |
+ lirc? ( app-misc/lirc ) |
54 |
+ lua? ( >=dev-lang/lua-5.1:= ) |
55 |
+ map? ( media-libs/libchamplain:0.12 ) |
56 |
+ xmp? ( >=media-gfx/exiv2-0.17:=[xmp] ) |
57 |
+ !xmp? ( exif? ( >=media-gfx/exiv2-0.17:= ) ) |
58 |
+ tiff? ( media-libs/tiff:0 )" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ virtual/pkgconfig |
61 |
+ dev-util/intltool |
62 |
+ sys-devel/gettext" |
63 |
+ |
64 |
+REQUIRED_USE="gpu-accel? ( gtk3 ) |
65 |
+ map? ( gpu-accel )" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ |
70 |
+ # Missing from release tarball, and requires git tree to generate |
71 |
+ sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am || die |
72 |
+ |
73 |
+ eautoreconf |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ local myconf="--disable-dependency-tracking |
78 |
+ --with-readmedir="${EPREFIX}"/usr/share/doc/${PF} |
79 |
+ $(use_enable debug debug-log) |
80 |
+ $(use_enable gpu-accel) |
81 |
+ $(use_enable gtk3) |
82 |
+ $(use_enable jpeg) |
83 |
+ $(use_enable lcms) |
84 |
+ $(use_enable lua) |
85 |
+ $(use_enable lirc) |
86 |
+ $(use_enable map) |
87 |
+ $(use_enable tiff)" |
88 |
+ |
89 |
+ if use exif || use xmp; then |
90 |
+ myconf="${myconf} --enable-exiv2" |
91 |
+ else |
92 |
+ myconf="${myconf} --disable-exiv2" |
93 |
+ fi |
94 |
+ |
95 |
+ econf ${myconf} |
96 |
+} |
97 |
+ |
98 |
+src_install() { |
99 |
+ emake DESTDIR="${D}" install |
100 |
+ |
101 |
+ rm -f "${D}/usr/share/doc/${PF}/COPYING" |
102 |
+ # Application needs access to the uncompressed file |
103 |
+ docompress -x /usr/share/doc/${PF}/README.md |
104 |
+} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ xdg_desktop_database_update |
108 |
+ |
109 |
+ elog "Some plugins may require additional packages" |
110 |
+ elog "- Image rotate plugin: media-gfx/fbida (JPEG), media-gfx/imagemagick (TIFF/PNG)" |
111 |
+ elog "- RAW images plugin: media-gfx/ufraw" |
112 |
+} |
113 |
+ |
114 |
+pkg_postrm() { |
115 |
+ xdg_desktop_database_update |
116 |
+} |