1 |
commit: 911758e19751be1eb1893d399d6ef62296391204 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 13 21:33:44 2013 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 1 22:03:51 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=911758e1 |
7 |
|
8 |
net-misc/vinagre: 3.8.3 → 3.10.2 |
9 |
|
10 |
--- |
11 |
.../{vinagre-9999.ebuild => vinagre-3.10.2.ebuild} | 38 +++++++++------------- |
12 |
net-misc/vinagre/vinagre-9999.ebuild | 29 ++++++++++------- |
13 |
2 files changed, 33 insertions(+), 34 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/vinagre/vinagre-9999.ebuild b/net-misc/vinagre/vinagre-3.10.2.ebuild |
16 |
similarity index 68% |
17 |
copy from net-misc/vinagre/vinagre-9999.ebuild |
18 |
copy to net-misc/vinagre/vinagre-3.10.2.ebuild |
19 |
index a4fbaa3..912252a 100644 |
20 |
--- a/net-misc/vinagre/vinagre-9999.ebuild |
21 |
+++ b/net-misc/vinagre/vinagre-3.10.2.ebuild |
22 |
@@ -4,30 +4,24 @@ |
23 |
|
24 |
EAPI="5" |
25 |
GCONF_DEBUG="no" |
26 |
-GNOME2_LA_PUNT="yes" |
27 |
+VALA_MIN_API_VERSION=0.18 |
28 |
|
29 |
-inherit gnome2 |
30 |
-if [[ ${PV} = 9999 ]]; then |
31 |
- inherit gnome2-live |
32 |
-fi |
33 |
+inherit gnome2 vala |
34 |
|
35 |
DESCRIPTION="VNC client for the GNOME desktop" |
36 |
-HOMEPAGE="http://live.gnome.org/Vinagre" |
37 |
+HOMEPAGE="https://wiki.gnome.org/Vinagre" |
38 |
|
39 |
LICENSE="GPL-3+" |
40 |
SLOT="0" |
41 |
-if [[ ${PV} = 9999 ]]; then |
42 |
- KEYWORDS="" |
43 |
-else |
44 |
- KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
-fi |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
47 |
IUSE="avahi rdp +ssh spice +telepathy" |
48 |
|
49 |
# cairo used in vinagre-tab |
50 |
# gdk-pixbuf used all over the place |
51 |
+# FIXME: uses xfreerdp ??? |
52 |
RDEPEND=" |
53 |
>=dev-libs/glib-2.28.0:2 |
54 |
- >=x11-libs/gtk+-3.0.3:3 |
55 |
+ >=x11-libs/gtk+-3.9.6:3 |
56 |
app-crypt/libsecret |
57 |
>=dev-libs/libxml2-2.6.31:2 |
58 |
>=net-libs/gtk-vnc-0.4.3[gtk3] |
59 |
@@ -48,30 +42,28 @@ DEPEND="${RDEPEND} |
60 |
>=dev-util/intltool-0.50 |
61 |
>=sys-devel/gettext-0.17 |
62 |
virtual/pkgconfig |
63 |
+ $(vala_depend) |
64 |
" |
65 |
|
66 |
-if [[ ${PV} = 9999 ]]; then |
67 |
- DEPEND+=" |
68 |
- dev-lang/vala:0.18 |
69 |
- app-text/yelp-tools |
70 |
- gnome-base/gnome-common" |
71 |
-fi |
72 |
+src_prepare() { |
73 |
+ vala_src_prepare |
74 |
+ gnome2_src_prepare |
75 |
+} |
76 |
|
77 |
src_configure() { |
78 |
- DOCS="AUTHORS ChangeLog ChangeLog.pre-git NEWS README" |
79 |
- [[ ${PV} = 9999 ]] || G2CONF="${G2CONF} ITSTOOL=$(type -P true)" |
80 |
gnome2_src_configure \ |
81 |
- VALAC=$(type -P valac-0.18) \ |
82 |
$(use_with avahi) \ |
83 |
$(use_enable rdp) \ |
84 |
$(use_enable ssh) \ |
85 |
$(use_enable spice) \ |
86 |
- $(use_with telepathy) |
87 |
+ $(use_with telepathy) \ |
88 |
+ ITSTOOL=$(type -P true) |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
+ DOCS="AUTHORS ChangeLog ChangeLog.pre-git NEWS README" |
93 |
gnome2_src_install |
94 |
|
95 |
# Remove its own installation of DOCS that go to $PN instead of $P and aren't ecompressed |
96 |
- rm -rf "${ED}"/usr/share/doc/vinagre |
97 |
+ rm -r "${ED}"/usr/share/doc/vinagre || die |
98 |
} |
99 |
|
100 |
diff --git a/net-misc/vinagre/vinagre-9999.ebuild b/net-misc/vinagre/vinagre-9999.ebuild |
101 |
index a4fbaa3..10f31ec 100644 |
102 |
--- a/net-misc/vinagre/vinagre-9999.ebuild |
103 |
+++ b/net-misc/vinagre/vinagre-9999.ebuild |
104 |
@@ -4,30 +4,31 @@ |
105 |
|
106 |
EAPI="5" |
107 |
GCONF_DEBUG="no" |
108 |
-GNOME2_LA_PUNT="yes" |
109 |
+VALA_MIN_API_VERSION=0.18 |
110 |
|
111 |
-inherit gnome2 |
112 |
+inherit gnome2 vala |
113 |
if [[ ${PV} = 9999 ]]; then |
114 |
inherit gnome2-live |
115 |
fi |
116 |
|
117 |
DESCRIPTION="VNC client for the GNOME desktop" |
118 |
-HOMEPAGE="http://live.gnome.org/Vinagre" |
119 |
+HOMEPAGE="https://wiki.gnome.org/Vinagre" |
120 |
|
121 |
LICENSE="GPL-3+" |
122 |
SLOT="0" |
123 |
if [[ ${PV} = 9999 ]]; then |
124 |
KEYWORDS="" |
125 |
else |
126 |
- KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
127 |
+ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
128 |
fi |
129 |
IUSE="avahi rdp +ssh spice +telepathy" |
130 |
|
131 |
# cairo used in vinagre-tab |
132 |
# gdk-pixbuf used all over the place |
133 |
+# FIXME: uses xfreerdp ??? |
134 |
RDEPEND=" |
135 |
>=dev-libs/glib-2.28.0:2 |
136 |
- >=x11-libs/gtk+-3.0.3:3 |
137 |
+ >=x11-libs/gtk+-3.9.6:3 |
138 |
app-crypt/libsecret |
139 |
>=dev-libs/libxml2-2.6.31:2 |
140 |
>=net-libs/gtk-vnc-0.4.3[gtk3] |
141 |
@@ -48,30 +49,36 @@ DEPEND="${RDEPEND} |
142 |
>=dev-util/intltool-0.50 |
143 |
>=sys-devel/gettext-0.17 |
144 |
virtual/pkgconfig |
145 |
+ $(vala_depend) |
146 |
" |
147 |
|
148 |
if [[ ${PV} = 9999 ]]; then |
149 |
DEPEND+=" |
150 |
- dev-lang/vala:0.18 |
151 |
app-text/yelp-tools |
152 |
gnome-base/gnome-common" |
153 |
fi |
154 |
|
155 |
+src_prepare() { |
156 |
+ vala_src_prepare |
157 |
+ gnome2_src_prepare |
158 |
+} |
159 |
+ |
160 |
src_configure() { |
161 |
- DOCS="AUTHORS ChangeLog ChangeLog.pre-git NEWS README" |
162 |
- [[ ${PV} = 9999 ]] || G2CONF="${G2CONF} ITSTOOL=$(type -P true)" |
163 |
+ local myconf="" |
164 |
+ [[ ${PV} = 9999 ]] || myconf="ITSTOOL=$(type -P true)" |
165 |
gnome2_src_configure \ |
166 |
- VALAC=$(type -P valac-0.18) \ |
167 |
$(use_with avahi) \ |
168 |
$(use_enable rdp) \ |
169 |
$(use_enable ssh) \ |
170 |
$(use_enable spice) \ |
171 |
- $(use_with telepathy) |
172 |
+ $(use_with telepathy) \ |
173 |
+ ${myconf} |
174 |
} |
175 |
|
176 |
src_install() { |
177 |
+ DOCS="AUTHORS ChangeLog ChangeLog.pre-git NEWS README" |
178 |
gnome2_src_install |
179 |
|
180 |
# Remove its own installation of DOCS that go to $PN instead of $P and aren't ecompressed |
181 |
- rm -rf "${ED}"/usr/share/doc/vinagre |
182 |
+ rm -r "${ED}"/usr/share/doc/vinagre || die |
183 |
} |