Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/sushi/
Date: Sun, 01 May 2011 13:13:35
Message-Id: ddf9dda8f1b572235c1869e82ced6a7719057094.nirbheek@gentoo
1 commit: ddf9dda8f1b572235c1869e82ced6a7719057094
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 12:59:03 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 12:59:08 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ddf9dda8
7
8 gnome-extra/sushi: fix deps, add live ebuild
9
10 * Note, this won't work yet because it needs the previewer branch of nautilus
11
12 ---
13 gnome-extra/sushi/sushi-0.0.1.ebuild | 45 ++++++++++++++++++----------
14 gnome-extra/sushi/sushi-9999.ebuild | 55 ++++++++++++++++++++++++++++++++++
15 2 files changed, 84 insertions(+), 16 deletions(-)
16
17 diff --git a/gnome-extra/sushi/sushi-0.0.1.ebuild b/gnome-extra/sushi/sushi-0.0.1.ebuild
18 index 3546992..20cb0e3 100644
19 --- a/gnome-extra/sushi/sushi-0.0.1.ebuild
20 +++ b/gnome-extra/sushi/sushi-0.0.1.ebuild
21 @@ -2,41 +2,54 @@
22 # Distributed under the terms of the GNU General Public License v2
23 # $Header: $
24
25 -EAPI="4"
26 +EAPI="3"
27 GCONF_DEBUG="no"
28 GNOME2_LA_PUNT="yes"
29
30 inherit gnome2
31 +if [[ ${PV} = 9999 ]]; then
32 + inherit gnome2-live
33 +fi
34
35 -DESCRIPTION="Quick previewer for the GNOME desktop file manager"
36 -HOMEPAGE="http://www.gnome.org"
37 +DESCRIPTION="A quick previewer for Nautilus, the GNOME file manager"
38 +HOMEPAGE="http://git.gnome.org/browse/sushi"
39
40 LICENSE="GPL-3"
41 SLOT="0"
42 -KEYWORDS="~amd64"
43 +if [[ ${PV} = 9999 ]]; then
44 + KEYWORDS=""
45 +else
46 + KEYWORDS="~amd64 ~x86"
47 +fi
48 IUSE=""
49
50 -# Optional app-office/unoconv support
51 -RDEPEND="
52 - >=dev-libs/gjs-0.7.7
53 - >=dev-libs/glib-2.28:2
54 +# Optional app-office/unoconv support (OOo to pdf)
55 +COMMON_DEPEND=">=dev-libs/glib-2.28.0:2
56 >=dev-libs/gobject-introspection-0.9.6
57 - >=media-libs/clutter-1.6:1.0
58 - >=media-libs/clutter-gtk-0.91.8:1.0
59 - media-libs/gstreamer:0.10
60 + >=x11-libs/gdk-pixbuf-2.22.1[introspection]
61 + >=media-libs/clutter-1.6.0:1.0[introspection]
62 + >=x11-libs/gtk+-3.0.0:3[introspection]
63 + >=media-libs/clutter-gtk-0.91.8i:1.0[introspection]
64 + >=app-text/evince-3.0[introspection]
65 + >=dev-libs/gjs-0.7.7
66 +
67 + media-libs/gstreamer:0.10[introspection]
68 + media-libs/gst-plugins-base:0.10[introspection]
69 + media-libs/clutter-gst:1.0[introspection]
70 media-libs/musicbrainz:3
71 - >=app-text/evince-3
72 - >=x11-libs/gdk-pixbuf-2.22.1:2
73 - >=x11-libs/gtk+-3:3
74 "
75 DEPEND="${RDEPEND}
76 >=dev-util/pkgconfig-0.22
77 >=dev-util/intltool-0.40
78 >=sys-devel/gettext-0.17
79 "
80 -RDEPEND=">=gnome-base/nautilus-3"
81 +RDEPEND="${COMMON_DEPEND}
82 + >=gnome-base/nautilus-3
83 +"
84
85 pkg_setup() {
86 + G2CONF="${G2CONF}
87 + UNOCONV=$(type -p false)
88 + --disable-static"
89 DOCS="AUTHORS NEWS README TODO"
90 - G2CONF="${G2CONF} UNOCONV=$(type -p false)"
91 }
92
93 diff --git a/gnome-extra/sushi/sushi-9999.ebuild b/gnome-extra/sushi/sushi-9999.ebuild
94 new file mode 100644
95 index 0000000..20cb0e3
96 --- /dev/null
97 +++ b/gnome-extra/sushi/sushi-9999.ebuild
98 @@ -0,0 +1,55 @@
99 +# Copyright 1999-2011 Gentoo Foundation
100 +# Distributed under the terms of the GNU General Public License v2
101 +# $Header: $
102 +
103 +EAPI="3"
104 +GCONF_DEBUG="no"
105 +GNOME2_LA_PUNT="yes"
106 +
107 +inherit gnome2
108 +if [[ ${PV} = 9999 ]]; then
109 + inherit gnome2-live
110 +fi
111 +
112 +DESCRIPTION="A quick previewer for Nautilus, the GNOME file manager"
113 +HOMEPAGE="http://git.gnome.org/browse/sushi"
114 +
115 +LICENSE="GPL-3"
116 +SLOT="0"
117 +if [[ ${PV} = 9999 ]]; then
118 + KEYWORDS=""
119 +else
120 + KEYWORDS="~amd64 ~x86"
121 +fi
122 +IUSE=""
123 +
124 +# Optional app-office/unoconv support (OOo to pdf)
125 +COMMON_DEPEND=">=dev-libs/glib-2.28.0:2
126 + >=dev-libs/gobject-introspection-0.9.6
127 + >=x11-libs/gdk-pixbuf-2.22.1[introspection]
128 + >=media-libs/clutter-1.6.0:1.0[introspection]
129 + >=x11-libs/gtk+-3.0.0:3[introspection]
130 + >=media-libs/clutter-gtk-0.91.8i:1.0[introspection]
131 + >=app-text/evince-3.0[introspection]
132 + >=dev-libs/gjs-0.7.7
133 +
134 + media-libs/gstreamer:0.10[introspection]
135 + media-libs/gst-plugins-base:0.10[introspection]
136 + media-libs/clutter-gst:1.0[introspection]
137 + media-libs/musicbrainz:3
138 +"
139 +DEPEND="${RDEPEND}
140 + >=dev-util/pkgconfig-0.22
141 + >=dev-util/intltool-0.40
142 + >=sys-devel/gettext-0.17
143 +"
144 +RDEPEND="${COMMON_DEPEND}
145 + >=gnome-base/nautilus-3
146 +"
147 +
148 +pkg_setup() {
149 + G2CONF="${G2CONF}
150 + UNOCONV=$(type -p false)
151 + --disable-static"
152 + DOCS="AUTHORS NEWS README TODO"
153 +}