1 |
commit: 89b2736dd9bdf259150a1b2530f2a303c6278623 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 24 14:55:29 2012 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 24 14:55:29 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=89b2736d |
7 |
|
8 |
media-gfx/eog-plugins: 3.4.1 → 3.6.1 |
9 |
|
10 |
--- |
11 |
media-gfx/eog-plugins/eog-plugins-3.6.1.ebuild | 83 ++++++++++++++++++++++++ |
12 |
media-gfx/eog-plugins/metadata.xml | 10 +++ |
13 |
2 files changed, 93 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/media-gfx/eog-plugins/eog-plugins-3.6.1.ebuild b/media-gfx/eog-plugins/eog-plugins-3.6.1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..4f619cc |
18 |
--- /dev/null |
19 |
+++ b/media-gfx/eog-plugins/eog-plugins-3.6.1.ebuild |
20 |
@@ -0,0 +1,83 @@ |
21 |
+# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: $ |
24 |
+ |
25 |
+EAPI="4" |
26 |
+GCONF_DEBUG="no" |
27 |
+GNOME2_LA_PUNT="yes" |
28 |
+PYTHON_DEPEND="python? 2:2.5" |
29 |
+ |
30 |
+inherit gnome2 python |
31 |
+ |
32 |
+DESCRIPTION="Eye of GNOME plugins" |
33 |
+HOMEPAGE="https://live.gnome.org/EyeOfGnome/Plugins" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+IUSE="+exif +flickr map +picasa +python" |
39 |
+REQUIRED_USE="map? ( exif )" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ >=dev-libs/glib-2.26:2 |
43 |
+ >=dev-libs/libpeas-0.7.4 |
44 |
+ >=media-gfx/eog-3.5.5 |
45 |
+ x11-libs/gtk+:3 |
46 |
+ exif? ( >=media-libs/libexif-0.6.16 ) |
47 |
+ flickr? ( media-gfx/postr ) |
48 |
+ map? ( |
49 |
+ media-libs/libchamplain:0.12[gtk] |
50 |
+ >=media-libs/clutter-1.9.4:1.0 |
51 |
+ >=media-libs/clutter-gtk-1.1.2:1.0 ) |
52 |
+ picasa? ( >=dev-libs/libgdata-0.9.1 ) |
53 |
+ python? ( |
54 |
+ dev-libs/libpeas[gtk,python] |
55 |
+ dev-python/pygobject:3 |
56 |
+ gnome-base/gsettings-desktop-schemas |
57 |
+ media-gfx/eog[introspection] |
58 |
+ x11-libs/gtk+:3[introspection] |
59 |
+ x11-libs/pango[introspection] ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ >=dev-util/intltool-0.40 |
63 |
+ sys-devel/gettext |
64 |
+ virtual/pkgconfig |
65 |
+" |
66 |
+ |
67 |
+pkg_setup() { |
68 |
+ if use python; then |
69 |
+ python_set_active_version 2 |
70 |
+ python_pkg_setup |
71 |
+ fi |
72 |
+} |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ gnome2_src_prepare |
76 |
+ use python && python_clean_py-compile_files |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ local plugins="fit-to-width,send-by-mail,hide-titlebar,light-theme" |
81 |
+ use exif && plugins="${plugins},exif-display" |
82 |
+ use flickr && plugins="${plugins},postr" |
83 |
+ use map && plugins="${plugins},map" |
84 |
+ use picasa && plugins="${plugins},postasa" |
85 |
+ use python && plugins="${plugins},slideshowshuffle,pythonconsole,fullscreenbg,export-to-folder" |
86 |
+ G2CONF="${G2CONF} |
87 |
+ $(use_enable python) |
88 |
+ --with-plugins=${plugins}" |
89 |
+ gnome2_src_configure |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() { |
93 |
+ gnome2_pkg_postinst |
94 |
+ if use python; then |
95 |
+ python_need_rebuild |
96 |
+ python_mod_optimize /usr/$(get_libdir)/eog/plugins |
97 |
+ fi |
98 |
+} |
99 |
+ |
100 |
+pkg_postrm() { |
101 |
+ gnome2_pkg_postrm |
102 |
+ use python && python_mod_cleanup /usr/$(get_libdir)/eog/plugins |
103 |
+} |
104 |
|
105 |
diff --git a/media-gfx/eog-plugins/metadata.xml b/media-gfx/eog-plugins/metadata.xml |
106 |
new file mode 100644 |
107 |
index 0000000..9086fb3 |
108 |
--- /dev/null |
109 |
+++ b/media-gfx/eog-plugins/metadata.xml |
110 |
@@ -0,0 +1,10 @@ |
111 |
+<?xml version="1.0" encoding="UTF-8"?> |
112 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
113 |
+<pkgmetadata> |
114 |
+ <herd>gnome</herd> |
115 |
+ <use> |
116 |
+ <flag name="flickr">Enable uploading to Flickr</flag> |
117 |
+ <flag name="map">Enable world map display using <pkg>media-libs/libchamplain</pkg></flag> |
118 |
+ <flag name="picasa">Enable uploading to Google's Picasa Web Albums</flag> |
119 |
+ </use> |
120 |
+</pkgmetadata> |